ghostscript-gnu-cjk Japanese resource installation port.

After long discussions in ports-jp@jp.FreeBSD.org ML, we concluded
having print/ghostscript-gnu-cjk port and resource installation port.
This commit is contained in:
Yoshio MITA 2002-01-18 15:29:13 +00:00
parent 979ed31b76
commit 2e16d6635a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53302
16 changed files with 217 additions and 0 deletions

View file

@ -84,6 +84,7 @@
SUBDIR += gal
SUBDIR += gawk
SUBDIR += gd
SUBDIR += ghostscript-gnu-cjk
SUBDIR += gicq
SUBDIR += gn-gnspool
SUBDIR += gn-mnews

View file

@ -0,0 +1,34 @@
# New ports collection makefile for: ghostscript
# Date created: 14 Jan 2002
# Whom: Mita Yoshio <mita@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ghostscript
PORTVERSION= 6.52
CATEGORIES= japanese print
MASTER_SITES= # nonexistent
PKGNAMESUFFIX= -gnu-cjk
DISTNAME= # nonexistent
DISTFILES= # empty
MAINTAINER= mita@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/cid.sh:${PORTSDIR}/print/ghostscript-gnu-cjk\
${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
PLIST_SUB= GS_VERSION=${PORTVERSION}
do-install:
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.jp ${GSLIB_DIR}
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig
${GREP} -v -e "CIDFnmap.jp" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO} '(CIDFnmap.jp) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
.include <bsd.port.mk>

View file

@ -0,0 +1,15 @@
% Japanese Truetype Fonts (Kochi)
/Kochi-Mincho (/usr/X11R6/lib/X11/fonts/TrueType/kochi-mincho.ttf) 1 /Adobe-Japan1 ;
/Kochi-Gothic (/usr/X11R6/lib/X11/fonts/TrueType/kochi-gothic.ttf) 1 /Adobe-Japan1 ;
%
% Convenient aliases for PS files on Japanese PostScript printer
%
/Ryumin-Light /Kochi-Mincho ;
/Ryumin-Light-H /Kochi-Mincho ;
/Ryumin-Light-V /Kochi-Mincho ;
/GothicBBB-Medium /Kochi-Gothic ;
/GothicBBB-Medium-H /Kochi-Gothic ;
/GothicBBB-Medium-V /Kochi-Gothic ;
/HeiseiMin-W3H /Kochi-Mincho ;
/HeiseiKakuGo-W5H /Kochi-Gothic ;

View file

@ -0,0 +1 @@
GNU ghostscript with Japanese Font support

View file

@ -0,0 +1,14 @@
GNU Postscript/PDF interpriter.
This port depends on print/ghostscript-gnu-cjk that is internationalized
version of ghostscript. This port simply adds necessary configuration
as /usr/local/share/ghostscript/*/lib/CIDFnmap.jp
To install more fancy fonts edit the CIDFnmap.jp file.
To know how to edit, /usr/local/share/doc/ghostscript/CJK/README.jp
is helpful.
Internationalization information:
For those who are interested in reading also Chinese and Korean PS files,
one can simply add either or both of korean/ghostscript-gnu-cjk and
chinese/ghostscript-gnu-cjk. There is no conflict in adding and removing
these ports. Have fun!

View file

@ -0,0 +1,8 @@
share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.jp
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@exec /usr/bin/grep -v -e 'CIDFnmap.jp' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec echo '(CIDFnmap.jp) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /usr/bin/grep -v -e 'CIDFnmap.jp' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig

View file

@ -0,0 +1,34 @@
# New ports collection makefile for: ghostscript
# Date created: 14 Jan 2002
# Whom: Mita Yoshio <mita@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ghostscript
PORTVERSION= 6.52
CATEGORIES= japanese print
MASTER_SITES= # nonexistent
PKGNAMESUFFIX= -gnu-cjk
DISTNAME= # nonexistent
DISTFILES= # empty
MAINTAINER= mita@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/cid.sh:${PORTSDIR}/print/ghostscript-gnu-cjk\
${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
PLIST_SUB= GS_VERSION=${PORTVERSION}
do-install:
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.jp ${GSLIB_DIR}
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig
${GREP} -v -e "CIDFnmap.jp" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO} '(CIDFnmap.jp) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
.include <bsd.port.mk>

View file

@ -0,0 +1,15 @@
% Japanese Truetype Fonts (Kochi)
/Kochi-Mincho (/usr/X11R6/lib/X11/fonts/TrueType/kochi-mincho.ttf) 1 /Adobe-Japan1 ;
/Kochi-Gothic (/usr/X11R6/lib/X11/fonts/TrueType/kochi-gothic.ttf) 1 /Adobe-Japan1 ;
%
% Convenient aliases for PS files on Japanese PostScript printer
%
/Ryumin-Light /Kochi-Mincho ;
/Ryumin-Light-H /Kochi-Mincho ;
/Ryumin-Light-V /Kochi-Mincho ;
/GothicBBB-Medium /Kochi-Gothic ;
/GothicBBB-Medium-H /Kochi-Gothic ;
/GothicBBB-Medium-V /Kochi-Gothic ;
/HeiseiMin-W3H /Kochi-Mincho ;
/HeiseiKakuGo-W5H /Kochi-Gothic ;

View file

@ -0,0 +1 @@
GNU ghostscript with Japanese Font support

View file

@ -0,0 +1,14 @@
GNU Postscript/PDF interpriter.
This port depends on print/ghostscript-gnu-cjk that is internationalized
version of ghostscript. This port simply adds necessary configuration
as /usr/local/share/ghostscript/*/lib/CIDFnmap.jp
To install more fancy fonts edit the CIDFnmap.jp file.
To know how to edit, /usr/local/share/doc/ghostscript/CJK/README.jp
is helpful.
Internationalization information:
For those who are interested in reading also Chinese and Korean PS files,
one can simply add either or both of korean/ghostscript-gnu-cjk and
chinese/ghostscript-gnu-cjk. There is no conflict in adding and removing
these ports. Have fun!

View file

@ -0,0 +1,8 @@
share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.jp
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@exec /usr/bin/grep -v -e 'CIDFnmap.jp' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec echo '(CIDFnmap.jp) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /usr/bin/grep -v -e 'CIDFnmap.jp' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig

View file

@ -0,0 +1,34 @@
# New ports collection makefile for: ghostscript
# Date created: 14 Jan 2002
# Whom: Mita Yoshio <mita@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ghostscript
PORTVERSION= 6.52
CATEGORIES= japanese print
MASTER_SITES= # nonexistent
PKGNAMESUFFIX= -gnu-cjk
DISTNAME= # nonexistent
DISTFILES= # empty
MAINTAINER= mita@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/cid.sh:${PORTSDIR}/print/ghostscript-gnu-cjk\
${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
PLIST_SUB= GS_VERSION=${PORTVERSION}
do-install:
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.jp ${GSLIB_DIR}
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig
${GREP} -v -e "CIDFnmap.jp" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO} '(CIDFnmap.jp) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
.include <bsd.port.mk>

View file

@ -0,0 +1,15 @@
% Japanese Truetype Fonts (Kochi)
/Kochi-Mincho (/usr/X11R6/lib/X11/fonts/TrueType/kochi-mincho.ttf) 1 /Adobe-Japan1 ;
/Kochi-Gothic (/usr/X11R6/lib/X11/fonts/TrueType/kochi-gothic.ttf) 1 /Adobe-Japan1 ;
%
% Convenient aliases for PS files on Japanese PostScript printer
%
/Ryumin-Light /Kochi-Mincho ;
/Ryumin-Light-H /Kochi-Mincho ;
/Ryumin-Light-V /Kochi-Mincho ;
/GothicBBB-Medium /Kochi-Gothic ;
/GothicBBB-Medium-H /Kochi-Gothic ;
/GothicBBB-Medium-V /Kochi-Gothic ;
/HeiseiMin-W3H /Kochi-Mincho ;
/HeiseiKakuGo-W5H /Kochi-Gothic ;

View file

@ -0,0 +1 @@
GNU ghostscript with Japanese Font support

View file

@ -0,0 +1,14 @@
GNU Postscript/PDF interpriter.
This port depends on print/ghostscript-gnu-cjk that is internationalized
version of ghostscript. This port simply adds necessary configuration
as /usr/local/share/ghostscript/*/lib/CIDFnmap.jp
To install more fancy fonts edit the CIDFnmap.jp file.
To know how to edit, /usr/local/share/doc/ghostscript/CJK/README.jp
is helpful.
Internationalization information:
For those who are interested in reading also Chinese and Korean PS files,
one can simply add either or both of korean/ghostscript-gnu-cjk and
chinese/ghostscript-gnu-cjk. There is no conflict in adding and removing
these ports. Have fun!

View file

@ -0,0 +1,8 @@
share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.jp
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@exec /usr/bin/grep -v -e 'CIDFnmap.jp' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec echo '(CIDFnmap.jp) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /usr/bin/grep -v -e 'CIDFnmap.jp' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig