diff options
author | jgh <jgh@FreeBSD.org> | 2013-03-21 08:29:59 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-03-21 08:29:59 +0800 |
commit | 18876a7edf0fed1828775119b519331bfd552c80 (patch) | |
tree | c0c786b7a55a78538f4bac37926de1b191cd9b2a /textproc/xaira | |
parent | 3641d421f80eb45309a06643d39a6774d9e0f73c (diff) | |
download | freebsd-ports-gnome-18876a7edf0fed1828775119b519331bfd552c80.tar.gz freebsd-ports-gnome-18876a7edf0fed1828775119b519331bfd552c80.tar.zst freebsd-ports-gnome-18876a7edf0fed1828775119b519331bfd552c80.zip |
- adopt optionsNG
Approved by: portmgr (miwi)
Diffstat (limited to 'textproc/xaira')
-rw-r--r-- | textproc/xaira/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/xaira/Makefile b/textproc/xaira/Makefile index 3f66af57563b..523c10cb39cb 100644 --- a/textproc/xaira/Makefile +++ b/textproc/xaira/Makefile @@ -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 \ |