[55379] trunk/dports/graphics/libgeotiff

ryandesign at macports.org ryandesign at macports.org
Sun Aug 9 21:05:12 PDT 2009


Revision: 55379
          http://trac.macports.org/changeset/55379
Author:   ryandesign at macports.org
Date:     2009-08-09 21:05:09 -0700 (Sun, 09 Aug 2009)
Log Message:
-----------
libgeotiff: update to 1.2.4 (#16104) which also fixes the universal build (#19849)

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

Removed Paths:
-------------
    trunk/dports/graphics/libgeotiff/files/

Modified: trunk/dports/graphics/libgeotiff/Portfile
===================================================================
--- trunk/dports/graphics/libgeotiff/Portfile	2009-08-10 03:53:47 UTC (rev 55378)
+++ trunk/dports/graphics/libgeotiff/Portfile	2009-08-10 04:05:09 UTC (rev 55379)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name		libgeotiff
-version		1.2.1
-set libver	1
+version		1.2.4
 categories	graphics
 maintainers	nomaintainer
 description	Library and tools for dealing with GeoTIFF
@@ -12,10 +11,10 @@
 homepage	http://www.remotesensing.org/geotiff/
 platforms	darwin
 master_sites	ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/
-checksums	md5 cd02f28915f964e4aa914e0e1b39ab4b
+checksums	md5     62cd4a515d1f3ba7b41cb4ed9061aa76 \
+		sha1    044060c38a1eba53e9955b2b9cf541cf461d7e7e \
+		rmd160  e1b434848db2c3cb66f8bb7f24aa2a80989b8c9b
 
-patchfiles 	patch-incode
-
 depends_lib	port:tiff port:proj port:zlib
 
 configure.env	MANPATH=${prefix}/share/man
@@ -27,18 +26,11 @@
 build.env	DESTDIR=${destroot}
 destroot.env	DESTDIR=${destroot}
 
-post-build	{ system "cd ${worksrcpath} && cc -dynamiclib -all_load \
-		  -install_name ${prefix}/lib/libgeotiff.${version}.dylib \
-		  -compatibility_version ${version} \
-		  -o libgeotiff.${version}.dylib libgeotiff.a -L${prefix}/lib \
-		  -lproj -ltiff -ljpeg -lz" }
-
-post-destroot	{ delete ${destroot}${prefix}/lib/libgeotiff.a
-		  xinstall -m 755 -d ${destroot}${prefix}/lib
-		  xinstall -m 644 -W ${worksrcpath} \
-		    libgeotiff.${version}.dylib \
-		    ${destroot}${prefix}/lib
-		  ln -sf libgeotiff.${version}.dylib \
-		    ${destroot}${prefix}/lib/libgeotiff.${libver}.dylib
-		  ln -sf libgeotiff.${version}.dylib \
-		    ${destroot}${prefix}/lib/libgeotiff.dylib }
+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
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090809/7afbff69/attachment.html>


More information about the macports-changes mailing list