Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 13:37:58 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305122 - head/games/nil
Message-ID:  <201210011337.q91DbwV7055514@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Oct  1 13:37:58 2012
New Revision: 305122
URL: http://svn.freebsd.org/changeset/ports/305122

Log:
  - Convert to OptionsNG
  
  Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG

Modified:
  head/games/nil/Makefile   (contents, props changed)

Modified: head/games/nil/Makefile
==============================================================================
--- head/games/nil/Makefile	Mon Oct  1 13:32:10 2012	(r305121)
+++ head/games/nil/Makefile	Mon Oct  1 13:37:58 2012	(r305122)
@@ -22,9 +22,10 @@ USE_GMAKE=	yes
 USE_SDL=	image mixer sdl ttf
 GNU_CONFIGURE=	yes
 
-OPTIONS=	OPTIMIZED_CFLAGS "Enable compilation optimizations" on
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
+OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${ARCH} == "ia64"
 BROKEN=		does not link on ${ARCH}
@@ -37,7 +38,7 @@ post-patch:
 		 s|sdl-config|${SDL_CONFIG}|'
 	@${REINPLACE_CMD} -e 's|\.\./data|${DATADIR}|' \
 		${WRKSRC}/src/common/configuration/configuration.cpp
-.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
 	@${REINPLACE_CMD} -e 's|\(--subcall\)|\1 --enable-optimize|' \
 		${WRKSRC}/configure
 .endif
@@ -51,4 +52,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/docs/HOWTO ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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