aboutsummaryrefslogtreecommitdiffstats
path: root/games/pmars-sdl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/pmars-sdl/Makefile')
-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 572aa43bfac..18f86a23cb7 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>