source: trunk/dports/graphics/shapelib/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            shapelib
5version         1.2.10
6set libver      1
7categories      graphics
8maintainers     dementia.org:shadow
9description     Library and tools for dealing with ESRI ShapeFiles
10long_description This software provides support for the ESRI ShapeFiles.
11homepage        http://gdal.velocet.ca/projects/shapelib/index.html
12platforms       darwin
13master_sites    http://dl.maptools.org/dl/shapelib/
14distname        ${name}-${version}
15checksums       md5 4d96bd926167193d27bf14d56e2d484e
16
17use_configure   no
18build.target    all shptree.o
19
20destroot.destdir
21
22post-build      {
23                  system "cd ${worksrcpath} && cc -dynamiclib -all_load \
24                  -install_name ${prefix}/lib/libshp.${version}.dylib \
25                  -compatibility_version ${version} \
26                  -o libshp.${version}.dylib shpopen.o shptree.o \
27                  dbfopen.o" }
28
29pre-destroot    {}
30
31destroot.target   {}
32
33post-destroot   {
34                  xinstall -m 755 -d \
35                    ${destroot}${prefix}/include
36                  xinstall -m 755 -d \
37                    ${destroot}${prefix}/lib
38                  xinstall -m 644 -c -W ${worksrcpath} \
39                    shapefil.h ${destroot}${prefix}/include
40                  xinstall -m 644 -c -W ${worksrcpath} \
41                    libshp.${version}.dylib ${destroot}${prefix}/lib
42                  system "ln -sf libshp.${version}.dylib \
43                    ${destroot}/${prefix}/lib/libshp.${libver}.dylib"
44                  system "ln -sf libshp.${version}.dylib \
45                    ${destroot}/${prefix}/lib/libshp.dylib" }
Note: See TracBrowser for help on using the repository browser.