source: trunk/dports/print/ghostscript/Portfile @ 1206

Last change on this file since 1206 was 1206, checked in by jkh, 18 years ago

New ghostscript port. May need revision once we figure out why it
has some of the internal dependencies it has, but it seems to work in
any case so why not give folks the benefit of it.

Submitted by: Kevin Fyure <digdog@…>

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1PortSystem 1.0
2
3name            ghostscript
4version         7.04
5revision        0
6
7categories      print
8maintainers     digdog@mac.com
9description     AFPL Ghostscript, An interpreter for PostScript and PDF
10
11platforms       darwin freebsd
12master_sites    ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/:source \
13                http://www.gzip.org/zlib/:zlib \
14                http://www.libpng.org/pub/png/src/:libpng \
15                http://www.ijg.org/files/:jpeg
16dist_subdir     ${name}
17distfiles       ${distname}${extract.sufx}:source \
18                zlib-1.1.4${extract.sufx}:zlib \
19                libpng-1.2.5${extract.sufx}:libpng \
20                jpegsrc.v6b${extract.sufx}:jpeg
21checksums       ${distname}${extract.sufx} md5 03f287193d998c9cfaad3c25db9c7fa8 \
22                zlib-1.1.4${extract.sufx} md5 abc405d0bdd3ee22782d7aa20e440f08 \
23                libpng-1.2.5${extract.sufx} md5 0cec860559f2f5f7145da3c6851bacb7 \
24                jpegsrc.v6b${extract.sufx} md5 dbd5f3b47ed13132f04c685d608a7547
25
26worksrcdir      gs${version}
27pre-configure   { system "mv ${workpath}/zlib-1.1.4 ${workpath}/${worksrcdir}/zlib &&
28                          mv ${workpath}/libpng-1.2.5 ${workpath}/${worksrcdir}/libpng &&
29                          mv ${workpath}/jpeg-6b ${workpath}/${worksrcdir}/jpeg "
30                  system "cd ${workpath}/${worksrcdir} &&
31                          ln -sf src/configure.ac . &&
32                          ln -sf src/Makefile.in ." }
33use_autoconf    yes
34autoconf.dir    ${workpath}/${worksrcdir}
35build.target.all        {}
36include         contents
Note: See TracBrowser for help on using the repository browser.