source: trunk/dports/graphics/netpbm/Portfile @ 12398

Last change on this file since 12398 was 12398, checked in by mww, 15 years ago

Bug: #3107
Submitted by: yves@…
Reviewed by: mww@

update to 10.27, fix tigger build

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.6 2005/05/25 10:52:00 mww Exp $
2PortSystem 1.0
3name            netpbm
4version                 10.27
5categories      graphics
6maintainers     yves@gnu-darwin.org
7description     Image manipulation
8long_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.
14homepage        http://netpbm.sourceforge.net/
15master_sites    sourceforge:netpbm
16platforms               darwin
17depends_lib     port:zlib port:jpeg port:tiff \
18                                port:libpng port:jasper
19extract.suffix  .tgz
20checksums               md5 c5efd105d1b7fb4685f60a39b230e880
21
22patchfiles              patch-converter-other-Makefile patch-lib-Makefile
23
24configure {
25        system "cd ${worksrcpath} &&
26                cat Makefile.config.in ${filespath}/Makefile.config.darwin |
27                    sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config";
28}
29
30build.target    ""
31
32destroot {
33        file delete -force ${destroot}${prefix}
34        system "cd ${worksrcpath} && make package pkgdir=${destroot}${prefix}"
35        xinstall -m 755 -d ${destroot}${prefix}/share/netpbm
36        system  "cd ${destroot}${prefix} &&
37                mv misc/* share/netpbm &&
38                mv man share &&
39                rm -rf README VERSION config_template link misc pkginfo share/man/web"
40}
Note: See TracBrowser for help on using the repository browser.