[28834] trunk/dports/graphics/libpng/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 9 18:32:13 PDT 2007


Revision: 28834
          http://trac.macosforge.org/projects/macports/changeset/28834
Author:   ryandesign at macports.org
Date:     2007-09-09 18:32:13 -0700 (Sun, 09 Sep 2007)

Log Message:
-----------
libpng:

 * update to 1.2.20
 * add standard doc install
 * put the example file in the doc directory

Thanks to nox. See ticket #12648.

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

Modified: trunk/dports/graphics/libpng/Portfile
===================================================================
--- trunk/dports/graphics/libpng/Portfile	2007-09-10 01:16:19 UTC (rev 28833)
+++ trunk/dports/graphics/libpng/Portfile	2007-09-10 01:32:13 UTC (rev 28834)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		libpng
-version		1.2.18
+version		1.2.20
 categories	graphics
 maintainers	ryandesign waqar at macports.org
 description	Library for manipulating PNG images
@@ -19,9 +19,9 @@
 homepage	http://www.libpng.org/pub/png/
 use_bzip2	yes
 master_sites	sourceforge
-checksums	md5 25a7f2f101eaaf2eb18c4987e0fbe39d \
-			sha1 42156e45fa999b242dc63c261e9253ce0dd810ab \
-			rmd160 ea81056a896eb038fa5d7fde2b7fa626c1a2e31e
+checksums	md5 8c186d9da3d011e2c3076b28f9c6be7b \
+			sha1 3fc27faf224ea31a43771c214f2f903ea2e98b0d \
+			rmd160 0934f9f304756e011c4f0d73ad95506e8663ccee
 
 depends_lib	port:zlib
 
@@ -30,8 +30,11 @@
 
 post-destroot	{
 	system "ranlib ${destroot}${prefix}/lib/libpng12.a"
-	xinstall -d -m 755 ${destroot}${prefix}/share/${name}
-	file copy ${worksrcpath}/example.c ${destroot}${prefix}/share/${name}
+	set docdir ${prefix}/share/doc/${name}-${version}
+	xinstall -d ${destroot}${docdir}/examples
+	xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES KNOWNBUG LICENSE README \
+		TODO ${destroot}${docdir}
+	xinstall -m 0644 ${worksrcpath}/example.c ${destroot}${docdir}/examples
 }
 
 platform darwin 8 {

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


More information about the macports-changes mailing list