1 | # $Id: Portfile,v 1.4 2005/04/05 02:44:20 jmpp Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name netpbm |
---|
4 | version 10.26.7 |
---|
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 lib:libz.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff \ |
---|
18 | lib:libpng.1:libpng lib:libjasper:jasper |
---|
19 | extract.suffix .tgz |
---|
20 | checksums md5 ad584702b0f8893ee2b3a9a054f69188 |
---|
21 | |
---|
22 | patchfiles patch-lib-Makefile |
---|
23 | |
---|
24 | configure { |
---|
25 | system "cd ${worksrcpath} && |
---|
26 | cat Makefile.config.in ../../files/Makefile.config.darwin | |
---|
27 | sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config"; |
---|
28 | } |
---|
29 | |
---|
30 | build.target "" |
---|
31 | |
---|
32 | destroot { |
---|
33 | # netpbm has its own destroot-ish procedure. |
---|
34 | system "rm -rf ${destroot}${prefix} && |
---|
35 | cd ${worksrcpath} && |
---|
36 | make package pkgdir=${destroot}${prefix}" |
---|
37 | system "cd ${destroot}${prefix} && |
---|
38 | mkdir -p share/netpbm && |
---|
39 | mv misc/* share/netpbm && |
---|
40 | mv man share && |
---|
41 | rm -rf README VERSION link misc pkginfo share/man/web" |
---|
42 | } |
---|