source: trunk/dports/graphics/libpng/Portfile

Last change on this file was 154195, checked in by ryandesign@…, 9 months ago

libpng: Update to 1.6.26

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 154195 2016-10-24 02:46:03Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    libpng
7version                 1.6.26
8set branch              [join [lrange [split ${version} .] 0 1] ""]
9categories              graphics
10maintainers             ryandesign
11license                 zlib
12platforms               darwin openbsd freebsd sunos linux
13homepage                http://www.libpng.org/pub/png/libpng.html
14use_xz                  yes
15
16description             Library for manipulating PNG images
17
18long_description        Libpng was written as a companion to the PNG \
19                        specification, as a way to reduce the amount of time \
20                        and effort it takes to support the PNG file format in \
21                        application programs. Most users will not have to \
22                        modify the library significantly, advanced users may \
23                        want to modify it more. The library was coded for \
24                        both users. All attempts were made to make it as \
25                        complete as possible, while keeping the code easy to \
26                        understand. Currently, this library only supports C. \
27                        Support for other languages is being considered.
28
29master_sites            sourceforge:project/${name}/${name}${branch}/${version} \
30                        ftp://ftp.simplesystems.org/pub/libpng/png/src/${name}${branch}/
31
32checksums               rmd160  9139502d8d4d00d6637b5a363ba97040f5153dc9 \
33                        sha256  266743a326986c3dbcee9d89b640595f6b16a293fd02b37d8c91348d317b73f9
34
35depends_lib             port:zlib
36
37patchfiles              nawk.patch
38
39use_parallel_build      yes
40
41test.run                yes
42test.target             check
43
44post-destroot {
45    set docdir ${prefix}/share/doc/${subport}
46    xinstall -d ${destroot}${docdir}/examples
47    xinstall -m 0644 -W ${worksrcpath} \
48        ANNOUNCE \
49        CHANGES \
50        LICENSE \
51        README \
52        TODO \
53        ${destroot}${docdir}
54    xinstall -m 0644 ${worksrcpath}/example.c ${destroot}${docdir}/examples
55}
56
57livecheck.type          regexm
58livecheck.regex         {Current.+?version.+?<B>([0-9.]+)</B>}
Note: See TracBrowser for help on using the repository browser.