Date: Thu, 21 Mar 2013 00:29:59 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314792 - head/textproc/xaira Message-ID: <201303210029.r2L0TxMD046819@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Thu Mar 21 00:29:59 2013 New Revision: 314792 URL: http://svnweb.freebsd.org/changeset/ports/314792 Log: - adopt optionsNG Approved by: portmgr (miwi) Modified: head/textproc/xaira/Makefile Modified: head/textproc/xaira/Makefile ============================================================================== --- head/textproc/xaira/Makefile Thu Mar 21 00:29:06 2013 (r314791) +++ head/textproc/xaira/Makefile Thu Mar 21 00:29:59 2013 (r314792) @@ -25,9 +25,12 @@ USE_RC_SUBR= xaira-server SUB_FILES+= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -OPTIONS= PHP5 "Build PHP5 extension" no +OPTIONS_DEFINE= PHP5 +PHP5_DESC= Build PHP5 extension +OPTIONS_DEFAULT= PHP5 .include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${OSVERSION} >= 700042 .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" @@ -35,7 +38,7 @@ BROKEN= Does not compile with GCC 4.2 .endif .endif -.if defined(WITH_PHP5) +.if ${PORT_OPTIONS:MPHP5} BUILD_DEPENDS+= php5>=5:${PORTSDIR}/lang/php5 CONFIGURE_ARGS+= --with-php5=`${LOCALBASE}/bin/php-config --include-dir` PLIST_FILES+= lib/libphpXaira.a \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303210029.r2L0TxMD046819>