aboutsummaryrefslogtreecommitdiff
path: root/games/pmars-sdl
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-04-24 21:09:01 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-04-24 21:09:01 +0000
commitf68f19ff3a20c7451cd7e3647169317d2e8677cb (patch)
treee3b81e6eee2ed12bd21e6170d0598d71a5f72926 /games/pmars-sdl
parent3e4da5f8291c4612ef3a0dd25eb2bc250fd1d3ec (diff)
downloadports-f68f19ff3a20c7451cd7e3647169317d2e8677cb.tar.gz
ports-f68f19ff3a20c7451cd7e3647169317d2e8677cb.zip
Notes
Diffstat (limited to 'games/pmars-sdl')
-rw-r--r--games/pmars-sdl/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/games/pmars-sdl/Makefile b/games/pmars-sdl/Makefile
index 572aa43bfac7..18f86a23cb74 100644
--- a/games/pmars-sdl/Makefile
+++ b/games/pmars-sdl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pmars
PORTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.cs.helsinki.fi/u/jpihlaja/cw/pmars-sdl/
PKGNAMESUFFIX= -sdl
@@ -33,21 +34,17 @@ MAKE_ARGS+= CFLAGS+="${CFLAGS}" \
PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX}
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
- ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
-
.include <bsd.port.pre.mk>
-.if defined(WITH_ICWS94)
+.if !defined(WITHOUT_ICWS94)
MAKE_ARGS+= CFLAGS+="-DEXT94"
.endif
-.if defined(WITH_OPTIMIZED_CFLAGS)
+.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
MAKE_ARGS+= CFLAGS+="-O3 -fomit-frame-pointer"
.endif
-.if defined(WITH_PERMUTATE)
+.if !defined(WITHOUT_PERMUTATE)
MAKE_ARGS+= CFLAGS+="-DPERMUTATE"
.endif
@@ -55,4 +52,8 @@ MAKE_ARGS+= CFLAGS+="-DPERMUTATE"
MAKE_ARGS+= CFLAGS+="-DSMALLMEM"
.endif
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+ ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
+
.include <bsd.port.post.mk>