[28014] trunk/dports/print/ghostscript-fonts-hiragino/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 17 22:33:33 PDT 2007


Revision: 28014
          http://trac.macosforge.org/projects/macports/changeset/28014
Author:   takanori at macports.org
Date:     2007-08-17 22:33:33 -0700 (Fri, 17 Aug 2007)

Log Message:
-----------
ghostscript @8.60 is out.

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

Modified: trunk/dports/print/ghostscript-fonts-hiragino/Portfile
===================================================================
--- trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2007-08-18 01:25:09 UTC (rev 28013)
+++ trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2007-08-18 05:33:33 UTC (rev 28014)
@@ -1,53 +1,63 @@
 # $Id$
 
-PortSystem        1.0
-name              ghostscript-fonts-hiragino
-version           8.54
-revision	  1
-categories        print japanese
-maintainers       takanori at macports.org
-description       Japanese Hiragino fonts for ghostscript ${version}
-long_description  ${description}
-platforms         macosx
-homepage	  
-master_sites      
-distfiles         
-depends_lib       port:ghostscript
+PortSystem      1.0
+name            ghostscript-fonts-hiragino
+version         8.60
+categories      print japanese
+maintainers     takanori at macports.org
+description     Japanese Hiragino fonts for ghostscript ${version}
+long_description \
+                ${description}
+platforms       macosx
+homepage
+master_sites
+distfiles
+depends_lib     port:ghostscript
 
-configure	  {}
-build		  {}
-destroot	  {
-		  set SystemLibraryFontsDir /System/Library/Fonts
-		  set GSFontDir ${destroot}${prefix}/share/ghostscript/${version}/Resource/Font
-		  set GSCIDFontDir ${destroot}${prefix}/share/ghostscript/${version}/Resource/CIDFont
-		  set FontList {"ヒラギノ角ゴ Pro W3.otf" HiraKakuPro-W3 {GothicBBB-Medium}
-		      	        "ヒラギノ角ゴ Pro W6.otf" HiraKakuPro-W6 {FutoGoB101-Bold}
-				"ヒラギノ角ゴ Std W8.otf" HiraKakuStd-W8 {}
-				"ヒラギノ丸ゴ Pro W4.otf" HiraMaruPro-W4 {Jun101-Light}
-				"ヒラギノ明朝 Pro W3.otf" HiraMinPro-W3 {Ryumin-Light}
-				"ヒラギノ明朝 Pro W6.otf" HiraMinPro-W6 {FutoMinA101-Bold}}
-		  set EncodeList {78-EUC-H 78-EUC-V 78-H 78-RKSJ-H 78-RKSJ-V 78-V 78ms-RKSJ-H 78ms-RKSJ-V 83pv-RKSJ-H 90ms-RKSJ-H 90ms-RKSJ-UCS2 90ms-RKSJ-V 90msp-RKSJ-H 90msp-RKSJ-V 90pv-RKSJ-H 90pv-RKSJ-UCS2 90pv-RKSJ-UCS2C 90pv-RKSJ-V Add-H Add-RKSJ-H Add-RKSJ-V Add-V Adobe-Japan1-0 Adobe-Japan1-1 Adobe-Japan1-2 Adobe-Japan1-3 Adobe-Japan1-4 Adobe-Japan1-5 Adobe-Japan1-6 Adobe-Japan1-90ms-RKSJ Adobe-Japan1-90pv-RKSJ Adobe-Japan1-H-CID Adobe-Japan1-H-Host Adobe-Japan1-H-Mac Adobe-Japan1-PS-H Adobe-Japan1-PS-V Adobe-Japan1-UCS2 Adobe-Japan2-0 EUC-H EUC-V Ext-H Ext-RKSJ-H Ext-RKSJ-V Ext-V H Hankaku Hiragana Hojo-EUC-H Hojo-EUC-V Hojo-H Hojo-RKSJ-H Hojo-V Katakana NWP-H NWP-V RKSJ-H RKSJ-V Roman UniHojo-UCS2-H UniHojo-UCS2-V UniHojo-UTF16-H UniHojo-UTF16-V UniHojo-UTF32-H UniHojo-UTF32-V UniHojo-UTF8-H UniHojo-UTF8-V UniJIS-UCS2-H UniJIS-UCS2-HW-H UniJIS-UCS2-HW-V UniJIS-UCS2-V UniJIS-UTF16-H UniJIS-UTF16-V UniJIS-UTF32-H UniJIS-UTF32-V UniJIS-UTF8-H UniJIS-UTF8-V UniJISPro-UCS2-HW-V UniJI
 SPro-UCS2-V UniJISPro-UTF8-V UniJISX0213-UTF32-H UniJISX0213-UTF32-V V WP-Symbol}
+configure {}
+build {}
+destroot {
+    if {[variant_isset darwin_9]} {
+        set SystemLibraryFontsDir /Library/Fonts
+    } else {
+        set SystemLibraryFontsDir /System/Library/Fonts
+    }
+    set GSFontDir ${destroot}${prefix}/share/ghostscript/${version}/Resource/Font
+    set GSCIDFontDir ${destroot}${prefix}/share/ghostscript/${version}/Resource/CIDFont
+    set FontList {"ヒラギノ角ゴ Pro W3.otf" HiraKakuPro-W3 {GothicBBB-Medium}
+                  "ヒラギノ角ゴ Pro W6.otf" HiraKakuPro-W6 {FutoGoB101-Bold}
+                  "ヒラギノ角ゴ Std W8.otf" HiraKakuStd-W8 {}
+                  "ヒラギノ丸ゴ Pro W4.otf" HiraMaruPro-W4 {Jun101-Light}
+                  "ヒラギノ明朝 Pro W3.otf" HiraMinPro-W3 {Ryumin-Light}
+                  "ヒラギノ明朝 Pro W6.otf" HiraMinPro-W6 {FutoMinA101-Bold}}
+    set EncodeList {78-EUC-H 78-EUC-V 78-H 78-RKSJ-H 78-RKSJ-V 78-V 78ms-RKSJ-H 78ms-RKSJ-V 83pv-RKSJ-H 90ms-RKSJ-H 90ms-RKSJ-UCS2 90ms-RKSJ-V 90msp-RKSJ-H 90msp-RKSJ-V 90pv-RKSJ-H 90pv-RKSJ-UCS2 90pv-RKSJ-UCS2C 90pv-RKSJ-V Add-H Add-RKSJ-H Add-RKSJ-V Add-V Adobe-Japan1-0 Adobe-Japan1-1 Adobe-Japan1-2 Adobe-Japan1-3 Adobe-Japan1-4 Adobe-Japan1-5 Adobe-Japan1-6 Adobe-Japan1-90ms-RKSJ Adobe-Japan1-90pv-RKSJ Adobe-Japan1-H-CID Adobe-Japan1-H-Host Adobe-Japan1-H-Mac Adobe-Japan1-PS-H Adobe-Japan1-PS-V Adobe-Japan1-UCS2 Adobe-Japan2-0 EUC-H EUC-V Ext-H Ext-RKSJ-H Ext-RKSJ-V Ext-V H Hankaku Hiragana Hojo-EUC-H Hojo-EUC-V Hojo-H Hojo-RKSJ-H Hojo-V Katakana NWP-H NWP-V RKSJ-H RKSJ-V Roman UniHojo-UCS2-H UniHojo-UCS2-V UniHojo-UTF16-H UniHojo-UTF16-V UniHojo-UTF32-H UniHojo-UTF32-V UniHojo-UTF8-H UniHojo-UTF8-V UniJIS-UCS2-H UniJIS-UCS2-HW-H UniJIS-UCS2-HW-V UniJIS-UCS2-V UniJIS-UTF16-H UniJIS-UTF16-V UniJIS-UTF32-H UniJIS-UTF32-V UniJIS-UTF8-H UniJIS-UTF8-V UniJISPro-UCS2-HW-V UniJI
 SPro-UCS2-V UniJISPro-UTF8-V UniJISX0213-UTF32-H UniJISX0213-UTF32-V V WP-Symbol}
 
-		  xinstall -m 755 -d ${GSFontDir}
-		  xinstall -m 755 -d ${GSCIDFontDir}
+    xinstall -m 755 -d ${GSFontDir}
+    xinstall -m 755 -d ${GSCIDFontDir}
 
-		  foreach {file font aliases} ${FontList} {
-			if {![file exists ${SystemLibraryFontsDir}/${file}]} {
-                           return -code error "Please place \"${file}\" in ${SystemLibraryFontsDir} and restart the build."
-                        }
+    foreach {file font aliases} ${FontList} {
+        if {![file exists ${SystemLibraryFontsDir}/${file}]} {
+            return -code error "Please place \"${file}\" in ${SystemLibraryFontsDir} and restart the build."
+        }
 
-			system "ln -s \"${SystemLibraryFontsDir}/${file}\" ${GSCIDFontDir}/${font}"
-			foreach encode ${EncodeList} {
-				system "echo \"(${font}-${encode})\n(${encode}) /CMap findresource\n\[(${font}) /CIDFont findresource\]\ncomposefont\npop\" > ${GSFontDir}/${font}-${encode}"
-				if {![variant_isset no_alias]} { foreach alias ${aliases} { system "echo \"(${alias}-${encode})\n(${encode}) /CMap findresource\n\[(${font}) /CIDFont findresource\]\ncomposefont\npop\" > ${GSFontDir}/${alias}-${encode}" } }
-			}
-		  }
+        system "ln -s \"${SystemLibraryFontsDir}/${file}\" ${GSCIDFontDir}/${font}"
+        foreach encode ${EncodeList} {
+            system "echo \"(${font}-${encode})\n(${encode}) /CMap findresource\n\[(${font}) /CIDFont findresource\]\ncomposefont\npop\" > ${GSFontDir}/${font}-${encode}"
+            if {![variant_isset no_alias]} {
+                foreach alias ${aliases} {
+                    system "echo \"(${alias}-${encode})\n(${encode}) /CMap findresource\n\[(${font}) /CIDFont findresource\]\ncomposefont\npop\" > ${GSFontDir}/${alias}-${encode}"
+                }
+            }
+        }
+    }
 }
 
-#post-destroot {
-#    # Hotfix. (8.57)
-#    xinstall -m 755 -d ${destroot}${prefix}/share/ghostscript/fonts/Resource
-#    ln -s "../../${version}/Resource/Font" ${destroot}${prefix}/share/ghostscript/fonts/Resource
-#}
+platform darwin 9 {}
 
+post-destroot {
+    # Hotfix. (8.57)
+    xinstall -m 755 -d ${destroot}${prefix}/share/ghostscript/fonts/Resource
+    ln -s "../../${version}/Resource/Font" ${destroot}${prefix}/share/ghostscript/fonts/Resource
+}
+
 variant no_alias description "Don't use Hiragino as an alternative to Morisawa's standard 5 fonts" {}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070817/9c3f40f5/attachment.html


More information about the macports-changes mailing list