From ccd9f3aa03dc1efb1425443f928009e828b57b00 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 13 Sep 2002 22:35:01 +0000 Subject: Initial import of ghostscript-cidfonts-20000901. This package enables Ghostscript to use the CID-keyed fonts provided in the adobe-cidfonts package. --- fonts/ghostscript-cidfonts/DESCR | 2 ++ fonts/ghostscript-cidfonts/INSTALL | 32 ++++++++++++++++++++++++++++++++ fonts/ghostscript-cidfonts/Makefile | 35 +++++++++++++++++++++++++++++++++++ fonts/ghostscript-cidfonts/PLIST | 2 ++ 4 files changed, 71 insertions(+) create mode 100644 fonts/ghostscript-cidfonts/DESCR create mode 100644 fonts/ghostscript-cidfonts/INSTALL create mode 100644 fonts/ghostscript-cidfonts/Makefile create mode 100644 fonts/ghostscript-cidfonts/PLIST (limited to 'fonts') diff --git a/fonts/ghostscript-cidfonts/DESCR b/fonts/ghostscript-cidfonts/DESCR new file mode 100644 index 00000000000..01010eb4e33 --- /dev/null +++ b/fonts/ghostscript-cidfonts/DESCR @@ -0,0 +1,2 @@ +This package enables Ghostscript to use the CID-keyed fonts provided in +the adobe-cidfonts package. diff --git a/fonts/ghostscript-cidfonts/INSTALL b/fonts/ghostscript-cidfonts/INSTALL new file mode 100644 index 00000000000..b4150270d6c --- /dev/null +++ b/fonts/ghostscript-cidfonts/INSTALL @@ -0,0 +1,32 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2002/09/13 22:35:01 jlam Exp $ + +ADOBE_RESOURCEDIR="@ADOBE_RESOURCEDIR@" +GS_RESOURCEDIR="@GS_RESOURCEDIR@" +PKG_INFO="@PKG_INFO@" + +FONTFILES=` \ + ${PKG_INFO} -f adobe-cidfonts | \ + ${AWK} '/File:.*\/Resource\/CIDFont\// { print $2 }' \ +` + +case ${STAGE} in +POST-INSTALL) + for file in ${FONTFILES}; do + base=`${BASENAME} $file` + dest="${GS_RESOURCEDIR}/CIDFont/$base" + src="../../../../$file" + ${RM} -f $dest + ${LN} -sf $src $dest + done + ;; + +DEINSTALL) + for file in ${FONTFILES}; do + base=`${BASENAME} $file` + dest="${GS_RESOURCEDIR}/CIDFont/$base" + ${RM} -f $dest + done + ;; +esac diff --git a/fonts/ghostscript-cidfonts/Makefile b/fonts/ghostscript-cidfonts/Makefile new file mode 100644 index 00000000000..bf0dd1ed287 --- /dev/null +++ b/fonts/ghostscript-cidfonts/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/09/13 22:35:01 jlam Exp $ + +DISTNAME= ghostscript-cidfonts-20000901 +CATEGORIES= fonts +MASTER_SITES= # empty +DISTFILES= # empty + +DEPENDS+= adobe-cidfonts>=20000901:../../fonts/adobe-cidfonts + +MAINTAINER= jlam@netbsd.org +COMMENT= CIDFont resources for Ghostscript + +GHOSTSCRIPT_REQD= 6.53 + +ADOBE_RESOURCEDIR= ${PREFIX}/share/Adobe/Resource +GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource + +EXTRACT_ONLY= # empty +NO_CONFIGURE= # defined +NO_BUILD= # defined + +DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL +INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL + +FILES_SUBST+= ADOBE_RESOURCEDIR=${ADOBE_RESOURCEDIR} +FILES_SUBST+= GS_RESOURCEDIR=${GS_RESOURCEDIR} +FILES_SUBST+= PKG_INFO=${PKG_TOOLS_BIN}/pkg_info + +MAKE_DIRS= ${GS_RESOURCEDIR} ${GS_RESOURCEDIR}/CIDFont + +do-install: # nothing + +.include "../../mk/ghostscript.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/ghostscript-cidfonts/PLIST b/fonts/ghostscript-cidfonts/PLIST new file mode 100644 index 00000000000..db18fb59933 --- /dev/null +++ b/fonts/ghostscript-cidfonts/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/13 22:35:01 jlam Exp $ +@comment empty packing list -- cgit v1.2.3