[21414] trunk/dports/graphics/gd/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 23 15:36:23 PST 2007


Revision: 21414
          http://trac.macosforge.org/projects/macports/changeset/21414
Author:   toby at macports.org
Date:     2007-01-23 15:36:22 -0800 (Tue, 23 Jan 2007)

Log Message:
-----------
gd 2.0.33

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

Modified: trunk/dports/graphics/gd/Portfile
===================================================================
--- trunk/dports/graphics/gd/Portfile	2007-01-23 23:22:13 UTC (rev 21413)
+++ trunk/dports/graphics/gd/Portfile	2007-01-23 23:36:22 UTC (rev 21414)
@@ -2,9 +2,9 @@
 
 PortSystem 1.0
 name		gd
-version		1.8.4
-set libver	1.8
-revision        3
+version		2.0.33
+set libver	2.0.0
+revision        4
 categories	graphics
 maintainers	michaelm at opendarwin.org
 description	GD creates PNG and JPEG images, among other formats
@@ -19,17 +19,11 @@
 
 platforms	darwin
 master_sites	http://www.boutell.com/gd/http/ 
-checksums	md5 2aef76e79f206f9798233f025f5dd28d
-patchfiles	patch-Makefile patch-gdcache.h
+checksums	md5 be0a6d326cd8567e736fbc75df0a5c45
 depends_lib	lib:libpng:libpng lib:libjpeg:jpeg
 build.type	gnu
 build.env	CPPFLAGS='-fno-common -no-cpp-precomp'
-configure	{}
 build.args	PREFIX=${prefix}
-post-build	{ cd ${worksrcpath}
-		      system "cc -fno-common -dynamiclib -o libgd.${libver}.dylib \
-		      -install_name ${prefix}/lib/libgd.1.dylib -compatibility_version ${libver} \
-		      -current_version ${libver} -all_load libgd.a -L${prefix}/lib -lpng -lz -ljpeg" }
 
 destroot.args PREFIX=${destroot}/${prefix}
 pre-destroot	{ system "install -d ${destroot}/${prefix}/bin"
@@ -37,15 +31,4 @@
 		  system "install -d ${destroot}/${prefix}/include"
 		  system "install -d ${destroot}/${prefix}/lib" }
 
-
-post-destroot	{ system "rm ${destroot}/${prefix}/lib/libgd.a" 
-				  system "install ${worksrcpath}/libgd.${libver}.dylib \
-				    ${destroot}/${prefix}/lib/libgd.${libver}.dylib" 
-				  system "ln -s ${prefix}/lib/libgd.${libver}.dylib \
-				    ${destroot}/${prefix}/lib/libgd.dylib"
-				  system "ln -s ${prefix}/lib/libgd.${libver}.dylib \
-				    ${destroot}/${prefix}/lib/libgd.1.dylib"
-				  }
- 
-			
 variant x11 {	patchfiles patch-x11-Makefile patch-gdcache.h }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070123/44273ea0/attachment.html


More information about the macports-changes mailing list