Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 13:32:10 +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: r305121 - head/games/gnubg
Message-ID:  <201210011332.q91DWAc1054732@svn.freebsd.org>

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

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

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

Modified: head/games/gnubg/Makefile
==============================================================================
--- head/games/gnubg/Makefile	Mon Oct  1 13:27:48 2012	(r305120)
+++ head/games/gnubg/Makefile	Mon Oct  1 13:32:10 2012	(r305121)
@@ -28,8 +28,8 @@ LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp
 
 WRKSRC=	${WRKDIR}/gnubg
 
-OPTIONS=	ESOUND	"Enable sound support" ON	\
-		NLS	"Enable gettext support" ON
+OPTIONS_DEFINE=	ESOUND NLS
+OPTIONS_DEFAULT=ESOUND NLS
 
 CONFIGURE_ARGS=	--with-board3d
 
@@ -42,15 +42,15 @@ USE_AUTOTOOLS=	libtool automake
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_ESOUND)
+.if ${PORT_OPTIONS:MESOUND}
 USE_GNOME+=	esound
 .else
 CONFIGURE_ENV+=	ac_cv_path_AUDIOFILE_CONFIG=no ac_cv_path_ESD_CONFIG=no
 .endif
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
 CONFIGURE_ARGS+=	--enable-nls
@@ -78,4 +78,4 @@ post-patch:
 pre-configure:
 	cd ${WRKSRC} && ./autogen.sh
 
-.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?201210011332.q91DWAc1054732>