mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
This port installs Korean resources used with print/ghostscript-gnu-cjk.
This commit is contained in:
parent
2e16d6635a
commit
dae0858163
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53303
@ -15,6 +15,7 @@
|
||||
SUBDIR += eterm
|
||||
SUBDIR += ftghostscript5
|
||||
SUBDIR += gau
|
||||
SUBDIR += ghostscript-gnu-cjk
|
||||
SUBDIR += ghostscript55httf
|
||||
SUBDIR += gtkcomm
|
||||
SUBDIR += h2ps
|
||||
|
40
korean/ghostscript-gnu-cjk/Makefile
Normal file
40
korean/ghostscript-gnu-cjk/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: ghostscript
|
||||
# Date created: 14 Jan 2002
|
||||
# Whom: Mita Yoshio <mita@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ghostscript
|
||||
PORTVERSION= 6.52
|
||||
CATEGORIES= korean 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\
|
||||
${LOCALBASE}/share/ghostscript/fonts/Munhwa-Bold:${PORTSDIR}/korean/munhwafonts-cid
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
|
||||
PLIST_SUB= GS_VERSION=${PORTVERSION}
|
||||
FONTS= Munhwa-Bold Munhwa-Regular \
|
||||
MunhwaGothic-Bold MunhwaGothic-Regular
|
||||
|
||||
do-install:
|
||||
.for i in ${FONTS}
|
||||
${LN} -sf ${PREFIX}/share/ghostscript/fonts/${i} \
|
||||
${PREFIX}/share/ghostscript/Resource/CIDFont/
|
||||
.endfor
|
||||
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.ko ${GSLIB_DIR}
|
||||
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig.ko
|
||||
${GREP} -v -e "CIDFnmap.ko" ${GSLIB_DIR}/CIDFnmap.orig.ko > \
|
||||
${GSLIB_DIR}/CIDFnmap
|
||||
${ECHO} '(CIDFnmap.ko) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
|
||||
|
||||
.include <bsd.port.mk>
|
8
korean/ghostscript-gnu-cjk/files/CIDFnmap.ko
Normal file
8
korean/ghostscript-gnu-cjk/files/CIDFnmap.ko
Normal file
@ -0,0 +1,8 @@
|
||||
/Adobe-Korea1 /Munhwa-Regular ;
|
||||
|
||||
%
|
||||
% Convenient aliases for PS files on Korean PostScript printer
|
||||
%
|
||||
/HYGoThic-Medium /MunhwaGothic-Regular ;
|
||||
/HYSMyeongJo-Medium /Munhwa-Regular ;
|
||||
/HYRGoThic-Medium /MunhwaGothic-Bold ;
|
1
korean/ghostscript-gnu-cjk/pkg-comment
Normal file
1
korean/ghostscript-gnu-cjk/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GNU ghostscript with Korean Font support
|
14
korean/ghostscript-gnu-cjk/pkg-descr
Normal file
14
korean/ghostscript-gnu-cjk/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
GNU Postscript/PDF interpriter.
|
||||
This port depends on print/ghostscript-cjk that is internationalized
|
||||
version of ghostscript. This port simply adds necessary configuration
|
||||
as /usr/local/share/ghostscript/*/lib/CIDFnmap.ko
|
||||
|
||||
To install more fancy fonts edit the CIDFnmap.kr file.
|
||||
To know how to edit, /usr/local/share/doc/ghostscript/CJK/README.kr
|
||||
is helpful.
|
||||
|
||||
Internationalization information:
|
||||
For those who are interested in reading also Chinese and Japanese PS files,
|
||||
one can simply add either or both of chinese/ghostscript-gnu-cjk and
|
||||
japanese/ghostscript-gnu-cjk. There is no conflict in adding and removing
|
||||
these ports. Have fun!
|
12
korean/ghostscript-gnu-cjk/pkg-plist
Normal file
12
korean/ghostscript-gnu-cjk/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
||||
share/ghostscript/Resource/CIDFont/Munhwa-Bold
|
||||
share/ghostscript/Resource/CIDFont/Munhwa-Regular
|
||||
share/ghostscript/Resource/CIDFont/MunhwaGothic-Bold
|
||||
share/ghostscript/Resource/CIDFont/MunhwaGothic-Regular
|
||||
share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.ko
|
||||
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@exec /usr/bin/grep -v -e 'CIDFnmap.ko' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@exec echo '(CIDFnmap.ko) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@unexec /usr/bin/grep -v -e 'CIDFnmap.ko' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
40
korean/ghostscript-gnu-korfont/Makefile
Normal file
40
korean/ghostscript-gnu-korfont/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: ghostscript
|
||||
# Date created: 14 Jan 2002
|
||||
# Whom: Mita Yoshio <mita@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ghostscript
|
||||
PORTVERSION= 6.52
|
||||
CATEGORIES= korean 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\
|
||||
${LOCALBASE}/share/ghostscript/fonts/Munhwa-Bold:${PORTSDIR}/korean/munhwafonts-cid
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
|
||||
PLIST_SUB= GS_VERSION=${PORTVERSION}
|
||||
FONTS= Munhwa-Bold Munhwa-Regular \
|
||||
MunhwaGothic-Bold MunhwaGothic-Regular
|
||||
|
||||
do-install:
|
||||
.for i in ${FONTS}
|
||||
${LN} -sf ${PREFIX}/share/ghostscript/fonts/${i} \
|
||||
${PREFIX}/share/ghostscript/Resource/CIDFont/
|
||||
.endfor
|
||||
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.ko ${GSLIB_DIR}
|
||||
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig.ko
|
||||
${GREP} -v -e "CIDFnmap.ko" ${GSLIB_DIR}/CIDFnmap.orig.ko > \
|
||||
${GSLIB_DIR}/CIDFnmap
|
||||
${ECHO} '(CIDFnmap.ko) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
|
||||
|
||||
.include <bsd.port.mk>
|
8
korean/ghostscript-gnu-korfont/files/CIDFnmap.ko
Normal file
8
korean/ghostscript-gnu-korfont/files/CIDFnmap.ko
Normal file
@ -0,0 +1,8 @@
|
||||
/Adobe-Korea1 /Munhwa-Regular ;
|
||||
|
||||
%
|
||||
% Convenient aliases for PS files on Korean PostScript printer
|
||||
%
|
||||
/HYGoThic-Medium /MunhwaGothic-Regular ;
|
||||
/HYSMyeongJo-Medium /Munhwa-Regular ;
|
||||
/HYRGoThic-Medium /MunhwaGothic-Bold ;
|
1
korean/ghostscript-gnu-korfont/pkg-comment
Normal file
1
korean/ghostscript-gnu-korfont/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GNU ghostscript with Korean Font support
|
14
korean/ghostscript-gnu-korfont/pkg-descr
Normal file
14
korean/ghostscript-gnu-korfont/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
GNU Postscript/PDF interpriter.
|
||||
This port depends on print/ghostscript-cjk that is internationalized
|
||||
version of ghostscript. This port simply adds necessary configuration
|
||||
as /usr/local/share/ghostscript/*/lib/CIDFnmap.ko
|
||||
|
||||
To install more fancy fonts edit the CIDFnmap.kr file.
|
||||
To know how to edit, /usr/local/share/doc/ghostscript/CJK/README.kr
|
||||
is helpful.
|
||||
|
||||
Internationalization information:
|
||||
For those who are interested in reading also Chinese and Japanese PS files,
|
||||
one can simply add either or both of chinese/ghostscript-gnu-cjk and
|
||||
japanese/ghostscript-gnu-cjk. There is no conflict in adding and removing
|
||||
these ports. Have fun!
|
12
korean/ghostscript-gnu-korfont/pkg-plist
Normal file
12
korean/ghostscript-gnu-korfont/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
||||
share/ghostscript/Resource/CIDFont/Munhwa-Bold
|
||||
share/ghostscript/Resource/CIDFont/Munhwa-Regular
|
||||
share/ghostscript/Resource/CIDFont/MunhwaGothic-Bold
|
||||
share/ghostscript/Resource/CIDFont/MunhwaGothic-Regular
|
||||
share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.ko
|
||||
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@exec /usr/bin/grep -v -e 'CIDFnmap.ko' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@exec echo '(CIDFnmap.ko) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@unexec /usr/bin/grep -v -e 'CIDFnmap.ko' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
40
print/ghostscript7-korfont/Makefile
Normal file
40
print/ghostscript7-korfont/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: ghostscript
|
||||
# Date created: 14 Jan 2002
|
||||
# Whom: Mita Yoshio <mita@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ghostscript
|
||||
PORTVERSION= 6.52
|
||||
CATEGORIES= korean 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\
|
||||
${LOCALBASE}/share/ghostscript/fonts/Munhwa-Bold:${PORTSDIR}/korean/munhwafonts-cid
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
|
||||
PLIST_SUB= GS_VERSION=${PORTVERSION}
|
||||
FONTS= Munhwa-Bold Munhwa-Regular \
|
||||
MunhwaGothic-Bold MunhwaGothic-Regular
|
||||
|
||||
do-install:
|
||||
.for i in ${FONTS}
|
||||
${LN} -sf ${PREFIX}/share/ghostscript/fonts/${i} \
|
||||
${PREFIX}/share/ghostscript/Resource/CIDFont/
|
||||
.endfor
|
||||
${INSTALL_DATA} ${FILESDIR}/CIDFnmap.ko ${GSLIB_DIR}
|
||||
${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig.ko
|
||||
${GREP} -v -e "CIDFnmap.ko" ${GSLIB_DIR}/CIDFnmap.orig.ko > \
|
||||
${GSLIB_DIR}/CIDFnmap
|
||||
${ECHO} '(CIDFnmap.ko) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
|
||||
|
||||
.include <bsd.port.mk>
|
8
print/ghostscript7-korfont/files/CIDFnmap.ko
Normal file
8
print/ghostscript7-korfont/files/CIDFnmap.ko
Normal file
@ -0,0 +1,8 @@
|
||||
/Adobe-Korea1 /Munhwa-Regular ;
|
||||
|
||||
%
|
||||
% Convenient aliases for PS files on Korean PostScript printer
|
||||
%
|
||||
/HYGoThic-Medium /MunhwaGothic-Regular ;
|
||||
/HYSMyeongJo-Medium /Munhwa-Regular ;
|
||||
/HYRGoThic-Medium /MunhwaGothic-Bold ;
|
1
print/ghostscript7-korfont/pkg-comment
Normal file
1
print/ghostscript7-korfont/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GNU ghostscript with Korean Font support
|
14
print/ghostscript7-korfont/pkg-descr
Normal file
14
print/ghostscript7-korfont/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
GNU Postscript/PDF interpriter.
|
||||
This port depends on print/ghostscript-cjk that is internationalized
|
||||
version of ghostscript. This port simply adds necessary configuration
|
||||
as /usr/local/share/ghostscript/*/lib/CIDFnmap.ko
|
||||
|
||||
To install more fancy fonts edit the CIDFnmap.kr file.
|
||||
To know how to edit, /usr/local/share/doc/ghostscript/CJK/README.kr
|
||||
is helpful.
|
||||
|
||||
Internationalization information:
|
||||
For those who are interested in reading also Chinese and Japanese PS files,
|
||||
one can simply add either or both of chinese/ghostscript-gnu-cjk and
|
||||
japanese/ghostscript-gnu-cjk. There is no conflict in adding and removing
|
||||
these ports. Have fun!
|
12
print/ghostscript7-korfont/pkg-plist
Normal file
12
print/ghostscript7-korfont/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
||||
share/ghostscript/Resource/CIDFont/Munhwa-Bold
|
||||
share/ghostscript/Resource/CIDFont/Munhwa-Regular
|
||||
share/ghostscript/Resource/CIDFont/MunhwaGothic-Bold
|
||||
share/ghostscript/Resource/CIDFont/MunhwaGothic-Regular
|
||||
share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.ko
|
||||
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@exec /usr/bin/grep -v -e 'CIDFnmap.ko' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@exec echo '(CIDFnmap.ko) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
||||
@unexec /usr/bin/grep -v -e 'CIDFnmap.ko' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
|
||||
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig.ko
|
Loading…
Reference in New Issue
Block a user