svn commit: r362467 - head/games/wmquake

Adam Weinberger adamw at FreeBSD.org
Mon Jul 21 18:52:18 UTC 2014


Author: adamw
Date: Mon Jul 21 18:52:17 2014
New Revision: 362467
URL: http://svnweb.freebsd.org/changeset/ports/362467
QAT: https://qat.redports.org/buildarchive/r362467/

Log:
  Stage, use OPTIONS instead of WITH_*, and unescape a COMMENT apostraphe.

Modified:
  head/games/wmquake/Makefile

Modified: head/games/wmquake/Makefile
==============================================================================
--- head/games/wmquake/Makefile	Mon Jul 21 18:50:06 2014	(r362466)
+++ head/games/wmquake/Makefile	Mon Jul 21 18:52:17 2014	(r362467)
@@ -10,27 +10,18 @@ MASTER_SITES=	http://www.ne.jp/asahi/lin
 MASTER_SITE_SUBDIR=	uqs
 
 MAINTAINER=	ports at 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
-
-NO_STAGE=	yes
-pre-everything::
-.if !defined(WITH_OPTIMIZED_CFLAGS)
-	@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable aggressive optimizations"
-.endif
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${PREFIX}/bin
+OPTIMIZED_CFLAGS_CFLAGS=	-O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list