svn commit: r302157 - head/graphics/tinyows
Michael Scheidell
scheidell at FreeBSD.org
Mon Aug 6 10:31:41 UTC 2012
Author: scheidell
Date: Mon Aug 6 10:31:40 2012
New Revision: 302157
URL: http://svn.freebsd.org/changeset/ports/302157
Log:
- Switch to new OPTIONS framework
PR: ports/168893
Submitted by: Joris Dedieu <joris.dedieu at gmail.com> (maintainer)
Modified:
head/graphics/tinyows/Makefile
Modified: head/graphics/tinyows/Makefile
==============================================================================
--- head/graphics/tinyows/Makefile Mon Aug 6 10:28:27 2012 (r302156)
+++ head/graphics/tinyows/Makefile Mon Aug 6 10:31:40 2012 (r302157)
@@ -20,11 +20,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/postgre
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>
More information about the svn-ports-all
mailing list