aboutsummaryrefslogtreecommitdiffstats
path: root/games/pmars-sdl
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-04-25 05:09:01 +0800
committeralepulver <alepulver@FreeBSD.org>2006-04-25 05:09:01 +0800
commitd4601e9f302f7fee5dca68c1903b0c4a1ac7119f (patch)
tree9183aecd7612d5c18d971f1016f2a3c02890ba24 /games/pmars-sdl
parent175a75f3ff879fb2f34d0048983b5b9e1485f500 (diff)
downloadfreebsd-ports-graphics-d4601e9f302f7fee5dca68c1903b0c4a1ac7119f.tar.gz
freebsd-ports-graphics-d4601e9f302f7fee5dca68c1903b0c4a1ac7119f.tar.zst
freebsd-ports-graphics-d4601e9f302f7fee5dca68c1903b0c4a1ac7119f.zip
- Put targets at the end.
- Fix OPTIONS handling. - Remove '@' from installation command. - Bump PORTREVISION. Approved by: garga (mentor)
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 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>