aboutsummaryrefslogtreecommitdiffstats
path: root/games/optimax
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-01-31 05:49:45 +0800
committeralepulver <alepulver@FreeBSD.org>2008-01-31 05:49:45 +0800
commitc2310f2f76e9313ad69c699ebb36aab20c68cf8b (patch)
tree7b66809f8c022edb7536ae9739f310d99349621b /games/optimax
parent23d4351cbf875d4fda362f97c01f0401ec8ee540 (diff)
downloadfreebsd-ports-gnome-c2310f2f76e9313ad69c699ebb36aab20c68cf8b.tar.gz
freebsd-ports-gnome-c2310f2f76e9313ad69c699ebb36aab20c68cf8b.tar.zst
freebsd-ports-gnome-c2310f2f76e9313ad69c699ebb36aab20c68cf8b.zip
- Fix building on 64-bit architectures (remove CPU model-specific - Pentium -
optimization) [1]. - Bump PORTREVISION. - Install additional warriors (fsh88 hill) for benchmark. Reported by: pav [1]
Diffstat (limited to 'games/optimax')
-rw-r--r--games/optimax/Makefile6
-rw-r--r--games/optimax/pkg-plist60
2 files changed, 64 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:
diff --git a/games/optimax/pkg-plist b/games/optimax/pkg-plist
index 70a00c3d0917..5f6f9b48fd16 100644
--- a/games/optimax/pkg-plist
+++ b/games/optimax/pkg-plist
@@ -4,6 +4,57 @@ bin/optimax-remote
%%SITE_PERL%%/optitools.pm
%%PORTDOCS%%%%DOCSDIR%%/readme.unix
%%DATADIR%%/example.red
+%%DATADIR%%/fsh88/cds/blur88.red
+%%DATADIR%%/fsh88/cds/blurstone88.red
+%%DATADIR%%/fsh88/cds/fswamp.red
+%%DATADIR%%/fsh88/cds/november.red
+%%DATADIR%%/fsh88/cds/speed88mph.red
+%%DATADIR%%/fsh88/classes
+%%DATADIR%%/fsh88/clr/88test4.red
+%%DATADIR%%/fsh88/clr/deadend.red
+%%DATADIR%%/fsh88/clr/oshot88.red
+%%DATADIR%%/fsh88/clr/trivial02.red
+%%DATADIR%%/fsh88/clr/vm5.red
+%%DATADIR%%/fsh88/config
+%%DATADIR%%/fsh88/index
+%%DATADIR%%/fsh88/pap/AIP.red
+%%DATADIR%%/fsh88/pap/flashpaper.red
+%%DATADIR%%/fsh88/pap/flypaper2.red
+%%DATADIR%%/fsh88/pap/gymno.red
+%%DATADIR%%/fsh88/pap/lateratnight.red
+%%DATADIR%%/fsh88/pwi/pergament.red
+%%DATADIR%%/fsh88/pwi/unheard88.red
+%%DATADIR%%/fsh88/pws/NEXTST88.RED
+%%DATADIR%%/fsh88/pws/gamma.red
+%%DATADIR%%/fsh88/pws/myherempaper.red
+%%DATADIR%%/fsh88/pws/theseed.red
+%%DATADIR%%/fsh88/pws/vala.red
+%%DATADIR%%/fsh88/sbi/cannonade.red
+%%DATADIR%%/fsh88/sbi/etmp88.red
+%%DATADIR%%/fsh88/sbi/fatexp.red
+%%DATADIR%%/fsh88/sbi/ftrain.red
+%%DATADIR%%/fsh88/sbi/ncdecoy.red
+%%DATADIR%%/fsh88/sbi/pixie88.red
+%%DATADIR%%/fsh88/sbi/pknife.red
+%%DATADIR%%/fsh88/sbi/qsilver88.red
+%%DATADIR%%/fsh88/sbi/simple88.red
+%%DATADIR%%/fsh88/sbi/trident.red
+%%DATADIR%%/fsh88/scn/agony51.red
+%%DATADIR%%/fsh88/scn/beholder17.red
+%%DATADIR%%/fsh88/scn/brazen.red
+%%DATADIR%%/fsh88/scn/careless.red
+%%DATADIR%%/fsh88/scn/charon80.red
+%%DATADIR%%/fsh88/scn/irongate.red
+%%DATADIR%%/fsh88/scn/medusa7x.red
+%%DATADIR%%/fsh88/scn/scanthecan.red
+%%DATADIR%%/fsh88/scn/stasis.red
+%%DATADIR%%/fsh88/scn/vanityII.red
+%%DATADIR%%/fsh88/stn/leapfrog.red
+%%DATADIR%%/fsh88/stn/pacman.red
+%%DATADIR%%/fsh88/stn/stillborn02.red
+%%DATADIR%%/fsh88/stn/ttrap3.red
+%%DATADIR%%/fsh88/stn/twilight.red
+%%DATADIR%%/fsh88/stn/winter3.red
%%DATADIR%%/fsh94draft0.1/cds/Blade.red
%%DATADIR%%/fsh94draft0.1/cds/Ikarus.red
%%DATADIR%%/fsh94draft0.1/cds/boys.red
@@ -317,5 +368,14 @@ bin/optimax-remote
@dirrm %%DATADIR%%/fsh94draft0.1/clr
@dirrm %%DATADIR%%/fsh94draft0.1/cds
@dirrm %%DATADIR%%/fsh94draft0.1
+@dirrm %%DATADIR%%/fsh88/stn
+@dirrm %%DATADIR%%/fsh88/scn
+@dirrm %%DATADIR%%/fsh88/sbi
+@dirrm %%DATADIR%%/fsh88/pws
+@dirrm %%DATADIR%%/fsh88/pwi
+@dirrm %%DATADIR%%/fsh88/pap
+@dirrm %%DATADIR%%/fsh88/clr
+@dirrm %%DATADIR%%/fsh88/cds
+@dirrm %%DATADIR%%/fsh88
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%