aboutsummaryrefslogtreecommitdiff
path: root/games/optimax/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-01-30 21:49:45 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-01-30 21:49:45 +0000
commit33b4bad68434d94164c4cd5ce87447e7d2568ba4 (patch)
tree6ce22fc3d04e70002754c805d0a3ff636f7e1f24 /games/optimax/Makefile
parentbbef7cfcc78505537a631b143360836518a93461 (diff)
Notes
Diffstat (limited to 'games/optimax/Makefile')
-rw-r--r--games/optimax/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/optimax/Makefile b/games/optimax/Makefile
index 40d12cbba2e4..822ed37974c1 100644
--- a/games/optimax/Makefile
+++ b/games/optimax/Makefile
@@ -7,6 +7,7 @@
PORTNAME= optimax
PORTVERSION= 0.63
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.corewar.info/optimax/dload/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}_unix
@@ -28,10 +29,11 @@ ALL_TARGET= exmars
post-extract:
@${RM} -rf ${WRKSRC}/fsh94nop0.2
- @${MV} ${WRKDIR}/fsh* ${WRKSRC}
+ @${MV} ${WRKDIR}/fsh* ${WRKDIR}/optimax/fsh* ${WRKSRC}
post-patch:
- @${REINPLACE_CMD} -e 's|-O6|${CFLAGS} -O3|' ${BUILD_WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|-O6|${CFLAGS} -O3|; s|^CCFLAGS +=.*||' \
+ ${BUILD_WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -i "" -e 's|^#!/.*|#!${PERL}|' ${WRKSRC}/*.pl
do-install: