1 | # $Id: Portfile,v 1.5 2005/04/09 22:29:11 jmpp Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name netpbm |
---|
4 | version 10.27 |
---|
5 | categories graphics |
---|
6 | maintainers yves@gnu-darwin.org |
---|
7 | description Image manipulation |
---|
8 | long_description \ |
---|
9 | A whole bunch of utilities for primitive manipulation \ |
---|
10 | of graphic images. Wide array of converters from one \ |
---|
11 | graphics format to another. E.g. from g3 fax format to \ |
---|
12 | jpeg. Many basic graphics editing tools such as \ |
---|
13 | magnifying and cropping. |
---|
14 | homepage http://netpbm.sourceforge.net/ |
---|
15 | master_sites sourceforge:netpbm |
---|
16 | platforms darwin |
---|
17 | depends_lib port:zlib port:jpeg port:tiff \ |
---|
18 | port:libpng port:jasper |
---|
19 | extract.suffix .tgz |
---|
20 | checksums md5 c5efd105d1b7fb4685f60a39b230e880 |
---|
21 | |
---|
22 | patchfiles patch-converter-other-Makefile patch-lib-Makefile |
---|
23 | |
---|
24 | configure { |
---|
25 | system "cd ${worksrcpath} && |
---|
26 | cat Makefile.config.in ${filespath}/Makefile.config.darwin | |
---|
27 | sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config"; |
---|
28 | } |
---|
29 | |
---|
30 | build.target "" |
---|
31 | |
---|
32 | destroot { |
---|
33 | system "rm -rf ${destroot}${prefix} && |
---|
34 | cd ${worksrcpath} && |
---|
35 | make package pkgdir=${destroot}${prefix}" |
---|
36 | system "cd ${destroot}${prefix} && |
---|
37 | mkdir -p share/netpbm && |
---|
38 | mv misc/* share/netpbm && |
---|
39 | mv man share && |
---|
40 | rm -rf README VERSION config_template link misc pkginfo share/man/web" |
---|
41 | } |
---|