summaryrefslogtreecommitdiff
path: root/japanese/ghostscript-gnu-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 /japanese/ghostscript-gnu-jpnfont
parentFix breakage at -march=pentium case. (diff)
Obsoleted by japanese/ghostscript-gnu-jpnfont.
I mark this port BROKEN with message `Please use ghostscript-gnu-jpnfont'. I will completely remove this port after a while. (MAINTAINER's change after long discussions in ports-jp)
Diffstat (limited to 'japanese/ghostscript-gnu-jpnfont')
-rw-r--r--japanese/ghostscript-gnu-jpnfont/Makefile28
-rw-r--r--japanese/ghostscript-gnu-jpnfont/files/CIDFnmap.jp15
-rw-r--r--japanese/ghostscript-gnu-jpnfont/pkg-comment1
-rw-r--r--japanese/ghostscript-gnu-jpnfont/pkg-descr14
-rw-r--r--japanese/ghostscript-gnu-jpnfont/pkg-plist8
5 files changed, 4 insertions, 62 deletions
diff --git a/japanese/ghostscript-gnu-jpnfont/Makefile b/japanese/ghostscript-gnu-jpnfont/Makefile
index 123d34edfc61..0355f406110c 100644
--- a/japanese/ghostscript-gnu-jpnfont/Makefile
+++ b/japanese/ghostscript-gnu-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/japanese/ghostscript-gnu-jpnfont/files/CIDFnmap.jp b/japanese/ghostscript-gnu-jpnfont/files/CIDFnmap.jp
deleted file mode 100644
index c49344d4e544..000000000000
--- a/japanese/ghostscript-gnu-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/japanese/ghostscript-gnu-jpnfont/pkg-comment b/japanese/ghostscript-gnu-jpnfont/pkg-comment
deleted file mode 100644
index 943c826e0d1d..000000000000
--- a/japanese/ghostscript-gnu-jpnfont/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-GNU ghostscript with Japanese Font support
diff --git a/japanese/ghostscript-gnu-jpnfont/pkg-descr b/japanese/ghostscript-gnu-jpnfont/pkg-descr
deleted file mode 100644
index e9207971acc3..000000000000
--- a/japanese/ghostscript-gnu-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/japanese/ghostscript-gnu-jpnfont/pkg-plist b/japanese/ghostscript-gnu-jpnfont/pkg-plist
deleted file mode 100644
index f778a437aafc..000000000000
--- a/japanese/ghostscript-gnu-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