aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-22 02:52:17 +0800
committeradamw <adamw@FreeBSD.org>2014-07-22 02:52:17 +0800
commitab02ba150589a1539a8d393889c21ddcccfbd54c (patch)
tree6301f8601b48555f4b299cf82e5e684e4c7fa997 /games
parent54171062588423801634b075ebaed5202eabe3a3 (diff)
downloadfreebsd-ports-gnome-ab02ba150589a1539a8d393889c21ddcccfbd54c.tar.gz
freebsd-ports-gnome-ab02ba150589a1539a8d393889c21ddcccfbd54c.tar.zst
freebsd-ports-gnome-ab02ba150589a1539a8d393889c21ddcccfbd54c.zip
Stage, use OPTIONS instead of WITH_*, and unescape a COMMENT apostraphe.
Diffstat (limited to 'games')
-rw-r--r--games/wmquake/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/games/wmquake/Makefile b/games/wmquake/Makefile
index 2f073f1fccaa..8fe73a42c1ad 100644
--- a/games/wmquake/Makefile
+++ b/games/wmquake/Makefile
@@ -10,27 +10,18 @@ MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \
MASTER_SITE_SUBDIR= uqs
MAINTAINER= ports@FreeBSD.org
-COMMENT= Id Software\'s Quake I in a 64x64 WM dockapp window
+COMMENT= Id Software's Quake I in a 64x64 WM dockapp window
USES= gmake tar:bzip2
USE_GNOME= gtk12
PLIST_FILES= bin/wmquake
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
-.endif
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS
-NO_STAGE= yes
-pre-everything::
-.if !defined(WITH_OPTIMIZED_CFLAGS)
- @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable aggressive optimizations"
-.endif
+OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${PREFIX}/bin
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>