aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript7-korfont
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2007-04-28 21:03:16 +0800
committerhrs <hrs@FreeBSD.org>2007-04-28 21:03:16 +0800
commited1f4c541c95c56d099b48bb52ff53d5c34806bb (patch)
tree809af14cbb9cad7d1a9b177b46be43628c281326 /print/ghostscript7-korfont
parent670b9382a20f633d6c0cb952c05cccabeb8a118f (diff)
downloadfreebsd-ports-gnome-ed1f4c541c95c56d099b48bb52ff53d5c34806bb.tar.gz
freebsd-ports-gnome-ed1f4c541c95c56d099b48bb52ff53d5c34806bb.tar.zst
freebsd-ports-gnome-ed1f4c541c95c56d099b48bb52ff53d5c34806bb.zip
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).
Diffstat (limited to 'print/ghostscript7-korfont')
-rw-r--r--print/ghostscript7-korfont/Makefile24
-rw-r--r--print/ghostscript7-korfont/pkg-descr1
2 files changed, 20 insertions, 5 deletions
diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile
index 14c57f42f9ff..c9883a21d718 100644
--- a/print/ghostscript7-korfont/Makefile
+++ b/print/ghostscript7-korfont/Makefile
@@ -5,12 +5,26 @@
# $FreeBSD$
#
-MASTERDIR= ${.CURDIR}/../../print/ghostscript-gnu-commfont
-PORTREVISION= 1
+PORTNAME= ghostscript-gnu-korfont
+PORTVERSION= 7.07
+PORTREVISION= 2
+CATEGORIES= korean print
+MASTER_SITES= # empty
+DISTFILES= # empty
-.undef COMMFONT
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= Korean font support for GNU Ghostscript
-KORFONT= yes
+RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:${PORTSDIR}/korean/munhwafonts-cid \
+ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${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 <bsd.port.mk>
diff --git a/print/ghostscript7-korfont/pkg-descr b/print/ghostscript7-korfont/pkg-descr
new file mode 100644
index 000000000000..8de62f2138fa
--- /dev/null
+++ b/print/ghostscript7-korfont/pkg-descr
@@ -0,0 +1 @@
+This is a meta package to add Korean font support to GNU Ghostscript.