From 1d697f4ff26b0f9b6244f5ad3730a3e72104640c Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 13 Sep 2002 22:35:49 +0000 Subject: Initial import of ghostscript-cmaps-20020913. This package enables Ghostscript to use the CMap files provided in the adobe-cmaps package. --- fonts/ghostscript-cmaps/DESCR | 2 ++ fonts/ghostscript-cmaps/INSTALL | 32 ++++++++++++++++++++++++++++++++ fonts/ghostscript-cmaps/Makefile | 34 ++++++++++++++++++++++++++++++++++ fonts/ghostscript-cmaps/PLIST | 2 ++ 4 files changed, 70 insertions(+) create mode 100644 fonts/ghostscript-cmaps/DESCR create mode 100644 fonts/ghostscript-cmaps/INSTALL create mode 100644 fonts/ghostscript-cmaps/Makefile create mode 100644 fonts/ghostscript-cmaps/PLIST (limited to 'fonts/ghostscript-cmaps') diff --git a/fonts/ghostscript-cmaps/DESCR b/fonts/ghostscript-cmaps/DESCR new file mode 100644 index 00000000000..5b9826c160c --- /dev/null +++ b/fonts/ghostscript-cmaps/DESCR @@ -0,0 +1,2 @@ +This package enables Ghostscript to use the CMap files provided in the +adobe-cmaps package. diff --git a/fonts/ghostscript-cmaps/INSTALL b/fonts/ghostscript-cmaps/INSTALL new file mode 100644 index 00000000000..cec0411abdf --- /dev/null +++ b/fonts/ghostscript-cmaps/INSTALL @@ -0,0 +1,32 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2002/09/13 22:35:49 jlam Exp $ + +ADOBE_RESOURCEDIR="@ADOBE_RESOURCEDIR@" +GS_RESOURCEDIR="@GS_RESOURCEDIR@" +PKG_INFO="@PKG_INFO@" + +FONTFILES=` \ + ${PKG_INFO} -f adobe-cmaps | \ + ${AWK} '/File:.*\/Resource\/CMap\// { print $2 }' \ +` + +case ${STAGE} in +POST-INSTALL) + for file in ${FONTFILES}; do + base=`${BASENAME} $file` + dest="${GS_RESOURCEDIR}/CMap/$base" + src="../../../../$file" + ${RM} -f $dest + ${LN} -sf $src $dest + done + ;; + +DEINSTALL) + for file in ${FONTFILES}; do + fontbase=`${BASENAME} $file` + dest="${GS_RESOURCEDIR}/CMap/$base" + ${RM} -f $dest + done + ;; +esac diff --git a/fonts/ghostscript-cmaps/Makefile b/fonts/ghostscript-cmaps/Makefile new file mode 100644 index 00000000000..4b67886062b --- /dev/null +++ b/fonts/ghostscript-cmaps/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/09/13 22:35:49 jlam Exp $ + +DISTNAME= ghostscript-cmaps-20020913 +CATEGORIES= fonts +MASTER_SITES= # empty +DISTFILES= # empty + +DEPENDS+= adobe-cmaps>=20020913:../../fonts/adobe-cmaps + +MAINTAINER= jlam@netbsd.org +COMMENT= CMap 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}/CMap + +do-install: # nothing + +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/ghostscript-cmaps/PLIST b/fonts/ghostscript-cmaps/PLIST new file mode 100644 index 00000000000..bfd86fb8cc4 --- /dev/null +++ b/fonts/ghostscript-cmaps/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/13 22:35:49 jlam Exp $ +@comment empty packing list -- cgit v1.2.3