[66193] trunk/dports/print/ghostscript/Portfile
takanori at macports.org
takanori at macports.org
Tue Apr 6 17:58:57 PDT 2010
Revision: 66193
http://trac.macports.org/changeset/66193
Author: takanori at macports.org
Date: 2010-04-06 17:58:56 -0700 (Tue, 06 Apr 2010)
Log Message:
-----------
ghostscript:
- gs now uses libpaper to determine the default paper size.
- Support for building ppc64 binaries on PowerPC G5 based Macs. (#24380)
- Update CMap files to the newer version which can be obtained from
http://opensource.adobe.com/wiki/display/pdfmapping/Downloads
Modified Paths:
--------------
trunk/dports/print/ghostscript/Portfile
Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile 2010-04-07 00:54:35 UTC (rev 66192)
+++ trunk/dports/print/ghostscript/Portfile 2010-04-07 00:58:56 UTC (rev 66193)
@@ -4,7 +4,7 @@
name ghostscript
version 8.71
-revision 2
+revision 3
categories print
maintainers takanori openmaintainer
description GPL Ghostscript, An interpreter for PostScript and PDF
@@ -15,13 +15,18 @@
platforms darwin
homepage http://www.cs.wisc.edu/~ghost/
master_sites sourceforge:${name}:source \
- sourceforge:gs-fonts:fonts
+ sourceforge:gs-fonts:fonts \
+ macports:pTeX:misc
distfiles ${distname}.tar.gz:source \
- ghostscript-fonts-other-6.0.tar.gz:fonts
+ ghostscript-fonts-other-6.0.tar.gz:fonts \
+ mappingresources4pdf_2unicode-20091208.tar.Z:misc \
+ mappingresources4pdf_other-20091208.tar.Z:misc
patchfiles patch-base_unix-dll.mak.diff \
patch-base_stdpre.h.diff
checksums ${distname}.tar.gz rmd160 efce74cf22cf99b2b1a145df466e79a86e3dfefb \
- ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f
+ 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 \
@@ -30,6 +35,7 @@
port:fontconfig \
port:jpeg \
port:libiconv \
+ port:libpaper \
port:libpng \
port:tiff \
port:zlib \
@@ -41,6 +47,10 @@
foreach d {zlib libpng jpeg} {
move "${worksrcpath}/${d}" "${worksrcpath}/${d}_local"
}
+
+ move ${workpath}/MappingOther/Adobe-CNS1-ETen-B5 ${workpath}/MappingOther/Adobe-CNS1-ETenms-B5
+ eval copy -force [glob ${workpath}/ToUnicode/*] ${worksrcpath}/Resource/CMap
+ eval copy -force [glob ${workpath}/MappingOther/*] ${worksrcpath}/Resource/CMap
}
post-patch {
@@ -61,6 +71,9 @@
configure.cppflags-delete "-I${prefix}/include"
configure.cppflags-append "-isystem${prefix}/include"
+# Support for building ppc64 binaries. (#24380)
+configure.ldflags-append ${configure.cc_archflags}
+
# gs8.71: The default optimization flag (-O2) causes pdfwrite's strange 'Memory fault' problem.
# See also: http://bugs.ghostscript.com/show_bug.cgi?id=691005
configure.optflags -Os
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100406/f040d256/attachment.html>
More information about the macports-changes
mailing list