diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 03:17:29 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 03:17:29 +0000 |
commit | b8a64d94ec2c611f91740140ab3d7d46cbd3a203 (patch) | |
tree | 5efc52c313ebe1d542732f5d8ef5765d631f0c11 /games | |
parent | - Fix GGC problem on current (diff) |
PERL -> REINPLACE
and USE_PERL5 in some places
Noticed by: bento
Notes
Notes:
svn path=/head/; revision=69432
Diffstat (limited to 'games')
-rw-r--r-- | games/conquest/Makefile | 9 | ||||
-rw-r--r-- | games/deal/Makefile | 4 | ||||
-rw-r--r-- | games/quakeserver/Makefile | 3 |
3 files changed, 10 insertions, 6 deletions
diff --git a/games/conquest/Makefile b/games/conquest/Makefile index 228dd83a72f4..d30b914d1bfc 100644 --- a/games/conquest/Makefile +++ b/games/conquest/Makefile @@ -14,16 +14,17 @@ EXTRACT_SUFX= .src.tar.gz MAINTAINER= markp@FreeBSD.org GNU_CONFIGURE= yes +USE_REINPLACE= yes BINGRP= conquest SHAREGRP= conquest post-patch: - ${PERL} -pi -e "s|\@prefix\@/conquest|\@prefix\@|g; \ + ${REINPLACE_CMD} -e "s|\@prefix\@/conquest|\@prefix\@|g; \ s|^.+\@chgrp .\(CONQGROUP\) conq.+||g; \ s|^.+\@chmod 2771 conq.+||g;" ${WRKSRC}/Makefile.in - ${PERL} -pi -e "s/# include <termio.h>//g" ${WRKSRC}/c_defs.h - ${PERL} -pi -e "s/-O2 -fPIC//g" ${WRKSRC}/configure - ${PERL} -pi -e "s|/opt/conquest|${PREFIX}|g; \ + ${REINPLACE_CMD} -e "s/# include <termio.h>//g" ${WRKSRC}/c_defs.h + ${REINPLACE_CMD} -e "s/-O2 -fPIC//g" ${WRKSRC}/configure + ${REINPLACE_CMD} -e "s|/opt/conquest|${PREFIX}|g; \ s|etc/conquestrc|etc/conquest/conquestrc|g; \ s|bin/conqdriv|libexec/conqdriv|g; \ s|etc/conquest_common.img|etc/conquest/conquest_common.img|g; \ diff --git a/games/deal/Makefile b/games/deal/Makefile index 213ff7cec59d..4ec132ca61ef 100644 --- a/games/deal/Makefile +++ b/games/deal/Makefile @@ -13,10 +13,12 @@ MASTER_SITES= http://www.tuxedo.org/~esr/deal/ MAINTAINER= markp@FreeBSD.org ALL_TARGET= deal +USE_REINPLACE= yes + MAN1= deal.1 pre-build: - ${PERL} -pi -e "s@-g@${CFLAGS}@g" ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e "s@-g@${CFLAGS}@g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/deal ${PREFIX}/bin diff --git a/games/quakeserver/Makefile b/games/quakeserver/Makefile index 50c606b9acf4..25f1c68ffba0 100644 --- a/games/quakeserver/Makefile +++ b/games/quakeserver/Makefile @@ -21,6 +21,7 @@ BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \ NO_WRKSUBDIR= YES NO_BUILD= YES NO_CDROM= "This software is shareware" +USE_REINPLACE= yes do-extract: @ ${RM} -rf ${WRKDIR} @@ -35,7 +36,7 @@ do-configure: @ ${CP} ${FILESDIR}/quakeserver.sh ${WRKSRC} @ ${CP} ${FILESDIR}/qserver.sh ${WRKSRC} @ ${CP} ${FILESDIR}/stopserver.sh ${WRKSRC} - @ ${SETENV} ${MAKE_ENV} ${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/readme.port ${WRKSRC}/quakeserver.sh ${WRKSRC}/qserver.sh ${WRKSRC}/stopserver.sh + @ ${SETENV} ${MAKE_ENV} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/readme.port ${WRKSRC}/quakeserver.sh ${WRKSRC}/qserver.sh ${WRKSRC}/stopserver.sh pre-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |