[71408] trunk/dports/graphics/libgeotiff/Portfile

takeshi at macports.org takeshi at macports.org
Sun Sep 12 03:30:35 PDT 2010


Revision: 71408
          http://trac.macports.org/changeset/71408
Author:   takeshi at macports.org
Date:     2010-09-12 03:30:31 -0700 (Sun, 12 Sep 2010)
Log Message:
-----------
libgeotiff: updated to 1.3.0. moved csv files to /share/

Modified Paths:
--------------
    trunk/dports/graphics/libgeotiff/Portfile

Modified: trunk/dports/graphics/libgeotiff/Portfile
===================================================================
--- trunk/dports/graphics/libgeotiff/Portfile	2010-09-12 09:15:48 UTC (rev 71407)
+++ trunk/dports/graphics/libgeotiff/Portfile	2010-09-12 10:30:31 UTC (rev 71408)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem              1.0
@@ -3,6 +4,5 @@
 
 name                    libgeotiff
-version                 1.2.5
-revision                3
+version                 1.3.0
 categories              graphics
 platforms               darwin
@@ -16,12 +16,16 @@
 long_description        This software provides support for the Tag Image File \
                         Format (TIFF) Geo extensions.
 
-checksums               md5     000f247a88510f1b38d4b314d1e47048 \
-                        sha1    38b10070374636fedfdde328ff1c9f3c6e8e581f \
-                        rmd160  d82d8c705979feb51c367259e1659ff3325320f2
+checksums           md5     6ac3c22e44711e9a3add9044e40b9527 \
+                    sha1    b8cde5014cf82fe4683fa35fc81a5ea8d64b940f \
+                    rmd160  845a2bba9b8b6204d86895f7580e3ae9f3b8ed67
 
 depends_lib             port:tiff port:proj port:zlib port:jpeg
 
+post-patch {
+    reinplace "s|epsg_csv|${name}/epsg_csv|" ${worksrcpath}/Makefile.in
+}
+
 configure.args          --with-zip=${prefix} \
                         --with-jpeg=${prefix} \
                         --with-proj=${prefix} \
@@ -32,16 +36,6 @@
 
 use_parallel_build      no
 
-post-destroot {
-    move ${destroot}${prefix}/lib/libgeotiff.dylib.${version} ${destroot}${prefix}/lib/libgeotiff.${version}.dylib
-    system "install_name_tool -id ${prefix}/lib/libgeotiff.${version}.dylib ${destroot}${prefix}/lib/libgeotiff.${version}.dylib"
-    foreach suf ".[join [lrange [split ${version} .] 0 1] .] .[lindex [split ${version} .] 0] {}" {
-        delete ${destroot}${prefix}/lib/libgeotiff.dylib${suf}
-        ln -s libgeotiff.${version}.dylib ${destroot}${prefix}/lib/libgeotiff${suf}.dylib
-    }
-    system "find ${destroot}${prefix}/bin -type f -exec install_name_tool -change libgeotiff.dylib.${version} ${prefix}/lib/libgeotiff.${version}.dylib {} \\;"
-}
-
 livecheck.type          regex
 livecheck.url           [lindex ${master_sites} 0]
 livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100912/f757e7cf/attachment.html>


More information about the macports-changes mailing list