aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-01-29 03:56:19 +0000
committerWen Heping <wen@FreeBSD.org>2010-01-29 03:56:19 +0000
commit417d5cf217d9db43cbf2077dc7885e8a9f57d353 (patch)
tree67c921e258b7e3a3ba7ab34e7b07e19e85264bee
parent97665e1c08678e06ff0cc5dcb75661ebed7aa99d (diff)
downloadports-417d5cf217d9db43cbf2077dc7885e8a9f57d353.tar.gz
ports-417d5cf217d9db43cbf2077dc7885e8a9f57d353.zip
- Add a option entry to support building with fastcgi
Notes
Notes: svn path=/head/; revision=248783
-rw-r--r--graphics/mapserver/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile
index c5ab2eadabca..afa7b58bc4a5 100644
--- a/graphics/mapserver/Makefile
+++ b/graphics/mapserver/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mapserver
PORTVERSION= 5.6.1
+PORTREVISION= 1
CATEGORIES= graphics www geography
MASTER_SITES= http://download.osgeo.org/mapserver/
@@ -35,6 +36,7 @@ OPTIONS= AGG "Support for AGG image rendering (req: FreeType)" off \
WMS "Support for web map service server and client" off \
WFS "Support for web feature service (req: GDAL)" off \
MAPSERV "Install mapserv cgi interface" on \
+ FASTCGI "Support FASTCGI" off \
DEBUG "Enable debugging output" off
.include <bsd.port.pre.mk>
@@ -120,6 +122,11 @@ PLIST_SUB+= WITH_MAPSERV=""
PLIST_SUB+= WITH_MAPSERV="@comment "
.endif
+.if defined(WITH_FASTCGI)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/cgi-fcgi:${PORTSDIR}/www/fcgi
+CONFIGURE_ARGS+= --with-fastcgi=${LOCALBASE}
+.endif
+
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif