diff options
author | Wen Heping <wen@FreeBSD.org> | 2009-09-26 00:37:43 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2009-09-26 00:37:43 +0000 |
commit | 4e8232ac6b254a27001da20a42052905145d4af2 (patch) | |
tree | 053dda321b94f1934bb0a40c692880d7aa904446 /graphics | |
parent | ae73edb4c82560a18c55ea028d4aa1675532dbf9 (diff) | |
download | ports-4e8232ac6b254a27001da20a42052905145d4af2.tar.gz ports-4e8232ac6b254a27001da20a42052905145d4af2.zip |
Notes
Diffstat (limited to 'graphics')
-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 |