[98988] trunk/dports/graphics/optipng/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Oct 22 19:14:56 PDT 2012


Revision: 98988
          http://trac.macports.org//changeset/98988
Author:   ryandesign at macports.org
Date:     2012-10-22 19:14:56 -0700 (Mon, 22 Oct 2012)
Log Message:
-----------
optipng: update to 0.7.4; install doc files; take maintainership; remove darwin 8 gmake dependency, no longer needed since several versions according to the developer

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

Modified: trunk/dports/graphics/optipng/Portfile
===================================================================
--- trunk/dports/graphics/optipng/Portfile	2012-10-22 23:33:58 UTC (rev 98987)
+++ trunk/dports/graphics/optipng/Portfile	2012-10-23 02:14:56 UTC (rev 98988)
@@ -4,10 +4,10 @@
 PortSystem 1.0
 
 name            optipng
-version         0.7.3
+version         0.7.4
 categories      graphics
 license         zlib
-maintainers     nomaintainer
+maintainers     ryandesign openmaintainer
 description     PNG file optimizer
 long_description \
         OptiPNG is a PNG optimizer that recompresses the image files to a \
@@ -22,8 +22,8 @@
 homepage        http://optipng.sourceforge.net/
 master_sites    sourceforge:project/${name}/OptiPNG/${name}-${version}
 
-checksums       rmd160  2329a8cc310e191adaf9c944ca92b9890e93b505 \
-                sha256  e07079fbf4cd7f11e756ca042f5285dd7a1f1784bb398fe6bbb63e5324368491
+checksums       rmd160  9541cb721fd9d914679df1ca5af1be465204dc78 \
+                sha256  520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff
 
 # Doesn't depend on libpng or zlib since it uses its own, modified versions.
 # Clear cppflags and ldflags to ensure an already-installed libpng is not used.
@@ -38,11 +38,16 @@
 
 build.args-append   CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]"
 
-platform darwin 8 {
-    # Make sure gmake 3.81+ is used, as scripts/gcc.mak needs POSIX
-    # backslash-newline sequence compatibility.
-    depends_build-append    port:gmake
-    build.cmd               ${prefix}/bin/gmake
+post-destroot {
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS.txt \
+        LICENSE.txt \
+        README.txt \
+        doc/history.txt \
+        doc/todo.txt \
+        ${destroot}${docdir}
 }
 
 # The default SourceForge livecheck rule doesn't work with OptiPNG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121022/f1fda213/attachment.html>


More information about the macports-changes mailing list