summaryrefslogtreecommitdiffstats
path: root/games/wtf
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2004-01-24 19:36:49 +0000
committermux <mux@FreeBSD.org>2004-01-24 19:36:49 +0000
commitc2b4ad1979811f2e2f4bf4399b69f18e6ff33f26 (patch)
treec62f89644e08ed22492d40c3f307f45dd5d85228 /games/wtf
parent430e099aef9f2f964df8e069eeebf0dbdbca6304 (diff)
downloadFreeBSD-ports-c2b4ad1979811f2e2f4bf4399b69f18e6ff33f26.zip
FreeBSD-ports-c2b4ad1979811f2e2f4bf4399b69f18e6ff33f26.tar.gz
Simplify the Makefile a bit by using ${REINPLACE_CMD}.
Diffstat (limited to 'games/wtf')
-rw-r--r--games/wtf/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/wtf/Makefile b/games/wtf/Makefile
index 26cf7ab..578b06d 100644
--- a/games/wtf/Makefile
+++ b/games/wtf/Makefile
@@ -17,16 +17,12 @@ MAINTAINER= mux@FreeBSD.org
COMMENT= Translates common Internet acronyms
NO_BUILD= yes
+USE_REINPLACE= yes
MAN6= wtf.6
post-patch:
- @${MV} ${WRKSRC}/wtf ${WRKSRC}/wtf.orig
- @${SED} -e s#/usr/share/misc#${DATADIR}# \
- ${WRKSRC}/wtf.orig > ${WRKSRC}/wtf
- @${MV} ${WRKSRC}/wtf.6 ${WRKSRC}/wtf.6.orig
- @${SED} -e s#/usr/share/misc#${DATADIR}# \
- ${WRKSRC}/wtf.6.orig > ${WRKSRC}/wtf.6
+ @${REINPLACE_CMD} -e 's|/usr/share/misc|${DATADIR}|g' ${WRKSRC}/wtf*
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/wtf ${PREFIX}/bin
OpenPOWER on IntegriCloud