[38824] trunk/dports/science

landonf at macports.org landonf at macports.org
Thu Jul 31 22:49:34 PDT 2008


Revision: 38824
          http://trac.macosforge.org/projects/macports/changeset/38824
Author:   landonf at macports.org
Date:     2008-07-31 22:49:34 -0700 (Thu, 31 Jul 2008)
Log Message:
-----------
A geos2 port for the python matplotlib basemap toolkit.

Modified Paths:
--------------
    trunk/dports/science/geos2/Portfile

Added Paths:
-----------
    trunk/dports/science/geos2/

Copied: trunk/dports/science/geos2 (from rev 38822, trunk/dports/science/geos)


Property changes on: trunk/dports/science/geos2
___________________________________________________________________
Name: svn:mergeinfo
   + 

Modified: trunk/dports/science/geos2/Portfile
===================================================================
--- trunk/dports/science/geos/Portfile	2008-08-01 04:20:40 UTC (rev 38822)
+++ trunk/dports/science/geos2/Portfile	2008-08-01 05:49:34 UTC (rev 38824)
@@ -2,7 +2,7 @@
 
 PortSystem       1.0
 
-name             geos
+name             geos2
 version          2.2.3
 categories       science
 platforms        darwin
@@ -17,6 +17,7 @@
 homepage         http://geos.refractions.net/
 master_sites     ${homepage}downloads/
 use_bzip2        yes
+distname         geos-${version}
 
 checksums	       md5 440be2b11fd3d711e950a47ea6f1b424 \
                  sha1 c5da21829255e3625f7c2482c9220234cc5d9f90 \
@@ -27,3 +28,16 @@
 platform darwin 9 {
 	patchfiles patch-test_XMLTester.cpp.diff
 }
+
+configure.args  --includedir=\\\${prefix}/include/geos2 \
+                --libdir=\\\${prefix}/lib/geos2 \
+                --program-suffix=2
+
+post-destroot {
+        # Compatibility links
+        system "cd ${destroot}/${prefix}/lib && ln -s geos2/libgeos.dylib libgeos2.dylib"
+        system "cd ${destroot}/${prefix}/lib && ln -s geos2/libgeos_c.dylib libgeos2_c.dylib"
+
+        system "cd ${destroot}/${prefix}/include && ln -s geos2/geos.h geos2.h"
+        system "cd ${destroot}/${prefix}/include && ln -s geos2/geos_c.h geos2_c.h"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080731/6efd99fe/attachment.html 


More information about the macports-changes mailing list