source: trunk/dports/graphics/libgeotiff/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.5 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            libgeotiff
5version         1.2.1
6set libver      1
7categories      graphics
8maintainers     dementia.org:shadow
9description     Library and tools for dealing with GeoTIFF
10long_description This software provides support for the Tag Image File \
11                 Format (TIFF) Geo extensions.
12homepage        http://www.remotesensing.org/geotiff/
13platforms       darwin
14master_sites    ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/
15distname        ${name}-${version}
16checksums       md5 cd02f28915f964e4aa914e0e1b39ab4b
17
18patchfiles      patch-incode
19
20depends_lib     lib:libtiff.3.6:tiff lib:libproj.0:proj lib:libz.1:zlib
21
22configure.env   MANPATH=${prefix}/share/man
23
24configure.args  --with-zip=${prefix} --with-jpeg=${prefix} \
25                --with-proj=${prefix} --enable-incode-epsg
26
27destroot.destdir
28build.env       DESTDIR=${destroot}
29destroot.env    DESTDIR=${destroot}
30
31post-build      { system "cd ${worksrcpath} && cc -dynamiclib -all_load \
32                  -install_name ${prefix}/lib/libgeotiff.${version}.dylib \
33                  -compatibility_version ${version} \
34                  -o libgeotiff.${version}.dylib libgeotiff.a -L${prefix}/lib \
35                  -lproj -ltiff -ljpeg -lz" }
36
37pre-destroot    "file mkdir ${destroot}/${prefix}"
38
39post-destroot   { delete ${destroot}${prefix}/lib/libgeotiff.a
40                  xinstall -m 755 -d ${destroot}${prefix}/lib
41                  xinstall -m 644 -W ${worksrcpath} \
42                    libgeotiff.${version}.dylib \
43                    ${destroot}${prefix}/lib
44                  ln -sf libgeotiff.${version}.dylib \
45                    ${destroot}${prefix}/lib/libgeotiff.${libver}.dylib
46                  ln -sf libgeotiff.${version}.dylib \
47                    ${destroot}${prefix}/lib/libgeotiff.dylib }
Note: See TracBrowser for help on using the repository browser.