From c2b4ad1979811f2e2f4bf4399b69f18e6ff33f26 Mon Sep 17 00:00:00 2001 From: mux Date: Sat, 24 Jan 2004 19:36:49 +0000 Subject: Simplify the Makefile a bit by using ${REINPLACE_CMD}. --- games/wtf/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'games/wtf') 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 -- cgit