Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2012 10:31:40 +0000 (UTC)
From:      Michael Scheidell <scheidell@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302157 - head/graphics/tinyows
Message-ID:  <201208061031.q76AVeJi025605@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208061031.q76AVeJi025605>