diff options
author | wen <wen@FreeBSD.org> | 2009-09-26 08:37:43 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2009-09-26 08:37:43 +0800 |
commit | b7507ace522172c2b055ae61fb7c216e4a4f3487 (patch) | |
tree | 72efaeae4d5ce5aba500fd2090e5518505484d8b | |
parent | 67ab808450e4e212904bcd3836842c447cd1886f (diff) | |
download | freebsd-ports-gnome-b7507ace522172c2b055ae61fb7c216e4a4f3487.tar.gz freebsd-ports-gnome-b7507ace522172c2b055ae61fb7c216e4a4f3487.tar.zst freebsd-ports-gnome-b7507ace522172c2b055ae61fb7c216e4a4f3487.zip |
- Add a option entry for geos support [1]
- Change USE_APACHE=22 back to USE_APACHE=13 [2]
Submitted by: ben@remoteinformation.com.au(via email) [1]
glebius@freebsd.org(via email) [2]
Approved by: miwi(mentor)
Feature safe: yes
-rw-r--r-- | graphics/mapserver/Makefile | 11 | ||||
-rw-r--r-- | graphics/mapserver/pkg-plist | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile index 16487d2d4b25..c7e3cf9dc482 100644 --- a/graphics/mapserver/Makefile +++ b/graphics/mapserver/Makefile @@ -7,10 +7,11 @@ PORTNAME= mapserver PORTVERSION= 5.4.2 +PORTREVISION= 1 CATEGORIES= graphics www geography MASTER_SITES= http://download.osgeo.org/mapserver/ -MAINTAINER= wenheping@gmail.com +MAINTAINER= wen@FreeBSD.org COMMENT= System for developing web-based GIS applications LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \ @@ -27,6 +28,7 @@ OPTIONS= AGG "Support for AGG image rendering (req: FreeType)" off \ MING "Support for Macromedia Flash output" off \ PDF "Support for PDF output via pdflib" off \ GDAL "Support for a number of input raster formats" off \ + GEOS "Use GEOS engine where possible" off \ POSTGIS "Support for PostGIS" off \ PHP "Support for MapScript/PHP" off \ PERL "Support for MapScript/PERL" off \ @@ -78,6 +80,11 @@ CONFIGURE_ARGS+= --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-ogr=${LOCALBASE}/bin/gdal-config .endif +.if defined(WITH_GEOS) +LIB_DEPENDS+= geos.0:${PORTSDIR}/graphics/geos +CONFIGURE_ARGS+= --with-geos=${LOCALBASE}/bin/geos-config +.endif + .if defined(WITH_POSTGIS) USE_PGSQL= YES CONFIGURE_ARGS+= --with-postgis=${LOCALBASE}/bin/pg_config @@ -107,7 +114,7 @@ CONFIGURE_ARGS+= --with-curl=${LOCALBASE} .endif .if defined(WITH_MAPSERV) -USE_APACHE= 22 +USE_APACHE= 13 PLIST_SUB+= WITH_MAPSERV="" .else PLIST_SUB+= WITH_MAPSERV="@comment " diff --git a/graphics/mapserver/pkg-plist b/graphics/mapserver/pkg-plist index f74ffd0aa574..16c8d62da043 100644 --- a/graphics/mapserver/pkg-plist +++ b/graphics/mapserver/pkg-plist @@ -8,7 +8,6 @@ bin/shptreetst bin/shptreevis bin/sortshp %%WITH_MAPSERV%%www/cgi-bin/mapserv -%%WITH_MAPSERV%%@dirrm www/cgi-bin %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/mapscript/mapscript.so %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/mapscript/mapscript.bs %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/mapscript/.packlist |