[36106] trunk/dports/print/ghostscript
takanori at macports.org
takanori at macports.org
Thu Apr 17 22:40:50 PDT 2008
Revision: 36106
http://trac.macosforge.org/projects/macports/changeset/36106
Author: takanori at macports.org
Date: 2008-04-17 22:40:50 -0700 (Thu, 17 Apr 2008)
Log 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.
Modified Paths:
--------------
trunk/dports/print/ghostscript/Portfile
trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff
Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile 2008-04-18 05:36:15 UTC (rev 36105)
+++ trunk/dports/print/ghostscript/Portfile 2008-04-18 05:40:50 UTC (rev 36106)
@@ -4,6 +4,7 @@
name ghostscript
version 8.62
+revision 1
categories print
maintainers takanori
description GPL Ghostscript, An interpreter for PostScript and PDF
@@ -26,10 +27,10 @@
ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
depends_lib lib:libX11.6:XFree86 \
- port:zlib \
+ port:expat \
+ port:fontconfig \
port:libiconv \
- port:fontconfig \
- port:expat
+ port:pkgconfig
post-patch {
foreach f {src/macosx.mak src/macos-fw.mak} {
@@ -51,7 +52,14 @@
build.target
post-destroot {
- copy ${workpath}/fonts ${destroot}${prefix}/share/ghostscript/fonts
+ xinstall -m 755 -d ${destroot}${prefix}/share/${name}/fonts
+ foreach f {*.afm *.gsf *.pfa *.pfb *.pfm fonts.dir fonts.scale} {
+ eval xinstall -m 644 [glob ${workpath}/fonts/${f}] ${destroot}${prefix}/share/${name}/fonts
+ }
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}-fonts
+ xinstall -m 644 -W ${workpath}/fonts COPYING ChangeLog README README.tweaks TODO ${destroot}${prefix}/share/doc/${name}-fonts
+
+ ln -s ../${name}/${version}/doc ${destroot}${prefix}/share/doc/${name}
}
livecheck.distname GPL Ghostscript
@@ -66,8 +74,6 @@
# Added variant that build the Ghostscript framework. (Thanks, Sal!)
variant framework description {build Ghostscript.framework} {
- depends_lib-delete port:zlib
-
post-build {
move ${worksrcpath}/Makefile ${worksrcpath}/Makefile.CONFIGURE
ln -s ${worksrcpath}/src/macosx.mak ${worksrcpath}/Makefile
Modified: trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff 2008-04-18 05:36:15 UTC (rev 36105)
+++ trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff 2008-04-18 05:40:50 UTC (rev 36106)
@@ -1,5 +1,5 @@
---- src/macosx.mak.orig 2007-11-10 06:18:04.000000000 +0900
-+++ src/macosx.mak 2007-11-24 02:24:40.000000000 +0900
+--- src/macosx.mak.orig 2008-02-29 17:13:08.000000000 +0900
++++ src/macosx.mak 2008-04-18 14:11:09.000000000 +0900
@@ -54,7 +54,7 @@
FRAMEWORK_NAME=Ghostscript
@@ -9,3 +9,12 @@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
+@@ -169,7 +169,7 @@
+ # what its name is (usually libz, but sometimes libgz).
+ # See gs.mak and Make.htm for more information.
+
+-SHARE_ZLIB=1
++SHARE_ZLIB=0
+ #ZLIB_NAME=gz
+ ZLIB_NAME=z
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080417/bbdac7f6/attachment.html
More information about the macports-changes
mailing list