source: trunk/dports/science/geos2/Portfile

Last change on this file was 71533, checked in by ryandesign@…, 7 years ago

In the interest that all portfiles exemplify correct portfile writing techniques, remove slash before ${prefix} which is not needed because ${prefix} already begins with a slash

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 71533 2010-09-15 20:26:12Z ryandesign@macports.org $
2
3PortSystem       1.0
4
5name             geos2
6version          2.2.3
7categories       science
8platforms        darwin
9maintainers      gaige.net:opendarwin
10
11description      GEOS Geometry Engine - Open Source
12long_description \
13  A C++ port of the Java Topology Suite, providing OpenGIS Simple \
14  Features for SQL spatial predicate functions and spatial operators, \
15  as well as specific JTS topology functions. Used by PostGIS.
16
17homepage         http://trac.osgeo.org/geos/
18master_sites     http://download.osgeo.org/geos/
19use_bzip2        yes
20distname         geos-${version}
21
22checksums              md5 440be2b11fd3d711e950a47ea6f1b424 \
23                 sha1 c5da21829255e3625f7c2482c9220234cc5d9f90 \
24                 rmd160 968de157f96f41aa71d5ef7c28c7186e8db0939e
25
26test.run         yes
27test.cmd         make
28test.target      check
29
30use_parallel_build yes
31
32platform darwin 9 {
33        patchfiles patch-test_XMLTester.cpp.diff
34}
35
36configure.args  --includedir=\\\${prefix}/include/geos2 \
37                --libdir=\\\${prefix}/lib/geos2 \
38                --program-suffix=2
39
40post-destroot {
41        # Compatibility links
42        system "cd ${destroot}${prefix}/lib && ln -s geos2/libgeos.dylib libgeos2.dylib"
43        system "cd ${destroot}${prefix}/lib && ln -s geos2/libgeos_c.dylib libgeos2_c.dylib"
44
45        system "cd ${destroot}${prefix}/include && ln -s geos2/geos.h geos2.h"
46        system "cd ${destroot}${prefix}/include && ln -s geos2/geos_c.h geos2_c.h"
47}
48
49livecheck.type  none
Note: See TracBrowser for help on using the repository browser.