ghostscript-fonts-hiragino version 8.61 for Mac OS X 10.5 Leopard
Monday the 12th of May, 2008

    ghostscript-fonts-hiragino  most recent diff


      View the most recent changes for the ghostscript-fonts-hiragino port at: ghostscript-fonts-hiragino.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for ghostscript-fonts-hiragino.
      The raw portfile for ghostscript-fonts-hiragino 8.61 is located here:
      http://ghostscript-fonts-hiragino.darwinports.com/dports/print/ghostscript-fonts-hiragino/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/ghostscript-fonts-hiragino
      Google
      Web Darwinports.com



      # $Id: Portfile 31525 2007-11-27 10:00:21Z takanori macports.org $

      PortSystem 1.0

      Name: ghostscript-fonts-hiragino
      Version: 8.61
      Category: print japanese
      Maintainers: takanori
      Description: Japanese Hiragino fonts for ghostscript ${version}
      Long Description: ${description}
      Platform: macosx
      Homepage:
      master_sites
      distfiles

      depends_lib port:ghostscript

      configure {}

      build {}

      destroot {
      if {[variant_isset darwin_8] || [variant_isset darwin_7]} {
      set FontList {"/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf" HiraKakuPro-W3 {GothicBBB-Medium}
      "/System/Library/Fonts/ヒラギノ角ゴ Pro W6.otf" HiraKakuPro-W6 {FutoGoB101-Bold}
      "/System/Library/Fonts/ヒラギノ角ゴ Std W8.otf" HiraKakuStd-W8 {}
      "/System/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf" HiraMaruPro-W4 {Jun101-Light}
      "/System/Library/Fonts/ヒラギノ明朝 Pro W3.otf" HiraMinPro-W3 {Ryumin-Light}
      "/System/Library/Fonts/ヒラギノ明朝 Pro W6.otf" HiraMinPro-W6 {FutoMinA101-Bold}}
      } else {
      set FontList {"/Library/Fonts/ヒラギノ角ゴ Pro W3.otf" HiraKakuPro-W3 {GothicBBB-Medium}
      "/Library/Fonts/ヒラギノ角ゴ Pro W6.otf" HiraKakuPro-W6 {FutoGoB101-Bold}
      "/Library/Fonts/ヒラギノ角ゴ Std W8.otf" HiraKakuStd-W8 {}
      "/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf" HiraMaruPro-W4 {Jun101-Light}
      "/Library/Fonts/ヒラギノ明朝 Pro W3.otf" HiraMinPro-W3 {Ryumin-Light}
      "/Library/Fonts/ヒラギノ明朝 Pro W6.otf" HiraMinPro-W6 {FutoMinA101-Bold}
      "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf" HiraKakuProN-W3 {}
      "/System/Library/Fonts/ヒラギノ角ゴ ProN W6.otf" HiraKakuProN-W6 {}
      "/Library/Fonts/ヒラギノ角ゴ StdN W8.otf" HiraKakuStdN-W8 {}
      "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf" HiraMaruProN-W4 {}
      "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf" HiraMinProN-W3 {}
      "/System/Library/Fonts/ヒラギノ明朝 ProN W6.otf" HiraMinProN-W6 {}}
      }
      set GSFontDir ${destroot}${prefix}/share/ghostscript/fonts/Resource/Font
      set GSCIDFontDir ${destroot}${prefix}/share/ghostscript/${version}/Resource/CIDFont
      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-V
      90msp-RKSJ-H
      90msp-RKSJ-V
      90pv-RKSJ-H
      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
      EUC-H
      EUC-V
      Ext-H
      Ext-RKSJ-H
      Ext-RKSJ-V
      Ext-V
      H
      Hankaku
      Hiragana
      Identity-H
      Identity-V
      Katakana
      NWP-H
      NWP-V
      RKSJ-H
      RKSJ-V
      Roman
      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
      UniJIS2004-UTF16-H
      UniJIS2004-UTF16-V
      UniJIS2004-UTF32-H
      UniJIS2004-UTF32-V
      UniJIS2004-UTF8-H
      UniJIS2004-UTF8-V
      UniJISPro-UCS2-HW-V
      UniJISPro-UCS2-V
      UniJISPro-UTF8-V
      UniJISX0213-UTF32-H
      UniJISX0213-UTF32-V
      UniJISX02132004-UTF32-H
      UniJISX02132004-UTF32-V
      V
      WP-Symbol}

      xinstall -m 755 -d ${GSFontDir}
      xinstall -m 755 -d ${GSCIDFontDir}

      foreach {fontfile fontname aliases} ${FontList} {
      if {![file exists ${fontfile}]} {
      return -code error "Font file \"${fontfile}\" is not found."
      }

      ln -s ${fontfile} ${GSCIDFontDir}/${fontname}

      foreach encode ${EncodeList} {
      set fd [open [file join ${GSFontDir} ${fontname}-${encode}] w 0644]
      puts ${fd} "(${fontname}-${encode})"
      puts ${fd} "(${encode}) /CMap findresource"
      puts ${fd} "\[(${fontname}) /CIDFont findresource\]"
      puts ${fd} "composefont"
      puts ${fd} "pop"
      close ${fd}
      }

      if {![variant_isset no_alias]} {
      foreach alias ${aliases} {
      foreach encode ${EncodeList} {
      set fd [open [file join ${GSFontDir} ${alias}-${encode}] w 0644]
      puts ${fd} "(${alias}-${encode})"
      puts ${fd} "(${encode}) /CMap findresource"
      puts ${fd} "\[(${fontname}) /CIDFont findresource\]"
      puts ${fd} "composefont"
      puts ${fd} "pop"
      close ${fd}
      }
      }
      }
      }
      }

      platform darwin 7 {}
      platform darwin 8 {}

      Variant: no_alias description "Do not use Hiragino as an alternative to Morisawa's standard 5 fonts" {}

      livecheck.check none

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/ghostscript-fonts-hiragino
      % sudo port install ghostscript-fonts-hiragino
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching ghostscript-fonts-hiragino
      ---> Verifying checksum for ghostscript-fonts-hiragino
      ---> Extracting ghostscript-fonts-hiragino
      ---> Configuring ghostscript-fonts-hiragino
      ---> Building ghostscript-fonts-hiragino with target all
      ---> Staging ghostscript-fonts-hiragino into destroot
      ---> Installing ghostscript-fonts-hiragino
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using ghostscript-fonts-hiragino with these commands:
      %  man ghostscript-fonts-hiragino
      % apropos ghostscript-fonts-hiragino
      % which ghostscript-fonts-hiragino
      % locate ghostscript-fonts-hiragino

     Where to find more information:

    Darwin Ports



    image test