summaryrefslogtreecommitdiff
path: root/games/conquest
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
commitb8a64d94ec2c611f91740140ab3d7d46cbd3a203 (patch)
tree5efc52c313ebe1d542732f5d8ef5765d631f0c11 /games/conquest
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/conquest')
-rw-r--r--games/conquest/Makefile9
1 files changed, 5 insertions, 4 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; \