svn commit: r305121 - head/games/gnubg
Pietro Cerutti
gahr at FreeBSD.org
Mon Oct 1 13:32:10 UTC 2012
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>
More information about the svn-ports-head
mailing list