[120454] trunk/dports/gis/saga/Portfile

vince at macports.org vince at macports.org
Wed May 28 11:52:11 PDT 2014


Revision: 120454
          https://trac.macports.org/changeset/120454
Author:   vince at macports.org
Date:     2014-05-28 11:52:11 -0700 (Wed, 28 May 2014)
Log Message:
-----------
Correct the python API install directory.

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

Modified: trunk/dports/gis/saga/Portfile
===================================================================
--- trunk/dports/gis/saga/Portfile	2014-05-28 18:31:32 UTC (rev 120453)
+++ trunk/dports/gis/saga/Portfile	2014-05-28 18:52:11 UTC (rev 120454)
@@ -8,7 +8,7 @@
 categories          gis
 license             GPL
 version             2.1.2
-#revision            3
+revision            1
 platforms           darwin
 maintainers         vince openmaintainer
 
@@ -77,6 +77,13 @@
     configure.args-append   --with-postgresql=${prefix}/lib/postgresql93/bin/pg_config
 }
 
+post-destroot {
+    if {[variant_isset python27]} {
+        file mkdir ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7
+        file rename ${destroot}${prefix}/lib/python2.7/site-packages \
+        ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
+    }
+}
 
 livecheck.type              regex
 livecheck.url               ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140528/eb767936/attachment.html>


More information about the macports-changes mailing list