aboutsummaryrefslogtreecommitdiff
path: root/games/wtf
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2004-01-24 19:36:49 +0000
committerMaxime Henrion <mux@FreeBSD.org>2004-01-24 19:36:49 +0000
commitad7a776d158a594b79cefd1b920f50ae4a8baab9 (patch)
treea305c65d80fcdb5cb228af7d366d474d0b5e2619 /games/wtf
parent1bbffcce3a8b5203971d3130fcaa6bf040323097 (diff)
downloadports-ad7a776d158a594b79cefd1b920f50ae4a8baab9.tar.gz
ports-ad7a776d158a594b79cefd1b920f50ae4a8baab9.zip
Notes
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 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