aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript7-korfont
diff options
context:
space:
mode:
authorYoshio MITA <mita@FreeBSD.org>2002-05-15 01:17:59 +0000
committerYoshio MITA <mita@FreeBSD.org>2002-05-15 01:17:59 +0000
commitf79066d12db565aa2422a2191f68ddbe07309b3d (patch)
tree86d8ed356b78960a9d2dd59829804ad12ffcabd2 /print/ghostscript7-korfont
parentc7c122016ed7a3d9ffc777b426baf51abbb9f647 (diff)
downloadports-f79066d12db565aa2422a2191f68ddbe07309b3d.tar.gz
ports-f79066d12db565aa2422a2191f68ddbe07309b3d.zip
Notes
Diffstat (limited to 'print/ghostscript7-korfont')
-rw-r--r--print/ghostscript7-korfont/Makefile33
-rw-r--r--print/ghostscript7-korfont/files/CIDFnmap.ko8
-rw-r--r--print/ghostscript7-korfont/pkg-comment1
-rw-r--r--print/ghostscript7-korfont/pkg-descr14
-rw-r--r--print/ghostscript7-korfont/pkg-plist12
5 files changed, 4 insertions, 64 deletions
diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile
index 975cfc5447c5..d5e4331cfc5d 100644
--- a/print/ghostscript7-korfont/Makefile
+++ b/print/ghostscript7-korfont/Makefile
@@ -5,36 +5,11 @@
# $FreeBSD$
#
-PORTNAME= ghostscript
-PORTVERSION= 6.52
-CATEGORIES= korean print
-MASTER_SITES= # nonexistent
-PKGNAMESUFFIX= -gnu-cjk
-DISTNAME= # nonexistent
-DISTFILES= # empty
+MASTERDIR= ${.CURDIR}/../../print/ghostscript-gnu-commfont
-MAINTAINER= mita@FreeBSD.org
+.undef COMMFONT
-RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/cid.sh:${PORTSDIR}/print/ghostscript-gnu-cjk \
- ${LOCALBASE}/share/ghostscript/fonts/Munhwa-Bold:${PORTSDIR}/korean/munhwafonts-cid
+KORFONT= yes
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
+.include "${MASTERDIR}/Makefile.common"
-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_CMD} '(CIDFnmap.ko) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
-
-.include <bsd.port.mk>
diff --git a/print/ghostscript7-korfont/files/CIDFnmap.ko b/print/ghostscript7-korfont/files/CIDFnmap.ko
deleted file mode 100644
index 5f72b7018bb6..000000000000
--- a/print/ghostscript7-korfont/files/CIDFnmap.ko
+++ /dev/null
@@ -1,8 +0,0 @@
-/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 ;
diff --git a/print/ghostscript7-korfont/pkg-comment b/print/ghostscript7-korfont/pkg-comment
deleted file mode 100644
index e1c9fb7c555f..000000000000
--- a/print/ghostscript7-korfont/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-GNU ghostscript with Korean Font support
diff --git a/print/ghostscript7-korfont/pkg-descr b/print/ghostscript7-korfont/pkg-descr
deleted file mode 100644
index 1d3c1060c1c4..000000000000
--- a/print/ghostscript7-korfont/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-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!
diff --git a/print/ghostscript7-korfont/pkg-plist b/print/ghostscript7-korfont/pkg-plist
deleted file mode 100644
index dba716e90004..000000000000
--- a/print/ghostscript7-korfont/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-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