Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 18:52:18 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362467 - head/games/wmquake
Message-ID:  <201407211852.s6LIqITL080570@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407211852.s6LIqITL080570>