aboutsummaryrefslogtreecommitdiffstats
path: root/games/wtf/Makefile
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2004-01-25 03:36:49 +0800
committermux <mux@FreeBSD.org>2004-01-25 03:36:49 +0800
commitc2b4ad1979811f2e2f4bf4399b69f18e6ff33f26 (patch)
treec62f89644e08ed22492d40c3f307f45dd5d85228 /games/wtf/Makefile
parent430e099aef9f2f964df8e069eeebf0dbdbca6304 (diff)
downloadfreebsd-ports-gnome-c2b4ad1979811f2e2f4bf4399b69f18e6ff33f26.tar.gz
freebsd-ports-gnome-c2b4ad1979811f2e2f4bf4399b69f18e6ff33f26.tar.zst
freebsd-ports-gnome-c2b4ad1979811f2e2f4bf4399b69f18e6ff33f26.zip
Simplify the Makefile a bit by using ${REINPLACE_CMD}.
Diffstat (limited to 'games/wtf/Makefile')
-rw-r--r--games/wtf/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/wtf/Makefile b/games/wtf/Makefile
index 26cf7abe0cbd..578b06dbc811 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