1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name netpbm |
---|
4 | version 10.11.10 |
---|
5 | categories graphics |
---|
6 | maintainers norume@aps.anl.gov |
---|
7 | description Image manipulation |
---|
8 | long_description A whole bunch of utilities for primitive manipulation \ |
---|
9 | of graphic images. Wide array of converters from one \ |
---|
10 | graphics format to another. E.g. from g3 fax format to \ |
---|
11 | jpeg. Many basic graphics editing tools such as \ |
---|
12 | magnifying and cropping. |
---|
13 | homepage http://netpbm.sourceforge.net/ |
---|
14 | master_sites sourceforge:netpbm |
---|
15 | depends_lib lib:libzlib.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff lib:libpng.1:libpng |
---|
16 | extract.sufx .tgz |
---|
17 | checksums md5 4c057801d3c5bd116fda88a57cedb057 |
---|
18 | configure { |
---|
19 | system "cd ${worksrcpath} && |
---|
20 | cat Makefile.config.in ../../files/Makefile.config.darwin | |
---|
21 | sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config"; |
---|
22 | } |
---|
23 | install { |
---|
24 | system "rm -rf ${worksrcpath}/insttmp && |
---|
25 | cd ${worksrcpath} && |
---|
26 | make package pkgdir=${worksrcpath}/insttmp && |
---|
27 | ( cd ${worksrcpath}/insttmp/lib ; |
---|
28 | ln -s libnetpbm.${version}.dylib libnetpbm.dylib ) && |
---|
29 | ( cd ${worksrcpath}/insttmp ; |
---|
30 | tar cf - bin lib include man ) | ( cd ${destroot}${prefix} ; |
---|
31 | tar xf - )"; |
---|
32 | } |
---|