Ticket #9014: ghostscript.diff

File ghostscript.diff, 3.5 KB (added by takanori@…, 19 years ago)

ghostscript.diff

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name        ghostscript
    5 version     8.53
     5version     8.54
    66homepage    http://www.cs.wisc.edu/~ghost/
    77description AFPL Ghostscript, An interpreter for PostScript and PDF
    88categories  print
     
    1616        different from the GPL.
    1717
    1818master_sites    sourceforge:${name}:source \
    19         sourceforge:gs-fonts:fonts \
    20         http://www.ijg.org/files/:jpeg \
    21         ftp://ftp.uu.net/graphics/jpeg/:jpeg \
    22         ftp://ftp.uunet.de/pub/graphics/jpeg/:jpeg \
    23         sourceforge:libpng:libpng \
    24         http://www.zlib.net/:zlib \
    25         http://examples.oreilly.de/english_examples/nutshell/cjkv/adobe/:cmap \
    26         ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/:cmap \
    27         http://www.opendarwin.org/~takanori/mirror/ghostscript/:cmap
     19        sourceforge:gs-fonts:fonts
    2820
    2921distfiles   ${distname}.tar.gz:source \
    3022        ghostscript-fonts-std-8.11.tar.gz:fonts \
    31         ghostscript-fonts-other-6.0.tar.gz:fonts \
    32         jpegsrc.v6b.tar.gz:jpeg \
    33         libpng-1.2.8.tar.gz:libpng \
    34         zlib-1.2.3.tar.gz:zlib
     23        ghostscript-fonts-other-6.0.tar.gz:fonts
    3524
    36 checksums   ${distname}.tar.gz md5 7b2fca7021a093ce593c04332bcbdfb2 \
     25checksums   ${distname}.tar.gz md5 022c1f716b97da55bf06796466e913d5 \
    3726        ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
    38         ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272 \
    39         jpegsrc.v6b.tar.gz md5 dbd5f3b47ed13132f04c685d608a7547 \
    40         libpng-1.2.8.tar.gz md5 cac1512878fb98f2456df6dc50bc9bc7 \
    41         zlib-1.2.3.tar.gz md5 debc62758716a169df9f62e6ab2bc634 \
    42         aj16.tar.Z md5 b24ac1b6966adf3a92edaae42eda662c \
    43         ag14.tar.Z md5 f9cad1b32e56f65339da26266f568e97 \
    44         ac15.tar.Z md5 a9d876f28dde1d4a0a6571eb0e281761 \
    45         ak12.tar.Z md5 ef1d6470cd9bdfed1399b922f12432da
    46 
    47 default_variants  +aj16 +ag14 +ac15 +ak12
    48 
    49 # Should be depends_extract, but that isn't implemented
    50 # To understand why doing this, please check official document:
    51 # http://www.ghostscript.com/doc/AFPL/8.00/Make.htm#Third-party_libraries
    52 post-extract    {
    53         file copy ${workpath}/jpeg-6b ${workpath}/${distname}/jpeg
    54         file copy ${workpath}/libpng-1.2.8 ${workpath}/${distname}/libpng
    55         file copy ${workpath}/zlib-1.2.3 ${workpath}/${distname}/zlib
    56         }
     27        ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
    5728
    5829build.target
    5930
     
    8960            file delete Makefile
    9061            file rename Makefile.CONFIGURE Makefile
    9162        }
    92 }
    93 
    94 # Adobe Japan 1-6 (Japanese) CMap support
    95 variant aj16  {
    96         distfiles-append        aj16.tar.Z:cmap
    97         post-extract { eval file copy -force [glob ${workpath}/aj16/CMap/*] ${worksrcpath}/Resource/CMap/ }
    98 }
    99 
    100 # Adobe GB 1-4 (Traditional Chinese) CMap support
    101 variant ag14  {
    102         distfiles-append        ag14.tar.Z:cmap
    103         post-extract { eval file copy -force [glob ${workpath}/ag14/CMap/*] ${worksrcpath}/Resource/CMap/ }
    104 }
    105 
    106 # Adobe CNS 1-5 (Simplified Chinese) CMap support
    107 variant ac15  {
    108         distfiles-append        ac15.tar.Z:cmap
    109         post-extract { eval file copy -force [glob ${workpath}/ac15/CMap/*] ${worksrcpath}/Resource/CMap/ }
    110 }
    111 
    112 # Adobe Korea 1-2 (Korean) CMap support
    113 variant ak12  {
    114         distfiles-append        ak12.tar.Z:cmap
    115         post-extract { eval file copy -force [glob ${workpath}/ak12/CMap/*] ${worksrcpath}/Resource/CMap/ }
    11663}