summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-08-06 10:31:40 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-08-06 10:31:40 +0000
commit3be2d5fde75784a4c05ab98fdbd9153bb3bd6fe7 (patch)
treecb2ed45398e8f972ba48bfc73207cb227d001620 /graphics
parent- Update to 0.4.0 (diff)
- Switch to new OPTIONS framework
PR: ports/168893 Submitted by: Joris Dedieu <joris.dedieu@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=302157
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tinyows/Makefile9
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>