1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name ghostscript |
---|
5 | version 8.51 |
---|
6 | homepage http://www.cs.wisc.edu/~ghost/ |
---|
7 | description AFPL Ghostscript, An interpreter for PostScript and PDF |
---|
8 | categories print |
---|
9 | platforms darwin |
---|
10 | maintainers digdog@opendarwin.org |
---|
11 | |
---|
12 | master_sites sourceforge:${name}:source \ |
---|
13 | sourceforge:gs-fonts:fonts \ |
---|
14 | http://www.ijg.org/files/:jpeg \ |
---|
15 | sourceforge:libpng:libpng \ |
---|
16 | http://www.zlib.net/:zlib |
---|
17 | |
---|
18 | distfiles ${distname}.tar.gz:source \ |
---|
19 | ghostscript-fonts-std-8.11.tar.gz:fonts \ |
---|
20 | jpegsrc.v6b.tar.gz:jpeg \ |
---|
21 | libpng-1.2.8.tar.gz:libpng \ |
---|
22 | zlib-1.2.2.tar.gz:zlib |
---|
23 | |
---|
24 | checksums ${distname}.tar.gz md5 882a4cbe1704256f906e18e02c7b877b \ |
---|
25 | ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \ |
---|
26 | jpegsrc.v6b.tar.gz md5 dbd5f3b47ed13132f04c685d608a7547 \ |
---|
27 | libpng-1.2.8.tar.gz md5 cac1512878fb98f2456df6dc50bc9bc7 \ |
---|
28 | zlib-1.2.2.tar.gz md5 68bd51aaa6558c3bc3fd4890e53413de |
---|
29 | |
---|
30 | # Should be depends_extract, but that isn't implemented |
---|
31 | # To understand why doing this, please check official document: |
---|
32 | # http://www.ghostscript.com/doc/AFPL/8.00/Make.htm#Third-party_libraries |
---|
33 | post-extract {cd ${workpath} |
---|
34 | system "mv jpeg-6b ${distname}/jpeg" |
---|
35 | system "mv libpng-1.2.8 ${distname}/libpng" |
---|
36 | system "mv zlib-1.2.2 ${distname}/zlib" } |
---|
37 | |
---|
38 | build.target |
---|
39 | |
---|
40 | destroot.destdir prefix=${destroot}/${prefix} |
---|
41 | post-destroot { |
---|
42 | system "mkdir -p ${destroot}/${prefix}/share/ghostscript/" |
---|
43 | system "mv ${workpath}/fonts ${destroot}/${prefix}/share/ghostscript" } |
---|
44 | |
---|
45 | long_description Ghostscript is the well-known PostScript interpreter which \ |
---|
46 | is available for Ghostscript is the well-known PostScript \ |
---|
47 | interpreter which is available for all common and most \ |
---|
48 | esoteric platforms and supports many different printers \ |
---|
49 | and some displays. \ |
---|
50 | Versions entitled "AFPL Ghostscript" are distributed with \ |
---|
51 | a licence different from the GPL. |
---|