Changeset 56038 for trunk/dports/print


Ignore:
Timestamp:
Aug 23, 2009, 5:27:46 PM (10 years ago)
Author:
takanori@…
Message:

ghostscript:

  • Version bump to 8.70.
  • From this version, libgs is built and installed by default.
  • Support for Ghostscript.framework (+framework) has been removed. Please use libgs.dylib instead.
  • In addition, gs now uses MP's libjpeg, not its own.
Location:
trunk/dports/print
Files:
1 added
5 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/ghostscript-fonts-hiragino/Portfile

    r46553 r56038  
    44
    55name            ghostscript-fonts-hiragino
    6 version         8.64
     6version         8.70
    77categories      print japanese
    88maintainers     takanori openmaintainer
  • trunk/dports/print/ghostscript/Portfile

    r49959 r56038  
    44
    55name            ghostscript
    6 version         8.64
    7 revision        3
     6version         8.70
    87categories      print
    98maintainers     takanori openmaintainer
     
    1918distfiles       ${distname}.tar.gz:source \
    2019                ghostscript-fonts-other-6.0.tar.gz:fonts
    21 patchfiles      patch-base_macos-fw.mak.diff \
    22                 patch-base_macosx.mak.diff \
    23                 patch-base_gdevbit.c.diff \
    24                 CVE-2009-0196.diff \
    25                 CVE-2009-0583,0584,0792.diff
    26 checksums       ${distname}.tar.gz rmd160 c0d5ab9a35cbc7311708ab91f0a4c47e332db121 \
     20patchfiles      patch-base_unix-dll.mak.diff
     21checksums       ${distname}.tar.gz rmd160 1516246b2a6b41650f2baeac8c7ae0fd88cfe43d \
    2722                ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f
    2823
     
    3227                port:expat \
    3328                port:fontconfig \
     29                port:jpeg \
    3430                port:libiconv \
     31                port:libpng \
    3532                port:zlib \
    3633                path:bin/perl:perl5
     
    3936                port:autoconf
    4037
     38post-extract {
     39    foreach d {zlib libpng jpeg} {
     40        move "${worksrcpath}/${d}" "${worksrcpath}/${d}_local"
     41    }
     42}
     43
    4144post-patch {
    42     foreach f {base/macosx.mak base/macos-fw.mak} {
    43         reinplace "s|@@FRAMEWORKS_DIR@@|${frameworks_dir}|" ${worksrcpath}/${f}
    44     }
     45    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/base/unix-dll.mak
    4546
    4647    # Ensure that MacPorts perl is used
     
    5960
    6061configure.args  --disable-compile-inits \
    61                 --disable-cups
     62                --disable-cups \
     63                --disable-gtk
    6264
    63 build.target
     65build.target        so
    6466use_parallel_build  no
    6567
     68destroot.target     soinstall
    6669post-destroot {
     70    system "strip ${destroot}${prefix}/bin/gsc ${destroot}${prefix}/bin/gsx"
     71    ln -s gsc ${destroot}${prefix}/bin/gs
     72
    6773    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/fonts
    6874    foreach f {*.afm *.gsf *.pfa *.pfm} {
     
    95101}
    96102
    97 variant framework description {Build and install Ghostscript.framework} {
    98     post-build {
    99         move ${worksrcpath}/Makefile ${worksrcpath}/Makefile.CONFIGURE
    100         ln -s ${worksrcpath}/base/macosx.mak ${worksrcpath}/Makefile
    101         system "cd ${worksrcpath} && make framework"
    102         delete ${worksrcpath}/Makefile
    103         move ${worksrcpath}/Makefile.CONFIGURE ${worksrcpath}/Makefile
    104 
    105         # COMPILE_INITS=0
    106         #copy ${worksrcpath}/Resource ${worksrcpath}/sobin/Ghostscript.framework/Versions/${version}/Resources
    107         #copy ${workpath}/fonts       ${worksrcpath}/sobin/Ghostscript.framework/Resources
    108     }
    109 
    110     post-destroot {
    111         xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks
    112         copy ${worksrcpath}/sobin/Ghostscript.framework ${destroot}${prefix}/Library/Frameworks
     103variant framework description {(removed)} {
     104    pre-fetch {
     105        ui_msg "IMPORTANT NOTICE: Support for Ghostscript.framework has been removed. Please use libgs.dylib instead. libgs is now installed by default."
    113106    }
    114107}
Note: See TracChangeset for help on using the changeset viewer.