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

Last change on this file since 3274 was 3274, checked in by fenner, 17 years ago

netpbm 10.11.10

A whole bunch of utilities for primitive manipulation
of graphic images. Wide array of converters from one
graphics format to another. E.g. from g3 fax format to
jpeg. Many basic graphics editing tools such as
magnifying and cropping.

The submitted port was for 10.14 . I started out by
trying to port 10.17, which is the most recent on the
development branch. However, the build scheme for 10.17
was pretty problematic, so I backed off to the "stable"
branch, 10.11.x, where 10.11.10 is the latest release.

Bug: 487
Submitted by: eric.norum@… (Eric Norum)

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.1 2003/08/17 18:43:34 fenner Exp $
2PortSystem 1.0
3name            netpbm
4version         10.11.10
5categories      graphics
6maintainers     norume@aps.anl.gov
7description     Image manipulation
8long_description    A whole bunch of utilities for primitive manipulation \
9                    of graphic images.  Wide array of converters from one \
10                    graphics format to another.  E.g. from g3 fax format to \
11                    jpeg.  Many basic graphics editing tools such as \
12                    magnifying and cropping.
13homepage        http://netpbm.sourceforge.net/
14master_sites    sourceforge:netpbm
15platforms       darwin
16depends_lib     lib:libzlib.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff \
17                lib:libpng.1:libpng
18extract.sufx    .tgz
19checksums       md5 4c057801d3c5bd116fda88a57cedb057
20configure {
21        system "cd ${worksrcpath} &&
22                cat Makefile.config.in ../../files/Makefile.config.darwin |
23                    sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config";
24}
25destroot {
26        # netpbm has its own destroot-ish procedure.
27        # unfortunately, it doesn't want the darwinports destroot
28        # since it doesn't want anything to exist, including
29        # directories.  So, we let netpbm build its destroot-like
30        # area and then copy that into the port's destroot.
31        system "rm -rf ${worksrcpath}/insttmp &&
32                cd ${worksrcpath} &&
33                make package pkgdir=${worksrcpath}/insttmp &&
34                ( cd ${worksrcpath}/insttmp/lib ;
35                          ln -s libnetpbm.${version}.dylib libnetpbm.dylib ) &&
36                ( cd ${worksrcpath}/insttmp ;
37                  tar cf - bin lib include man ) | ( cd ${destroot}${prefix} ;
38                                                     tar xf - )";
39}
Note: See TracBrowser for help on using the repository browser.