[46553] trunk/dports/print

takanori at macports.org takanori at macports.org
Fri Feb 6 23:30:32 PST 2009


Revision: 46553
          http://trac.macports.org/changeset/46553
Author:   takanori at macports.org
Date:     2009-02-06 23:30:31 -0800 (Fri, 06 Feb 2009)
Log Message:
-----------
Ghostscript 8.64

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

Added Paths:
-----------
    trunk/dports/print/ghostscript/files/patch-base_macos-fw.mak.diff
    trunk/dports/print/ghostscript/files/patch-base_macosx.mak.diff

Removed Paths:
-------------
    trunk/dports/print/ghostscript/files/patch-src_macos-fw.mak.diff
    trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff
    trunk/dports/print/ghostscript/files/patch-src_unix-aux.mak.diff

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2009-02-06 21:52:13 UTC (rev 46552)
+++ trunk/dports/print/ghostscript/Portfile	2009-02-07 07:30:31 UTC (rev 46553)
@@ -3,8 +3,7 @@
 PortSystem      1.0
 
 name            ghostscript
-version         8.63
-revision        1
+version         8.64
 categories      print
 maintainers     takanori openmaintainer
 description     GPL Ghostscript, An interpreter for PostScript and PDF
@@ -19,12 +18,11 @@
 distfiles       ${distname}.tar.gz:source \
                 ghostscript-fonts-std-8.11.tar.gz:fonts \
                 ghostscript-fonts-other-6.0.tar.gz:fonts
-patchfiles      patch-src_macos-fw.mak.diff \
-                patch-src_macosx.mak.diff \
-                patch-src_unix-aux.mak.diff
-checksums       ${distname}.tar.gz md5 b22e689b237a6594d1ca408f2b55a891 \
-                ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
-                ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
+patchfiles      patch-base_macos-fw.mak.diff \
+                patch-base_macosx.mak.diff
+checksums       ${distname}.tar.gz rmd160 c0d5ab9a35cbc7311708ab91f0a4c47e332db121 \
+                ghostscript-fonts-std-8.11.tar.gz rmd160 10a19a10d0388bc084a7c1d3da845068d7169054 \
+                ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f
 
 depends_lib     port:xorg-libXext \
                 port:xorg-libXt \
@@ -36,10 +34,10 @@
                 path:bin/perl:perl5
 
 depends_build   port:pkgconfig \
-		port:autoconf
+                port:autoconf
 
 post-patch {
-    foreach f {src/macosx.mak src/macos-fw.mak} {
+    foreach f {base/macosx.mak base/macos-fw.mak} {
         reinplace "s|@@DESTROOT@@|${destroot}|" ${worksrcpath}/${f}
         reinplace "s|@@FRAMEWORKS_DIR@@|${frameworks_dir}|" ${worksrcpath}/${f}
     }
@@ -73,6 +71,9 @@
     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}
+
+    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
@@ -97,7 +98,7 @@
 variant framework description {Build and install Ghostscript.framework} {
     post-build {
         move ${worksrcpath}/Makefile ${worksrcpath}/Makefile.CONFIGURE
-        ln -s ${worksrcpath}/src/macosx.mak ${worksrcpath}/Makefile
+        ln -s ${worksrcpath}/base/macosx.mak ${worksrcpath}/Makefile
         system "cd ${worksrcpath} && make framework"
         delete ${worksrcpath}/Makefile
         move ${worksrcpath}/Makefile.CONFIGURE ${worksrcpath}/Makefile
@@ -106,7 +107,7 @@
     post-destroot {
         xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks
         move ${worksrcpath}/Makefile ${worksrcpath}/Makefile.CONFIGURE
-        ln -s ${worksrcpath}/src/macosx.mak ${worksrcpath}/Makefile
+        ln -s ${worksrcpath}/base/macosx.mak ${worksrcpath}/Makefile
         system "cd ${worksrcpath} && make framework_install"
         delete ${worksrcpath}/Makefile
         move ${worksrcpath}/Makefile.CONFIGURE ${worksrcpath}/Makefile

Added: trunk/dports/print/ghostscript/files/patch-base_macos-fw.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_macos-fw.mak.diff	                        (rev 0)
+++ trunk/dports/print/ghostscript/files/patch-base_macos-fw.mak.diff	2009-02-07 07:30:31 UTC (rev 46553)
@@ -0,0 +1,31 @@
+--- base/macos-fw.mak.orig	2007-06-06 07:23:38.000000000 +0900
++++ base/macos-fw.mak	2009-02-07 13:57:00.000000000 +0900
+@@ -67,8 +67,8 @@
+ # Build the small Ghostscript loaders
+ # it would be nice if we could link to the framework instead
+ 
+-$(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c
+-	$(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
++$(GSSOC_XE): $(GS_SO) $(PSSRC)dxmainc.c
++	$(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c -L$(BINDIR) -l$(GS)
+ 
+ # ------------------------- Recursive make targets ------------------------- #
+ 
+@@ -78,7 +78,7 @@
+ # a separate .dylib target if we're going to build them at all
+ # we should also be passing compatibility versions
+ 
+-SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -dynamiclib -install_name $(prefix)/$(FRAMEWORK_NAME)'\
++SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -dynamiclib -install_name @@FRAMEWORKS_DIR@@/$(FRAMEWORK_NAME)$(FRAMEWORK_EXT)/$(FRAMEWORK_NAME)'\
+  GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
+  STDIO_IMPLEMENTATION=c\
+  DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
+@@ -133,7 +133,7 @@
+ 	ln -s Versions/Current/doc . ;\
+ 	ln -s Versions/Current/$(FRAMEWORK_NAME) . )
+ 	pwd
+-	cp src/iapi.h src/ierrors.h src/gdevdsp.h $(GS_FRAMEWORK)/Headers/
++	cp psi/iapi.h psi/ierrors.h base/gdevdsp.h $(GS_FRAMEWORK)/Headers/
+ 	cp lib/Info-macos.plist $(GS_FRAMEWORK)/Resources/
+ 	cp -r lib $(GS_FRAMEWORK)/Resources/
+ 	cp $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(GS_FRAMEWORK)/Versions/Current/$(FRAMEWORK_NAME)

Added: trunk/dports/print/ghostscript/files/patch-base_macosx.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_macosx.mak.diff	                        (rev 0)
+++ trunk/dports/print/ghostscript/files/patch-base_macosx.mak.diff	2009-02-07 07:30:31 UTC (rev 46553)
@@ -0,0 +1,20 @@
+--- base/macosx.mak.orig	2008-10-03 04:33:22.000000000 +0900
++++ base/macosx.mak	2009-02-06 21:28:10.000000000 +0900
+@@ -54,7 +54,7 @@
+ 
+ FRAMEWORK_NAME=Ghostscript
+ FRAMEWORK_EXT=.framework
+-prefix = /Library/Frameworks/$(FRAMEWORK_NAME)$(FRAMEWORK_EXT)
++prefix = @@DESTROOT@@@@FRAMEWORKS_DIR@@/$(FRAMEWORK_NAME)$(FRAMEWORK_EXT)
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ scriptdir = $(bindir)
+@@ -159,7 +159,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
+ 

Deleted: trunk/dports/print/ghostscript/files/patch-src_macos-fw.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-src_macos-fw.mak.diff	2009-02-06 21:52:13 UTC (rev 46552)
+++ trunk/dports/print/ghostscript/files/patch-src_macos-fw.mak.diff	2009-02-07 07:30:31 UTC (rev 46553)
@@ -1,11 +0,0 @@
---- src/macos-fw.mak.orig	2007-06-06 07:23:38.000000000 +0900
-+++ src/macos-fw.mak	2007-11-24 02:24:12.000000000 +0900
-@@ -78,7 +78,7 @@
- # a separate .dylib target if we're going to build them at all
- # we should also be passing compatibility versions
- 
--SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -dynamiclib -install_name $(prefix)/$(FRAMEWORK_NAME)'\
-+SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -dynamiclib -install_name @@FRAMEWORKS_DIR@@/$(FRAMEWORK_NAME)$(FRAMEWORK_EXT)/$(FRAMEWORK_NAME)'\
-  GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
-  STDIO_IMPLEMENTATION=c\
-  DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\

Deleted: trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff	2009-02-06 21:52:13 UTC (rev 46552)
+++ trunk/dports/print/ghostscript/files/patch-src_macosx.mak.diff	2009-02-07 07:30:31 UTC (rev 46553)
@@ -1,20 +0,0 @@
---- 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
- FRAMEWORK_EXT=.framework
--prefix = /Library/Frameworks/$(FRAMEWORK_NAME)$(FRAMEWORK_EXT)
-+prefix = @@DESTROOT@@@@FRAMEWORKS_DIR@@/$(FRAMEWORK_NAME)$(FRAMEWORK_EXT)
- 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
- 

Deleted: trunk/dports/print/ghostscript/files/patch-src_unix-aux.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-src_unix-aux.mak.diff	2009-02-06 21:52:13 UTC (rev 46552)
+++ trunk/dports/print/ghostscript/files/patch-src_unix-aux.mak.diff	2009-02-07 07:30:31 UTC (rev 46553)
@@ -1,11 +0,0 @@
---- src/unix-aux.mak.orig	2008-02-29 17:13:08.000000000 +0900
-+++ src/unix-aux.mak	2008-03-05 14:53:19.000000000 +0900
-@@ -83,7 +83,7 @@
-  $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ)
- 
- $(MKROMFS_XE): $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS)
--	$(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE) $(MKROMFS_OBJS) -lm $(EXTRALIBS)
-+	$(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE) $(MKROMFS_OBJS) -lm $(EXTRALIBS) $(LDFLAGS)
- 
- # Query the environment to construct gconfig_.h.
- # The "else true;" is required because Ultrix's implementation of sh -e

Modified: trunk/dports/print/ghostscript-fonts-hiragino/Portfile
===================================================================
--- trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2009-02-06 21:52:13 UTC (rev 46552)
+++ trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2009-02-07 07:30:31 UTC (rev 46553)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            ghostscript-fonts-hiragino
-version         8.63
+version         8.64
 categories      print japanese
 maintainers     takanori openmaintainer
 description     Japanese Hiragino fonts for ghostscript ${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090206/1813fc18/attachment-0001.html>


More information about the macports-changes mailing list