Ticket #487: Portfile

File Portfile, 1.9 KB (added by eric.norum@…, 22 years ago)

Portfile

Line 
1# $Id: $
2PortSystem 1.0
3name            netpbm
4version         10.14
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    http://umn.dl.sourceforge.net/sourceforge/netpbm/ \
15                http://unc.dl.sourceforge.net/sourceforge/netpbm/ \
16                http://telia.dl.sourceforge.net/sourceforge/netpbm/ \
17                http://easynews.dl.sourceforge.net/sourceforge/netpbm/ \
18                http://twtelecom.dl.sourceforge.net/sourceforge/netpbm/ \
19                http://belnet.dl.sourceforge.net/sourceforge/netpbm/ \
20                http://switch.dl.sourceforge.net/sourceforge/netpbm/ \
21                http://cesnet.dl.sourceforge.net/sourceforge/netpbm/
22depends_lib     lib:libzlib.1:zlib lib:libjpeg.6:jpeg lib:libtiff.3:tiff lib:libpng.1:libpng
23extract.sufx    .tgz
24checksums       md5 ed1f843e7baeacfe0e50a2ca9b64914c
25configure.cmd   cat Makefile.config.in ../../Makefile.config.darwin | sed -e '/@PREFIX@/s@@${prefix}@' >Makefile.config
26configure.pre_args 
27install.cmd     rm -rf ${workpath}/${worksrcdir}/insttmp && \
28                make package pkgdir=${workpath}/${worksrcdir}/insttmp && \
29                ( cd ${workpath}/${worksrcdir}/insttmp/lib \; \
30                         ln -s libnetpbm.${version}.dylib libnetpbm.dylib ) && \
31                ( cd ${workpath}/${worksrcdir}/insttmp \; \
32                  tar cf - bin lib include man ) |  ( cd ${prefix} \; tar xf - )
33install.pre_args 
34install.post_args 
35# include         contents