From 4046a765caf6634349cc97c1f4fbf9a8f7d5f061 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sat, 28 Apr 2007 13:03:16 +0000 Subject: Cleanup ghostscript-gnu-commfont and related CJK font support meta ports. Changes include: - Set WITH_GHOSTSCRIPT_GNU forcibly. - Use PostScript virtual fonts to handle CJK CID/TT-CID emulated fonts. CIDFnmap still works but when a font is both in Resource/Font or Resource/CIDFont and in CIDFnmap, the former entry will be used. For the actual font mapping, see files in Resource/CIDFont/*. So, note that you need to remove (or rename) the virtual font if you use CIDFnmap for the moment. This is still a transitional measure and more consistent font management thoughout the ports collection should be added later. This is just an internal structural change; default font mapping has not been changed. - Add Chinese font support to print/gsfonts (but no dependency added). --- print/ghostscript7-jpnfont/Makefile | 25 ++++++++++++++++++++----- print/ghostscript7-jpnfont/pkg-descr | 1 + 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 print/ghostscript7-jpnfont/pkg-descr (limited to 'print/ghostscript7-jpnfont') diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile index 05ab9ae0538d..f5cd18821567 100644 --- a/print/ghostscript7-jpnfont/Makefile +++ b/print/ghostscript7-jpnfont/Makefile @@ -5,11 +5,26 @@ # $FreeBSD$ # -MASTERDIR= ${.CURDIR}/../../print/ghostscript-gnu-commfont -PORTREVISION= 3 +PORTNAME= ghostscript-gnu-jpnfont +PORTVERSION= 7.07 +PORTREVISION= 4 +CATEGORIES= japanese print +MASTER_SITES= # empty +DISTFILES= # empty -.undef COMMFONT +MAINTAINER= hrs@FreeBSD.org +COMMENT= Japanese font support for GNU Ghostscript -JPNFONT= yes +RUN_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/ipam.ttf:${PORTSDIR}/japanese/ipa-ttfonts \ + ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript-gnu-commfont -.include "${MASTERDIR}/Makefile.common" +# set these forcibly +WITH_GHOSTSCRIPT_GNU= yes +USE_GHOSTSCRIPT_RUN= yes +NO_BUILD= yes +DEPENDS_ARGS+= -DA4 + +do-install: + @${DO_NADA} + +.include diff --git a/print/ghostscript7-jpnfont/pkg-descr b/print/ghostscript7-jpnfont/pkg-descr new file mode 100644 index 000000000000..0cfe0eb875d4 --- /dev/null +++ b/print/ghostscript7-jpnfont/pkg-descr @@ -0,0 +1 @@ +This is a meta package to add Japanese font support to GNU Ghostscript. -- cgit v1.2.3