Changeset 36106


Ignore:
Timestamp:
Apr 18, 2008, 5:40:50 AM (11 years ago)
Author:
takanori@…
Message:

ghostscript:

  • Ghostscript.framework no longer uses system's zlib.
  • Remove dependency to zlib, because gs862 uses its own zlib.
  • Add dependency to pkgconfig just in case.
Location:
trunk/dports/print/ghostscript
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/ghostscript/Portfile

    r36088 r36106  
    55name            ghostscript
    66version         8.62
     7revision        1
    78categories      print
    89maintainers     takanori
     
    2728
    2829depends_lib     lib:libX11.6:XFree86 \
    29                 port:zlib \
     30                port:expat \
     31                port:fontconfig \
    3032                port:libiconv \
    31                 port:fontconfig \
    32                 port:expat
     33                port:pkgconfig
    3334
    3435post-patch {
     
    5253
    5354post-destroot {
    54     copy ${workpath}/fonts ${destroot}${prefix}/share/ghostscript/fonts
     55    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/fonts
     56    foreach f {*.afm *.gsf *.pfa *.pfb *.pfm fonts.dir fonts.scale} {
     57        eval xinstall -m 644 [glob ${workpath}/fonts/${f}] ${destroot}${prefix}/share/${name}/fonts
     58    }
     59    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}-fonts
     60    xinstall -m 644 -W ${workpath}/fonts COPYING ChangeLog README README.tweaks TODO ${destroot}${prefix}/share/doc/${name}-fonts
     61
     62    ln -s ../${name}/${version}/doc ${destroot}${prefix}/share/doc/${name}
    5563}
    5664
     
    6775# Added variant that build the Ghostscript framework. (Thanks, Sal!)
    6876variant framework description {build Ghostscript.framework} {
    69     depends_lib-delete  port:zlib
    70 
    7177    post-build {
    7278        move ${worksrcpath}/Makefile ${worksrcpath}/Makefile.CONFIGURE
  • trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff

    r31524 r36106  
    1 --- src/macosx.mak.orig 2007-11-10 06:18:04.000000000 +0900
    2 +++ src/macosx.mak      2007-11-24 02:24:40.000000000 +0900
     1--- src/macosx.mak.orig 2008-02-29 17:13:08.000000000 +0900
     2+++ src/macosx.mak      2008-04-18 14:11:09.000000000 +0900
    33@@ -54,7 +54,7 @@
    44 
     
    1010 bindir = $(exec_prefix)/bin
    1111 scriptdir = $(bindir)
     12@@ -169,7 +169,7 @@
     13 # what its name is (usually libz, but sometimes libgz).
     14 # See gs.mak and Make.htm for more information.
     15 
     16-SHARE_ZLIB=1
     17+SHARE_ZLIB=0
     18 #ZLIB_NAME=gz
     19 ZLIB_NAME=z
     20 
Note: See TracChangeset for help on using the changeset viewer.