[128674] trunk/dports/gis/mapserver/Portfile

larryv at macports.org larryv at macports.org
Mon Nov 24 22:27:01 PST 2014


Revision: 128674
          https://trac.macports.org/changeset/128674
Author:   larryv at macports.org
Date:     2014-11-24 22:27:01 -0800 (Mon, 24 Nov 2014)
Log Message:
-----------
mapserver: Install correct mapserv file (#38033)

Modified Paths:
--------------
    trunk/dports/gis/mapserver/Portfile

Modified: trunk/dports/gis/mapserver/Portfile
===================================================================
--- trunk/dports/gis/mapserver/Portfile	2014-11-25 02:55:40 UTC (rev 128673)
+++ trunk/dports/gis/mapserver/Portfile	2014-11-25 06:27:01 UTC (rev 128674)
@@ -5,7 +5,7 @@
 
 name                mapserver
 version             6.2.1
-revision            2
+revision            3
 maintainers         hbaspecto.com:jea openmaintainer
 categories          gis
 license             permissive
@@ -26,7 +26,7 @@
                     port:jpeg \
                     port:libpng \
                     port:freetype \
-                    port:giflib \
+                    port:giflib
 
 # fix gd version check
 patchfiles-append   patch-configure.diff
@@ -149,7 +149,8 @@
 
 post-destroot {
     file mkdir ${destroot}${cgi_path}
-    xinstall -m 755 ${worksrcpath}/mapserv ${destroot}${cgi_path}/mapserv
+    # There's no good reason to keep the executable in ${prefix}/bin.
+    move ${destroot}${prefix}/bin/mapserv ${destroot}${cgi_path}
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141124/ae0b53b3/attachment.html>


More information about the macports-changes mailing list