source: trunk/dports/graphics/pngcheck/Portfile

Last change on this file was 141795, checked in by ryandesign@…, 23 months ago

bcrypt cloc deco deco-archive pngcheck scrypt thttpd: nomaintainer (#49492)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 141795 2015-10-28 21:10:09Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pngcheck
7version             2.3.0
8categories          graphics
9license             MIT GPL-2
10platforms           darwin
11maintainers         nomaintainer
12description         validate and inspect PNG, JNG and MNG files
13long_description    pngcheck verifies the integrity of PNG, JNG and MNG files \
14                    (by checking the internal 32-bit CRCs [checksums] and \
15                    decompressing the image data)\; it can optionally dump \
16                    almost all of the chunk-level information in the image in \
17                    human-readable form. For example, it can be used to print \
18                    the basic statistics about an image (dimensions, bit \
19                    depth, etc.)\; to list the color and transparency info in \
20                    its palette (assuming it has one)\; or to extract the \
21                    embedded text annotations. This is a command-line program \
22                    with batch capabilities.
23homepage            http://www.libpng.org/pub/png/apps/pngcheck.html
24master_sites        sourceforge:project/png-mng/pngcheck/${version}
25
26checksums           rmd160  6a132516eeaf787eefa4d02eaecb06834fe9d2be \
27                    sha256  77f0a039ac64df55fbd06af6f872fdbad4f639d009bbb5cd5cbe4db25690f35f
28
29depends_lib         port:zlib
30
31variant universal   {}
32
33use_configure       no
34
35build.pre_args-append   -f Makefile.unx
36build.args-append       CC="${configure.cc} [get_canonical_archflags cc]" \
37                        LD="${configure.cc} [get_canonical_archflags ld]" \
38                        ZLIB="${configure.ldflags} -lz" \
39                        ZINC="${configure.cppflags}"
40
41destroot {
42    xinstall -m 755 -W ${worksrcpath} pngcheck pngsplit png-fix-IDAT-windowsize ${destroot}${prefix}/bin
43
44    set docdir ${prefix}/share/doc/${subport}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
47}
48
49livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.