[41898] trunk/dports/gis
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Nov 11 19:02:37 PST 2008
Revision: 41898
http://trac.macports.org/changeset/41898
Author: macsforever2000 at macports.org
Date: 2008-11-11 19:02:36 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
Added new port mapserver. (#16238)
Added Paths:
-----------
trunk/dports/gis/mapserver/
trunk/dports/gis/mapserver/Portfile
trunk/dports/gis/mapserver/files/
trunk/dports/gis/mapserver/files/patch-Makefile.in.diff
Added: trunk/dports/gis/mapserver/Portfile
===================================================================
--- trunk/dports/gis/mapserver/Portfile (rev 0)
+++ trunk/dports/gis/mapserver/Portfile 2008-11-12 03:02:36 UTC (rev 41898)
@@ -0,0 +1,52 @@
+# $Id$
+
+PortSystem 1.0
+
+name mapserver
+version 5.2.0
+maintainers nomaintainer
+categories gis
+platforms darwin
+
+description mapserver
+long_description MapServer is an Open Source development environment for \
+ building spatially-enabled internet applications.
+
+homepage http://mapserver.gis.umn.edu/
+master_sites http://download.osgeo.org/mapserver
+
+checksums md5 6c0f210eb6510f0a43b6d5b09df8bb83
+
+depends_lib port:gd2 \
+ port:geos
+
+patchfiles patch-Makefile.in.diff
+
+configure.args --with-gd=${prefix}
+variant gdalogr description {Add raster formats from gdal (Geospatial Data Abstraction Library) and vector formats from OGR Simple Features Library} {
+ depends_lib-append port:gdal
+ configure.args-append --with-gdal=${prefix}/bin/gdal-config \
+ --with-ogr=${prefix}/bin/gdal-config
+}
+
+variant proj description {Add projection support} {
+ depends_lib-append port:proj
+ configure.args-append --with-proj=${prefix}
+}
+
+#variant wms requires proj description {Enable Web Map Service} {
+ # --with-wms is enabled by default
+#}
+
+set cgi_path "/Library/WebServer/CGI-Executables/"
+
+# apache macport interop
+if {[ file exists ${prefix}/sbin/httpd]} {
+ set cgi_path "${prefix}/www/cgi-bin/"
+}
+
+destroot.target install-force
+post-destroot {
+ file mkdir ${destroot}${cgi_path}
+ xinstall -m 755 ${worksrcpath}/mapserv ${destroot}${cgi_path}
+}
Property changes on: trunk/dports/gis/mapserver/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/gis/mapserver/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/gis/mapserver/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/gis/mapserver/files/patch-Makefile.in.diff 2008-11-12 03:02:36 UTC (rev 41898)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2008-08-09 12:51:09.000000000 +0200
++++ Makefile.in 2008-08-09 12:51:42.000000000 +0200
+@@ -3,9 +3,9 @@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-INST_PREFIX = @exec_prefix@
+-INST_LIB = @libdir@
+-INST_BIN = @bindir@
++INST_PREFIX = ${DESTDIR}@exec_prefix@
++INST_LIB = ${DESTDIR}@libdir@
++INST_BIN = ${DESTDIR}@bindir@
+
+ #
+ # MS_VERSION - Set by configure based in mapserver.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081111/ff9ba8db/attachment.html>
More information about the macports-changes
mailing list