From owner-svn-ports-all@FreeBSD.ORG Mon Oct 1 13:32:10 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B30D6106566B; Mon, 1 Oct 2012 13:32:10 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9E6B78FC08; Mon, 1 Oct 2012 13:32:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q91DWA7U054734; Mon, 1 Oct 2012 13:32:10 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q91DWAc1054732; Mon, 1 Oct 2012 13:32:10 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201210011332.q91DWAc1054732@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 1 Oct 2012 13:32:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305121 - head/games/gnubg X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2012 13:32:10 -0000 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 +.include -.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 +.include