aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript7-jpnfont
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-jpnfont
parentc7c122016ed7a3d9ffc777b426baf51abbb9f647 (diff)
downloadports-f79066d12db565aa2422a2191f68ddbe07309b3d.tar.gz
ports-f79066d12db565aa2422a2191f68ddbe07309b3d.zip
Notes
Diffstat (limited to 'print/ghostscript7-jpnfont')
-rw-r--r--print/ghostscript7-jpnfont/Makefile28
-rw-r--r--print/ghostscript7-jpnfont/files/CIDFnmap.jp15
-rw-r--r--print/ghostscript7-jpnfont/pkg-comment1
-rw-r--r--print/ghostscript7-jpnfont/pkg-descr14
-rw-r--r--print/ghostscript7-jpnfont/pkg-plist8
5 files changed, 4 insertions, 62 deletions
diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile
index 123d34edfc61..0355f406110c 100644
--- a/print/ghostscript7-jpnfont/Makefile
+++ b/print/ghostscript7-jpnfont/Makefile
@@ -5,30 +5,10 @@
# $FreeBSD$
#
-PORTNAME= ghostscript
-PORTVERSION= 6.52
-CATEGORIES= japanese 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 \
- ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
+JPNFONT= yes
-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_CMD} '(CIDFnmap.jp) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile.common"
diff --git a/print/ghostscript7-jpnfont/files/CIDFnmap.jp b/print/ghostscript7-jpnfont/files/CIDFnmap.jp
deleted file mode 100644
index c49344d4e544..000000000000
--- a/print/ghostscript7-jpnfont/files/CIDFnmap.jp
+++ /dev/null
@@ -1,15 +0,0 @@
-% 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 ;
diff --git a/print/ghostscript7-jpnfont/pkg-comment b/print/ghostscript7-jpnfont/pkg-comment
deleted file mode 100644
index 943c826e0d1d..000000000000
--- a/print/ghostscript7-jpnfont/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-GNU ghostscript with Japanese Font support
diff --git a/print/ghostscript7-jpnfont/pkg-descr b/print/ghostscript7-jpnfont/pkg-descr
deleted file mode 100644
index e9207971acc3..000000000000
--- a/print/ghostscript7-jpnfont/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-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!
diff --git a/print/ghostscript7-jpnfont/pkg-plist b/print/ghostscript7-jpnfont/pkg-plist
deleted file mode 100644
index f778a437aafc..000000000000
--- a/print/ghostscript7-jpnfont/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-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