[77485] trunk/dports/print

takanori at macports.org takanori at macports.org
Thu Mar 31 23:08:19 PDT 2011


Revision: 77485
          http://trac.macports.org/changeset/77485
Author:   takanori at macports.org
Date:     2011-03-31 23:08:17 -0700 (Thu, 31 Mar 2011)
Log Message:
-----------
ghostscript:
 - Version bump to 9.02. (#28995)
 - Use SourceForge mirrors for MappingResources4PDF.
 - Fixed broken livecheck.
 - Changed the optimization flag to -O0 to avoid strange runtime error. ;-(
 - Misc fixes.

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile
    trunk/dports/print/ghostscript-fonts-hiragino/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2011-04-01 05:57:12 UTC (rev 77484)
+++ trunk/dports/print/ghostscript/Portfile	2011-04-01 06:08:17 UTC (rev 77485)
@@ -4,7 +4,7 @@
 PortGroup       muniversal 1.0
 
 name            ghostscript
-version         9.01
+version         9.02
 categories      print
 maintainers     takanori openmaintainer
 description     GPL Ghostscript, An interpreter for PostScript and PDF
@@ -16,31 +16,45 @@
 homepage        http://www.cs.wisc.edu/~ghost/
 master_sites    sourceforge:${name}:source \
                 sourceforge:gs-fonts:fonts \
-                macports:pTeX:misc
+                sourceforge:mapping-for-pdf.adobe:misc
+set mrversion   20091116
 distfiles       ${distname}.tar.gz:source \
                 ghostscript-fonts-other-6.0.tar.gz:fonts \
-                mappingresources4pdf_2unicode-20091208.tar.Z:misc \
-                mappingresources4pdf_other-20091208.tar.Z:misc
+                mappingresources4pdf_2unicode_${mrversion}.tar.Z:misc \
+                mappingresources4pdf_other_${mrversion}.tar.Z:misc
 patchfiles      patch-base_unix-dll.mak.diff \
                 patch-base_stdpre.h.diff \
                 patch-base_unixinst.mak.diff
-checksums       ${distname}.tar.gz rmd160 0cbdf085d589cfae2cc35cc9ebba5190d1408a76 \
-                ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \
-                mappingresources4pdf_2unicode-20091208.tar.Z rmd160 bc1b86e6a5f0e022f88070195eb3e01e167114a7 \
-                mappingresources4pdf_other-20091208.tar.Z    rmd160 1e2ea9af6be8b60c9a54963e542fa06ceb2daccd
 
-depends_lib     port:xorg-libXext \
-                port:xorg-libXt \
-                port:expat \
+checksums           ${distname}.tar.gz \
+                    md5     86cc3a0509c0d96a641d58879d54274b \
+                    sha1    1d8831e0dc23c658fe43c971ff1195507e1b3786 \
+                    rmd160  5e5aaf1b3d9be0c0689706956eb5d2a043ad1295 \
+                    ghostscript-fonts-other-6.0.tar.gz \
+                    md5     1a643ae62ef166562e4d422b1a601272 \
+                    sha1    da62dfcb9c10d96743c7e30c1eebe7166489798c \
+                    rmd160  ab60dbf71e7d91283a106c3df381cadfe173082f \
+                    mappingresources4pdf_2unicode_${mrversion}.tar.Z \
+                    md5     59267a7d0b818267c8ce85d1dbc4479a \
+                    sha1    aaf44cb1e5dd2043c932e641b0e41432aee2ca0d \
+                    rmd160  bc1b86e6a5f0e022f88070195eb3e01e167114a7 \
+                    mappingresources4pdf_other_${mrversion}.tar.Z \
+                    md5     202fa0a291fc1f5b50cfa239106c1b92 \
+                    sha1    fc4eabff932c1623f7ee0a34085e79a44d51d0e5 \
+                    rmd160  1e2ea9af6be8b60c9a54963e542fa06ceb2daccd
+
+depends_lib     port:expat \
                 port:fontconfig \
                 port:jpeg \
                 port:libiconv \
                 port:libidn \
                 port:libpaper \
                 port:libpng \
+                port:perl5 \
                 port:tiff \
-                port:zlib \
-                path:bin/perl:perl5
+                port:xorg-libXext \
+                port:xorg-libXt \
+                port:zlib
 
 depends_build   port:pkgconfig
 
@@ -73,7 +87,7 @@
 configure.cppflags-append       "-isystem${prefix}/include"
 
 # gs9.xx: The default optimization flag (-O2) causes pdfwrite's strange 'passed invalid object' problem.
-configure.optflags  -Os
+configure.optflags  -O0
 
 configure.args  --disable-compile-inits \
                 --disable-cups \
@@ -96,13 +110,8 @@
 
     xinstall -m 755 -d ${destroot}${prefix}/share/doc
     ln -s ../${name}/${version}/doc ${destroot}${prefix}/share/doc/${name}
-
-    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/${version}/examples/cjk
-    eval xinstall -m 644 [glob ${worksrcpath}/examples/cjk/*.ps] ${destroot}${prefix}/share/${name}/${version}/examples/cjk
 }
 
-livecheck.distname      GPL Ghostscript
-
 configure.universal_args-delete --disable-dependency-tracking
 
 variant no_x11 {
@@ -120,5 +129,5 @@
 }
 
 livecheck.type  regex
-livecheck.url   http://ghostscript.com/releases/
+livecheck.url   http://downloads.ghostscript.com/public/
 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

Modified: trunk/dports/print/ghostscript-fonts-hiragino/Portfile
===================================================================
--- trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2011-04-01 05:57:12 UTC (rev 77484)
+++ trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2011-04-01 06:08:17 UTC (rev 77485)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            ghostscript-fonts-hiragino
-version         9.01
+version         9.02
 categories      print japanese chinese
 maintainers     takanori openmaintainer
 description     Hiragino font for ghostscript ${version}
@@ -42,7 +42,7 @@
                       "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf"        HiraMaruProN-W4    Adobe-Japan1 {}
                       "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf" HiraMinProN-W3     Adobe-Japan1 {}
                       "/System/Library/Fonts/ヒラギノ明朝 ProN W6.otf" HiraMinProN-W6     Adobe-Japan1 {}}
-        if {${os.platform} == "darwin" && ${os.major} == 10} {
+        if {${os.platform} == "darwin" && (${os.major} == 10 || ${os.major} == 11)} {
             lappend FontList \
                       "/Library/Fonts/Hiragino Sans GB W3.otf"         HiraginoSansGB-W3  Adobe-GB1    {} \
                       "/Library/Fonts/Hiragino Sans GB W6.otf"         HiraginoSansGB-W6  Adobe-GB1    {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110331/9894c3d7/attachment.html>


More information about the macports-changes mailing list