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

Last change on this file since 12726 was 12726, checked in by yves, 15 years ago

Rev 1 : maintainer email and build.target updated
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.7 2005/06/19 00:09:28 yves Exp $
2PortSystem 1.0
3name            netpbm
4version         10.27
5revision        1
6categories      graphics
7maintainers     yves@opendarwin.org
8description     Image manipulation
9long_description \
10    A whole bunch of utilities for primitive manipulation \
11    of graphic images.  Wide array of converters from one \
12    graphics format to another.  E.g. from g3 fax format to \
13    jpeg.  Many basic graphics editing tools such as \
14    magnifying and cropping.
15
16homepage        http://netpbm.sourceforge.net/
17master_sites    sourceforge:netpbm
18platforms       darwin
19
20depends_lib     port:zlib port:jpeg port:tiff \
21                port:libpng port:jasper
22extract.suffix  .tgz
23checksums       md5 c5efd105d1b7fb4685f60a39b230e880
24
25patchfiles      patch-converter-other-Makefile patch-lib-Makefile
26
27configure {
28    system "cd ${worksrcpath} &&
29        cat Makefile.config.in ${filespath}/Makefile.config.darwin |
30        sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config";
31}
32
33build.target    "messages=yes"
34
35destroot {
36    file delete -force ${destroot}${prefix}
37    system "cd ${worksrcpath} && make package pkgdir=${destroot}${prefix}"
38    xinstall -m 755 -d ${destroot}${prefix}/share/netpbm
39    system "cd ${destroot}${prefix} &&
40        mv misc/* share/netpbm &&
41        mv man share &&
42        rm -rf README VERSION config_template link misc pkginfo share/man/web"
43}
Note: See TracBrowser for help on using the repository browser.