Ticket #7653: Portfile.diff

File Portfile.diff, 2.9 KB (added by takanori@…, 19 years ago)

Portfile.diff

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name        ghostscript
    5 version     8.51
     5version     8.53
    66homepage    http://www.cs.wisc.edu/~ghost/
    77description AFPL Ghostscript, An interpreter for PostScript and PDF
    88categories  print
     
    2121                ftp://ftp.uu.net/graphics/jpeg/:jpeg \
    2222                ftp://ftp.uunet.de/pub/graphics/jpeg/:jpeg \
    2323        sourceforge:libpng:libpng \
    24         http://www.zlib.net/:zlib
     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
    2527
    2628distfiles   ${distname}.tar.gz:source \
    2729        ghostscript-fonts-std-8.11.tar.gz:fonts \
     30        ghostscript-fonts-other-6.0.tar.gz:fonts \
    2831        jpegsrc.v6b.tar.gz:jpeg \
    2932        libpng-1.2.8.tar.gz:libpng \
    3033        zlib-1.2.3.tar.gz:zlib
    3134
    32 checksums   ${distname}.tar.gz md5 882a4cbe1704256f906e18e02c7b877b \
     35checksums   ${distname}.tar.gz md5 7b2fca7021a093ce593c04332bcbdfb2 \
    3336        ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
     37        ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272 \
    3438        jpegsrc.v6b.tar.gz md5 dbd5f3b47ed13132f04c685d608a7547 \
    3539        libpng-1.2.8.tar.gz md5 cac1512878fb98f2456df6dc50bc9bc7 \
    36         zlib-1.2.3.tar.gz md5 debc62758716a169df9f62e6ab2bc634
     40        zlib-1.2.3.tar.gz md5 debc62758716a169df9f62e6ab2bc634 \
     41        aj16.tar.Z md5 1d17e5f53d20ba8b8abcaeae3300aa26 \
     42        ag14.tar.Z md5 f9cad1b32e56f65339da26266f568e97 \
     43        ac15.tar.Z md5 a9d876f28dde1d4a0a6571eb0e281761 \
     44        ak12.tar.Z md5 ef1d6470cd9bdfed1399b922f12432da
     45
     46default_variants  +aj16 +ag14 +ac15 +ak12
    3747
    3848# Should be depends_extract, but that isn't implemented
    3949# To understand why doing this, please check official document:
     
    7989            file rename Makefile.CONFIGURE Makefile
    8090        }
    8191}
     92
     93# Adobe Japan 1-6 (Japanese) CMap support
     94variant aj16  {
     95        distfiles-append        aj16.tar.Z:cmap
     96        post-extract { eval file copy -force [glob ${workpath}/aj16/CMap/*] ${worksrcpath}/Resource/CMap/ }
     97}
     98
     99# Adobe GB 1-4 (Traditional Chinese) CMap support
     100variant ag14  {
     101        distfiles-append        ag14.tar.Z:cmap
     102        post-extract { eval file copy -force [glob ${workpath}/ag14/CMap/*] ${worksrcpath}/Resource/CMap/ }
     103}
     104
     105# Adobe CNS 1-5 (Simplified Chinese) CMap support
     106variant ac15  {
     107        distfiles-append        ac15.tar.Z:cmap
     108        post-extract { eval file copy -force [glob ${workpath}/ac15/CMap/*] ${worksrcpath}/Resource/CMap/ }
     109}
     110
     111# Adobe Korea 1-2 (Korean) CMap support
     112variant ak12  {
     113        distfiles-append        ak12.tar.Z:cmap
     114        post-extract { eval file copy -force [glob ${workpath}/ak12/CMap/*] ${worksrcpath}/Resource/CMap/ }
     115}