diff options
author | scheidell <scheidell@FreeBSD.org> | 2012-08-06 18:31:40 +0800 |
---|---|---|
committer | scheidell <scheidell@FreeBSD.org> | 2012-08-06 18:31:40 +0800 |
commit | 6acd235960c8410209418a974d602e466db0b804 (patch) | |
tree | cb2ed45398e8f972ba48bfc73207cb227d001620 /graphics | |
parent | 9ae0b5bf1bc77cb38147ae1fd851cb8728b4b62e (diff) | |
download | freebsd-ports-gnome-6acd235960c8410209418a974d602e466db0b804.tar.gz freebsd-ports-gnome-6acd235960c8410209418a974d602e466db0b804.tar.zst freebsd-ports-gnome-6acd235960c8410209418a974d602e466db0b804.zip |
- Switch to new OPTIONS framework
PR: ports/168893
Submitted by: Joris Dedieu <joris.dedieu@gmail.com> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/tinyows/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/tinyows/Makefile b/graphics/tinyows/Makefile index b0565ecb0ed1..650a2e7a1969 100644 --- a/graphics/tinyows/Makefile +++ b/graphics/tinyows/Makefile @@ -20,11 +20,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/postgresql/postgis-1.5.so:${PORTSDIR}/databases USE_BZIP2= YES GNU_CONFIGURE= YES -OPTIONS= FASTCGI "Support FASTCGI" on \ +OPTIONS_DEFINE= FASTCGI +OPTIONS_DEFAULT= FASTCGI -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_FASTCGI) +.if ${PORT_OPTIONS:MFASTCGI} BUILD_DEPENDS+= ${LOCALBASE}/bin/cgi-fcgi:${PORTSDIR}/www/fcgi CONFIGURE_ARGS+= --with-fastcgi=${LOCALBASE} .endif @@ -33,4 +34,4 @@ post-install: ${MKDIR} ${WWWDIR}/cgi-bin/ ${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${WWWDIR}/cgi-bin/tinyows -.include <bsd.port.post.mk> +.include <bsd.port.mk> |