diff options
author | jlam <jlam> | 2002-09-13 22:35:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-13 22:35:49 +0000 |
commit | 1d697f4ff26b0f9b6244f5ad3730a3e72104640c (patch) | |
tree | 7375c56e6df9595253242891d0ddb53541f53f81 /fonts | |
parent | b5b90c5c92e8a3f5a56cfa46ea2fc388df38b13a (diff) | |
download | pkgsrc-1d697f4ff26b0f9b6244f5ad3730a3e72104640c.tar.gz |
Initial import of ghostscript-cmaps-20020913.
This package enables Ghostscript to use the CMap files provided in the
adobe-cmaps package.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/ghostscript-cmaps/DESCR | 2 | ||||
-rw-r--r-- | fonts/ghostscript-cmaps/INSTALL | 32 | ||||
-rw-r--r-- | fonts/ghostscript-cmaps/Makefile | 34 | ||||
-rw-r--r-- | fonts/ghostscript-cmaps/PLIST | 2 |
4 files changed, 70 insertions, 0 deletions
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 |