diff options
author | wen <wen@FreeBSD.org> | 2010-11-12 09:54:43 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-11-12 09:54:43 +0800 |
commit | abbe2f149033642fd9d5235d7ad41ff110650b25 (patch) | |
tree | 5fabafd1a2bc6ffedf2f26fd430982a37a8eaf35 /graphics | |
parent | 99eca5bed86bc723173f3bc85b3272bc8d99be00 (diff) | |
download | freebsd-ports-graphics-abbe2f149033642fd9d5235d7ad41ff110650b25.tar.gz freebsd-ports-graphics-abbe2f149033642fd9d5235d7ad41ff110650b25.tar.zst freebsd-ports-graphics-abbe2f149033642fd9d5235d7ad41ff110650b25.zip |
- Fix the build with ming support [1]
- Add MyGIS option [2]
PR: ports/152144 [1]
ports/152147 [2]
Submitted by: Toomas Aas <toomas@tarkvarastuudio.ee>
Approved by: maintainer (myself)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mapserver/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile index 8a4a76f77ee..cb9d844c0ef 100644 --- a/graphics/mapserver/Makefile +++ b/graphics/mapserver/Makefile @@ -7,7 +7,7 @@ PORTNAME= mapserver PORTVERSION= 5.6.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics www geography MASTER_SITES= http://download.osgeo.org/mapserver/ @@ -26,10 +26,11 @@ MAKE_JOBS_UNSAFE= yes OPTIONS= AGG "Support for AGG image rendering (req: FreeType)" off \ TIFF "Support for TIFF (but not GeoTIFF) files" 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 \ + MING "Support for Macromedia Flash output" off \ + MYGIS "Support for MyGIS" off \ POSTGIS "Support for PostGIS" off \ PHP "Support for MapScript/PHP" off \ PERL "Support for MapScript/PERL" off \ @@ -90,6 +91,11 @@ LIB_DEPENDS+= geos.0:${PORTSDIR}/graphics/geos CONFIGURE_ARGS+= --with-geos=${LOCALBASE}/bin/geos-config .endif +.if defined(WITH_MYGIS) +USE_MYSQL= YES +CONFIGURE_ARGS+= --with-mygis=${LOCALBASE}/bin/mysql_config +.endif + .if defined(WITH_POSTGIS) BUILD_DEPENDS+= ${LOCALBASE}/lib/libpgport.a:${PORTSDIR}/databases/postgresql82-server CONFIGURE_ARGS+= --with-postgis=${LOCALBASE}/bin/pg_config @@ -146,6 +152,12 @@ CONFIGURE_ARGS+= --enable-debug PROG_FILES= legend scalebar shp2img shp2pdf shptree shptreetst shptreevis sortshp +post-patch: +.if defined(WITH_MING) + ${REINPLACE_CMD} -e 's#with_ming/include#with_ming/include/ming#g' \ + ${WRKSRC}/configure +.endif + post-build: .if defined(WITH_PERL) (cd ${WRKSRC}/mapscript/perl && ${PERL5} Makefile.PL && make) |