[114015] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Wed Nov 27 04:29:51 PST 2013


Revision: 114015
          https://trac.macports.org/changeset/114015
Author:   ryandesign at macports.org
Date:     2013-11-27 04:29:51 -0800 (Wed, 27 Nov 2013)
Log Message:
-----------
pngcheck: new port, version 2.3.0 (#41545)

Added Paths:
-----------
    trunk/dports/graphics/pngcheck/
    trunk/dports/graphics/pngcheck/Portfile

Added: trunk/dports/graphics/pngcheck/Portfile
===================================================================
--- trunk/dports/graphics/pngcheck/Portfile	                        (rev 0)
+++ trunk/dports/graphics/pngcheck/Portfile	2013-11-27 12:29:51 UTC (rev 114015)
@@ -0,0 +1,49 @@
+# -*- 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
+
+name                pngcheck
+version             2.3.0
+categories          graphics
+license             MIT GPL-2
+platforms           darwin
+maintainers         vt.edu:jpo openmaintainer
+description         validate and inspect PNG, JNG and MNG files
+long_description    pngcheck verifies the integrity of PNG, JNG and MNG files \
+                    (by checking the internal 32-bit CRCs [checksums] and \
+                    decompressing the image data)\; it can optionally dump \
+                    almost all of the chunk-level information in the image in \
+                    human-readable form. For example, it can be used to print \
+                    the basic statistics about an image (dimensions, bit \
+                    depth, etc.)\; to list the color and transparency info in \
+                    its palette (assuming it has one)\; or to extract the \
+                    embedded text annotations. This is a command-line program \
+                    with batch capabilities.
+homepage            http://www.libpng.org/pub/png/apps/pngcheck.html
+master_sites        sourceforge:project/png-mng/pngcheck/${version}
+
+checksums           rmd160  6a132516eeaf787eefa4d02eaecb06834fe9d2be \
+                    sha256  77f0a039ac64df55fbd06af6f872fdbad4f639d009bbb5cd5cbe4db25690f35f
+
+depends_lib         port:zlib
+
+variant universal   {}
+
+use_configure       no
+
+build.pre_args-append   -f Makefile.unx
+build.args-append       CC="${configure.cc} [get_canonical_archflags cc]" \
+                        LD="${configure.cc} [get_canonical_archflags ld]" \
+                        ZLIB="${configure.ldflags} -lz" \
+                        ZINC="${configure.cppflags}"
+
+destroot {
+    xinstall -m 755 -W ${worksrcpath} pngcheck pngsplit png-fix-IDAT-windowsize ${destroot}${prefix}/bin
+
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
+}
+
+livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)


Property changes on: trunk/dports/graphics/pngcheck/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131127/45a68d70/attachment.html>


More information about the macports-changes mailing list