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

Last change on this file since 11723 was 11723, checked in by jmpp, 15 years ago

Bug: 2859, 2852
Submitted by: yves@…
Reviewed by: jmpp@
Approved by: jmpp@

Update the port to version 10.26.7, assign mantainership to Yves, add "patch-lib-Makefile" patchfile.
Also, fix broken symlink reported in bug #2852.
Portfile committed with minor change:

"cat Makefile.config.in ${filespath}/Makefile.config.darwin" replaced by:
"cat Makefile.config.in ../../files/Makefile.config.darwin"

Relative paths should never be used in Portfiles.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.5 2005/04/09 22:29:11 jmpp Exp $
2PortSystem 1.0
3name            netpbm
4version         10.26.7
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     lib:libz.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff \
18                lib:libpng.1:libpng lib:libjasper:jasper
19extract.suffix  .tgz
20checksums       md5 ad584702b0f8893ee2b3a9a054f69188
21
22patchfiles      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        # 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}
Note: See TracBrowser for help on using the repository browser.