aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2002-05-15 09:17:59 +0800
committermita <mita@FreeBSD.org>2002-05-15 09:17:59 +0800
commit9cb743f5eac7dc4aebaac3cbecd7fe40a015fbe6 (patch)
treebce97db3f5af8713c2e98c50cf8b3a3081250805 /japanese
parent28d6d1934c0b35b01a8787fd284453c1ffd536d1 (diff)
downloadfreebsd-ports-gnome-9cb743f5eac7dc4aebaac3cbecd7fe40a015fbe6.tar.gz
freebsd-ports-gnome-9cb743f5eac7dc4aebaac3cbecd7fe40a015fbe6.tar.zst
freebsd-ports-gnome-9cb743f5eac7dc4aebaac3cbecd7fe40a015fbe6.zip
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')
-rw-r--r--japanese/ghostscript-gnu-cjk/Makefile2
-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
6 files changed, 6 insertions, 62 deletions
diff --git a/japanese/ghostscript-gnu-cjk/Makefile b/japanese/ghostscript-gnu-cjk/Makefile
index 123d34edfc61..c30805644bef 100644
--- a/japanese/ghostscript-gnu-cjk/Makefile
+++ b/japanese/ghostscript-gnu-cjk/Makefile
@@ -21,6 +21,8 @@ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/cid.sh:${PORTSDIR}/print/gh
NO_BUILD= yes
NO_WRKSUBDIR= yes
+BROKEN= "Obsoleted by ja-ghostscript-gnu-jpnfont. Please use that."
+
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
PLIST_SUB= GS_VERSION=${PORTVERSION}
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