1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Add a option entry to support building with fastcgi

This commit is contained in:
Wen Heping 2010-01-29 03:56:19 +00:00
parent 97665e1c08
commit 417d5cf217
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248783

View File

@ -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