Ticket #12648: libpng-1.2.20.diff
File libpng-1.2.20.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. 186 version 1.2.20 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 8c186d9da3d011e2c3076b28f9c6be7b \ 27 sha1 3fc27faf224ea31a43771c214f2f903ea2e98b0d \ 28 rmd160 0934f9f304756e011c4f0d73ad95506e8663ccee 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