Ticket #12648: libpng-1.2.19.diff
File libpng-1.2.19.diff, 1.8 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.0 3 PortSystem 1.0 4 4 5 name libpng 5 version 1.2.1 86 version 1.2.19 6 7 categories graphics 7 8 maintainers ryandesign waqar@macports.org 8 9 description Library for manipulating PNG images 10 9 11 long_description \ 10 12 Libpng was written as a companion to the PNG specification, as a \ 11 13 way to reduce the amount of time and effort it takes to support \ … … 15 17 attempts were made to make it as complete as possible, while \ 16 18 keeping the code easy to understand. Currently, this library \ 17 19 only supports C. Support for other languages is being considered. 20 18 21 platforms darwin openbsd freebsd sunos linux 19 22 homepage http://www.libpng.org/pub/png/ 20 23 use_bzip2 yes 21 24 master_sites sourceforge 22 checksums md5 25a7f2f101eaaf2eb18c4987e0fbe39d \23 sha1 42156e45fa999b242dc63c261e9253ce0dd810ab \24 rmd160 ea81056a896eb038fa5d7fde2b7fa626c1a2e31e25 25 26 depends_lib port:zlib 26 checksums md5 02aac1f1aecc096f6045676e977ec641 \ 27 sha1 681e94e43d2799715b7888fb495200f9b204849a \ 28 rmd160 f0e4facbc037f9259dedfe6eafc1f58f8cedc6a5 27 29 28 configure.args --mandir=${prefix}/share/man 30 depends_lib port:zlib 29 31 30 32 test.run yes 31 33 test.target check 32 34 33 35 post-destroot { 34 system "ranlib ${destroot}${prefix}/lib/libpng12.a" 35 xinstall -d -m 755 ${destroot}${prefix}/share/${name} 36 file copy ${worksrcpath}/example.c ${destroot}${prefix}/share/${name} 36 set docdir ${prefix}/share/doc/${name}-${version} 37 xinstall -d ${destroot}${docdir}/examples 38 xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES KNOWNBUG LICENSE README \ 39 TODO ${destroot}${docdir} 40 xinstall -m 0644 ${worksrcpath}/example.c ${destroot}${docdir}/examples 37 41 } 38 42 39 43 platform darwin 8 { 40 44 configure.compiler gcc-4.0 41 45 } 46