aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-03-01 19:07:52 +0800
committerrafan <rafan@FreeBSD.org>2008-03-01 19:07:52 +0800
commit3402b1e394b982c06c8ad52de2e26a269d671368 (patch)
treea22f54506e1a97dca0b0cb1a6de903d844732d3f /print
parentfb3360a5f60bde01c1c5f6b286f3bf31da15310a (diff)
downloadfreebsd-ports-gnome-3402b1e394b982c06c8ad52de2e26a269d671368.tar.gz
freebsd-ports-gnome-3402b1e394b982c06c8ad52de2e26a269d671368.tar.zst
freebsd-ports-gnome-3402b1e394b982c06c8ad52de2e26a269d671368.zip
- Add full support for Japanese fonts and ijs driver
- Fix FT_BRIDGE issue - Use OPTIONS (not for driver selection) PR: ports/119566 Submitted by: Koji Yokota <yokota at res.otaru-uc.ac.jp>
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-gpl/Makefile67
-rw-r--r--print/ghostscript-gpl/Makefile.inc2
-rw-r--r--print/ghostscript-gpl/distinfo3
-rw-r--r--print/ghostscript-gpl/files/patch-lib-FAPIcidfmap9
-rw-r--r--print/ghostscript-gpl/files/patch-src-int.mak11
-rw-r--r--print/ghostscript-gpl/pkg-plist166
-rw-r--r--print/ghostscript8/Makefile67
-rw-r--r--print/ghostscript8/Makefile.inc2
-rw-r--r--print/ghostscript8/distinfo3
-rw-r--r--print/ghostscript8/files/patch-lib-FAPIcidfmap9
-rw-r--r--print/ghostscript8/files/patch-src-int.mak11
-rw-r--r--print/ghostscript8/pkg-plist166
12 files changed, 496 insertions, 20 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index 2084400520e1..1f03a9777fab 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -23,6 +23,8 @@ EXTRACT_ONLY= ${GS_SRCS}
MAINTAINER= ports@FreeBSD.org
COMMENT= GPL Postscript interpreter
+BUILD_DEPENDS= ${LOCALBASE}/share/automake-1.10/install-sh:${PORTSDIR}/devel/automake110 \
+ ${LOCALBASE}/bin/libtool:${PORTSDIR}/devel/libtool15
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
@@ -36,10 +38,14 @@ MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
PLIST_SUB= GS_VERSION="${GS_VERSION}" \
CIDFONTDIR="${CIDFONTDIR}"
-SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \
- WITHOUT_X11="${WITHOUT_X11}" \
- WITH_SVGALIB="${WITH_SVGALIB}" \
- WITH_ICONV="${WITH_ICONV}"
+OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
+ FONTCONFIG "fontconfig support" off \
+ FT_BRIDGE "FreeType bridge" off \
+ ICONV "libiconv support (required by opvp/oprp drivers)" on \
+ JPNFONTS "Japanese font support" on \
+ SHLIB "With shared libraries" off \
+ SVGALIB "svgalib support" off \
+ X11 "X11 support" on
MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 gs-pcl3.1 pcl3opts.1 \
pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \
@@ -55,7 +61,14 @@ MLINKS= gslp.1 gsbj.1 \
XCFLAGS= ${PTHREAD_CFLAGS}
XLDFLAGS= ${PTHREAD_LIBS}
-MSG_PAPERSIZE= "NOTE: Type \"make A4=yes\" to use A4 paper size by default."
+.include "Makefile.inc"
+.include <bsd.port.pre.mk>
+
+SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \
+ WITHOUT_X11="${WITHOUT_X11}" \
+ WITH_SVGALIB="${WITH_SVGALIB}" \
+ WITH_ICONV="${WITH_ICONV}"
+
.if !defined(WITH_LETTERSIZE)
.if defined(A4) || defined(WITH_A4SIZE)
XCFLAGS+= -DA4
@@ -118,15 +131,31 @@ EPAG_VERS= 3.09
EPAG_NAME= ${EPAG}-${EPAG_VERS}
EPAG_SRCS= ${EPAG_NAME}.tar.gz
-.include "Makefile.inc"
-.include <bsd.port.pre.mk>
-.SILENT:
+# Add support for Japanese fonts
+.if defined(WITH_JPNFONTS)
+MASTER_SITES+= http://www.interq.or.jp/mars/cherry/mac/:jpn
+DISTFILES+= ${JPN_SRCS}:jpn
+JPN_SRCS= Font.tar.bz2
+PLIST_SUB+= JPN=""
+.else
+PLIST_SUB+= JPN="@comment "
+.endif
+.SILENT:
pre-everything::
${ECHO_MSG} ${MSG_PAPERSIZE}
post-extract:
${ECHO_MSG} ">>> in post-extract ..."
+.for _FILES in config.guess config.sub ltmain.sh
+ (cd ${WRKSRC}/ijs; ${RM} -f ${_FILES}; \
+ ${LN} -s ${LOCALBASE}/share/libtool/${_FILES})
+.endfor
+.for _FILES in install-sh missing
+ (cd ${WRKSRC}/ijs; ${RM} -f ${_FILES}; \
+ ${LN} -s ${LOCALBASE}/share/automake-1.10/${_FILES})
+.endfor
+
# ** 3rd party driver **
# Note: don't forget to add those devices in scripts/configure,
# which update unix-gcc.mak to build gs with these new devices!
@@ -135,6 +164,11 @@ post-extract:
${ECHO_MSG} ">>> extracting ${EPAG_SRCS} ..."
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
${LN} -sf ${EPAG_NAME} ${WRKSRC}/${EPAG}
+# for Japanese fonts
+.if defined(WITH_JPNFONTS)
+ ${ECHO_MSG} ">>> extracting ${JPN_SRCS} ..."
+ ${TAR} -C ${WRKSRC}/Resource -xypof ${DISTDIR}/${DIST_SUBDIR}/${JPN_SRCS}
+.endif
post-patch:
${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
@@ -158,7 +192,9 @@ pre-configure:
post-configure:
${ECHO_MSG} ">>> in post-configure ..."
cd ${WRKSRC}/jasper ; \
- ${SETENV} ${MAKE_ENV} ${SH} ./configure
+ ${SETENV} ${MAKE_ENV} ${SH} ./configure --prefix=${PREFIX}
+ cd ${WRKSRC}/ijs ; \
+ ${SETENV} ${MAKE_ENV} ${SH} ./autogen.sh
pre-build:
${ECHO_MSG} ">>> in pre-build ..."
@@ -245,6 +281,12 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/${i} \
${DATADIR}/${GS_VERSION}/lib
.endfor
+# for Japanese fonts
+.if defined(WITH_JPNFONTS)
+ ${ECHO_MSG} ">>> installing Japanese font resources ..."
+ ${INSTALL_DATA} ${WRKSRC}/Resource/Font/* \
+ ${DATADIR}/${GS_VERSION}/Resource/Font/
+.endif
#
# now NOPORTDOCS dependend stuff
#
@@ -297,4 +339,11 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
+.if defined(WITH_FT_BRIDGE)
+ ${ECHO_MSG} " *** Configure FAPIfontmap and FAPIcidfmap accordingly"
+ ${ECHO_MSG} " *** in ${DATADIR}/${GS_VERSION}/lib"
+ ${ECHO_MSG} " *** to use FreeType fonts."
+ @${ECHO_MSG}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/print/ghostscript-gpl/Makefile.inc b/print/ghostscript-gpl/Makefile.inc
index 51849a4bedd6..c51a93766c58 100644
--- a/print/ghostscript-gpl/Makefile.inc
+++ b/print/ghostscript-gpl/Makefile.inc
@@ -1,5 +1,5 @@
# $FreeBSD$
GS_VERSION= 8.61
-GS_REVISION= 0
+GS_REVISION= 1
GS_EPOCH= 0
diff --git a/print/ghostscript-gpl/distinfo b/print/ghostscript-gpl/distinfo
index 5b227b2daee4..80f3ca706514 100644
--- a/print/ghostscript-gpl/distinfo
+++ b/print/ghostscript-gpl/distinfo
@@ -4,3 +4,6 @@ SIZE (ghostscript/ghostscript-8.61.tar.bz2) = 13244754
MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3
SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b
SIZE (ghostscript/epag-3.09.tar.gz) = 12858
+MD5 (ghostscript/Font.tar.bz2) = 200b2018a01065f4fa6aa063d9f14fce
+SHA256 (ghostscript/Font.tar.bz2) = 3805572c2a0fb7012f89ecef93feb757e8f78d59462fb81d7f6b095e9f1f3865
+SIZE (ghostscript/Font.tar.bz2) = 2198
diff --git a/print/ghostscript-gpl/files/patch-lib-FAPIcidfmap b/print/ghostscript-gpl/files/patch-lib-FAPIcidfmap
new file mode 100644
index 000000000000..8c8f937ca0b3
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-lib-FAPIcidfmap
@@ -0,0 +1,9 @@
+--- lib/FAPIcidfmap.orig 2006-06-01 00:29:52.000000000 +0900
++++ lib/FAPIcidfmap 2008-01-11 08:49:20.000000000 +0900
+@@ -29,4 +29,5 @@
+ %
+ % /Ryumin-Medium << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
+ % /HeiseiKakuGo-W5 << /Path (F:/WIN2000/Fonts/BATANG.TTC) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
+-
++/Ryumin-Medium << /Path (/usr/local/share/ghostscript/fonts/Ryumin-Light.ttf) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
++/HeiseiKakuGo-W5 << /Path (/usr/local/share/ghostscript/fonts/GothicBBB-Medium.ttf) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
diff --git a/print/ghostscript-gpl/files/patch-src-int.mak b/print/ghostscript-gpl/files/patch-src-int.mak
new file mode 100644
index 000000000000..5e8904378d43
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-src-int.mak
@@ -0,0 +1,11 @@
+--- src/int.mak.orig 2007-07-02 02:18:18.000000000 +0900
++++ src/int.mak 2008-01-11 08:28:14.000000000 +0900
+@@ -988,7 +988,7 @@
+ # unix-inst.mak uses this macro, problems should surface when testing installed
+ # versions.
+ # Note: gs_cet.ps is only needed to match Adobe CPSI defaults
+-EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps
++EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps FAPIcidfmap FAPIconfig FAPIfontmap
+
+ # The init files are put in the lib/ directory (gs_init.ps + EXTRA_INIT_FILES)
+ # Resource files go into Resource/...
diff --git a/print/ghostscript-gpl/pkg-plist b/print/ghostscript-gpl/pkg-plist
index 48f947add59a..5391b6e65302 100644
--- a/print/ghostscript-gpl/pkg-plist
+++ b/print/ghostscript-gpl/pkg-plist
@@ -330,6 +330,168 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/StandardEncoding
%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Unicode
%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/Wingdings
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-V
%%DATADIR%%/%%GS_VERSION%%/doc/API.htm
%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm
@@ -388,6 +550,9 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps
%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps
%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/FAPIcidfmap
+%%DATADIR%%/%%GS_VERSION%%/lib/FAPIconfig
+%%DATADIR%%/%%GS_VERSION%%/lib/FAPIfontmap
%%DATADIR%%/%%GS_VERSION%%/lib/FCOfontmap-PCLPS2
%%DATADIR%%/%%GS_VERSION%%/lib/Fontmap
%%DATADIR%%/%%GS_VERSION%%/lib/Fontmap.GS
@@ -669,6 +834,7 @@ bin/wftopfa
@dirrm %%DATADIR%%/%%GS_VERSION%%/lib
@dirrm %%DATADIR%%/%%GS_VERSION%%/examples
@dirrm %%DATADIR%%/%%GS_VERSION%%/doc
+%%JPN%%@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Font
@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Encoding
@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Decoding
@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 2084400520e1..1f03a9777fab 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -23,6 +23,8 @@ EXTRACT_ONLY= ${GS_SRCS}
MAINTAINER= ports@FreeBSD.org
COMMENT= GPL Postscript interpreter
+BUILD_DEPENDS= ${LOCALBASE}/share/automake-1.10/install-sh:${PORTSDIR}/devel/automake110 \
+ ${LOCALBASE}/bin/libtool:${PORTSDIR}/devel/libtool15
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
@@ -36,10 +38,14 @@ MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
PLIST_SUB= GS_VERSION="${GS_VERSION}" \
CIDFONTDIR="${CIDFONTDIR}"
-SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \
- WITHOUT_X11="${WITHOUT_X11}" \
- WITH_SVGALIB="${WITH_SVGALIB}" \
- WITH_ICONV="${WITH_ICONV}"
+OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
+ FONTCONFIG "fontconfig support" off \
+ FT_BRIDGE "FreeType bridge" off \
+ ICONV "libiconv support (required by opvp/oprp drivers)" on \
+ JPNFONTS "Japanese font support" on \
+ SHLIB "With shared libraries" off \
+ SVGALIB "svgalib support" off \
+ X11 "X11 support" on
MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 gs-pcl3.1 pcl3opts.1 \
pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \
@@ -55,7 +61,14 @@ MLINKS= gslp.1 gsbj.1 \
XCFLAGS= ${PTHREAD_CFLAGS}
XLDFLAGS= ${PTHREAD_LIBS}
-MSG_PAPERSIZE= "NOTE: Type \"make A4=yes\" to use A4 paper size by default."
+.include "Makefile.inc"
+.include <bsd.port.pre.mk>
+
+SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \
+ WITHOUT_X11="${WITHOUT_X11}" \
+ WITH_SVGALIB="${WITH_SVGALIB}" \
+ WITH_ICONV="${WITH_ICONV}"
+
.if !defined(WITH_LETTERSIZE)
.if defined(A4) || defined(WITH_A4SIZE)
XCFLAGS+= -DA4
@@ -118,15 +131,31 @@ EPAG_VERS= 3.09
EPAG_NAME= ${EPAG}-${EPAG_VERS}
EPAG_SRCS= ${EPAG_NAME}.tar.gz
-.include "Makefile.inc"
-.include <bsd.port.pre.mk>
-.SILENT:
+# Add support for Japanese fonts
+.if defined(WITH_JPNFONTS)
+MASTER_SITES+= http://www.interq.or.jp/mars/cherry/mac/:jpn
+DISTFILES+= ${JPN_SRCS}:jpn
+JPN_SRCS= Font.tar.bz2
+PLIST_SUB+= JPN=""
+.else
+PLIST_SUB+= JPN="@comment "
+.endif
+.SILENT:
pre-everything::
${ECHO_MSG} ${MSG_PAPERSIZE}
post-extract:
${ECHO_MSG} ">>> in post-extract ..."
+.for _FILES in config.guess config.sub ltmain.sh
+ (cd ${WRKSRC}/ijs; ${RM} -f ${_FILES}; \
+ ${LN} -s ${LOCALBASE}/share/libtool/${_FILES})
+.endfor
+.for _FILES in install-sh missing
+ (cd ${WRKSRC}/ijs; ${RM} -f ${_FILES}; \
+ ${LN} -s ${LOCALBASE}/share/automake-1.10/${_FILES})
+.endfor
+
# ** 3rd party driver **
# Note: don't forget to add those devices in scripts/configure,
# which update unix-gcc.mak to build gs with these new devices!
@@ -135,6 +164,11 @@ post-extract:
${ECHO_MSG} ">>> extracting ${EPAG_SRCS} ..."
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
${LN} -sf ${EPAG_NAME} ${WRKSRC}/${EPAG}
+# for Japanese fonts
+.if defined(WITH_JPNFONTS)
+ ${ECHO_MSG} ">>> extracting ${JPN_SRCS} ..."
+ ${TAR} -C ${WRKSRC}/Resource -xypof ${DISTDIR}/${DIST_SUBDIR}/${JPN_SRCS}
+.endif
post-patch:
${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
@@ -158,7 +192,9 @@ pre-configure:
post-configure:
${ECHO_MSG} ">>> in post-configure ..."
cd ${WRKSRC}/jasper ; \
- ${SETENV} ${MAKE_ENV} ${SH} ./configure
+ ${SETENV} ${MAKE_ENV} ${SH} ./configure --prefix=${PREFIX}
+ cd ${WRKSRC}/ijs ; \
+ ${SETENV} ${MAKE_ENV} ${SH} ./autogen.sh
pre-build:
${ECHO_MSG} ">>> in pre-build ..."
@@ -245,6 +281,12 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/${i} \
${DATADIR}/${GS_VERSION}/lib
.endfor
+# for Japanese fonts
+.if defined(WITH_JPNFONTS)
+ ${ECHO_MSG} ">>> installing Japanese font resources ..."
+ ${INSTALL_DATA} ${WRKSRC}/Resource/Font/* \
+ ${DATADIR}/${GS_VERSION}/Resource/Font/
+.endif
#
# now NOPORTDOCS dependend stuff
#
@@ -297,4 +339,11 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
+.if defined(WITH_FT_BRIDGE)
+ ${ECHO_MSG} " *** Configure FAPIfontmap and FAPIcidfmap accordingly"
+ ${ECHO_MSG} " *** in ${DATADIR}/${GS_VERSION}/lib"
+ ${ECHO_MSG} " *** to use FreeType fonts."
+ @${ECHO_MSG}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/print/ghostscript8/Makefile.inc b/print/ghostscript8/Makefile.inc
index 51849a4bedd6..c51a93766c58 100644
--- a/print/ghostscript8/Makefile.inc
+++ b/print/ghostscript8/Makefile.inc
@@ -1,5 +1,5 @@
# $FreeBSD$
GS_VERSION= 8.61
-GS_REVISION= 0
+GS_REVISION= 1
GS_EPOCH= 0
diff --git a/print/ghostscript8/distinfo b/print/ghostscript8/distinfo
index 5b227b2daee4..80f3ca706514 100644
--- a/print/ghostscript8/distinfo
+++ b/print/ghostscript8/distinfo
@@ -4,3 +4,6 @@ SIZE (ghostscript/ghostscript-8.61.tar.bz2) = 13244754
MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3
SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b
SIZE (ghostscript/epag-3.09.tar.gz) = 12858
+MD5 (ghostscript/Font.tar.bz2) = 200b2018a01065f4fa6aa063d9f14fce
+SHA256 (ghostscript/Font.tar.bz2) = 3805572c2a0fb7012f89ecef93feb757e8f78d59462fb81d7f6b095e9f1f3865
+SIZE (ghostscript/Font.tar.bz2) = 2198
diff --git a/print/ghostscript8/files/patch-lib-FAPIcidfmap b/print/ghostscript8/files/patch-lib-FAPIcidfmap
new file mode 100644
index 000000000000..8c8f937ca0b3
--- /dev/null
+++ b/print/ghostscript8/files/patch-lib-FAPIcidfmap
@@ -0,0 +1,9 @@
+--- lib/FAPIcidfmap.orig 2006-06-01 00:29:52.000000000 +0900
++++ lib/FAPIcidfmap 2008-01-11 08:49:20.000000000 +0900
+@@ -29,4 +29,5 @@
+ %
+ % /Ryumin-Medium << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
+ % /HeiseiKakuGo-W5 << /Path (F:/WIN2000/Fonts/BATANG.TTC) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
+-
++/Ryumin-Medium << /Path (/usr/local/share/ghostscript/fonts/Ryumin-Light.ttf) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
++/HeiseiKakuGo-W5 << /Path (/usr/local/share/ghostscript/fonts/GothicBBB-Medium.ttf) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
diff --git a/print/ghostscript8/files/patch-src-int.mak b/print/ghostscript8/files/patch-src-int.mak
new file mode 100644
index 000000000000..5e8904378d43
--- /dev/null
+++ b/print/ghostscript8/files/patch-src-int.mak
@@ -0,0 +1,11 @@
+--- src/int.mak.orig 2007-07-02 02:18:18.000000000 +0900
++++ src/int.mak 2008-01-11 08:28:14.000000000 +0900
+@@ -988,7 +988,7 @@
+ # unix-inst.mak uses this macro, problems should surface when testing installed
+ # versions.
+ # Note: gs_cet.ps is only needed to match Adobe CPSI defaults
+-EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps
++EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps FAPIcidfmap FAPIconfig FAPIfontmap
+
+ # The init files are put in the lib/ directory (gs_init.ps + EXTRA_INIT_FILES)
+ # Resource files go into Resource/...
diff --git a/print/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist
index 48f947add59a..5391b6e65302 100644
--- a/print/ghostscript8/pkg-plist
+++ b/print/ghostscript8/pkg-plist
@@ -330,6 +330,168 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/StandardEncoding
%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Unicode
%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/Wingdings
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoGoB101Pro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/FutoMinA101Pro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBB-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/GothicBBBPro-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W3-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuPro-W6-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraKakuStd-W8-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMaruPro-W4-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W3-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/HiraMinPro-W6-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Jun101Pro-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Heavy-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozGoPro-Regular-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Bold-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Medium-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/KozMinPro-Regular-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiGoPro-MB31-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/MidashiMinPro-MA31-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Light-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Ryumin-Regular-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-EUC-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-EUC-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-UniJIS-UTF16-H
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-UniJIS-UTF16-V
+%%JPN%%%%DATADIR%%/%%GS_VERSION%%/Resource/Font/RyuminPro-Light-V
%%DATADIR%%/%%GS_VERSION%%/doc/API.htm
%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm
@@ -388,6 +550,9 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps
%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps
%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps
+%%DATADIR%%/%%GS_VERSION%%/lib/FAPIcidfmap
+%%DATADIR%%/%%GS_VERSION%%/lib/FAPIconfig
+%%DATADIR%%/%%GS_VERSION%%/lib/FAPIfontmap
%%DATADIR%%/%%GS_VERSION%%/lib/FCOfontmap-PCLPS2
%%DATADIR%%/%%GS_VERSION%%/lib/Fontmap
%%DATADIR%%/%%GS_VERSION%%/lib/Fontmap.GS
@@ -669,6 +834,7 @@ bin/wftopfa
@dirrm %%DATADIR%%/%%GS_VERSION%%/lib
@dirrm %%DATADIR%%/%%GS_VERSION%%/examples
@dirrm %%DATADIR%%/%%GS_VERSION%%/doc
+%%JPN%%@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Font
@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Encoding
@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/Decoding
@dirrm %%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace