summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-13 22:35:01 +0000
committerjlam <jlam@pkgsrc.org>2002-09-13 22:35:01 +0000
commit0dfbee6991d0b47cdc6f1ecc218e6ea62ba3eacc (patch)
tree1af897e99cb79c14fb2b6bdbe16227414c58af1f /fonts
parent00d260bc1512b2ef37e6a8dfde86e0dcb2dd38c0 (diff)
downloadpkgsrc-0dfbee6991d0b47cdc6f1ecc218e6ea62ba3eacc.tar.gz
Initial import of ghostscript-cidfonts-20000901.
This package enables Ghostscript to use the CID-keyed fonts provided in the adobe-cidfonts package.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/ghostscript-cidfonts/DESCR2
-rw-r--r--fonts/ghostscript-cidfonts/INSTALL32
-rw-r--r--fonts/ghostscript-cidfonts/Makefile35
-rw-r--r--fonts/ghostscript-cidfonts/PLIST2
4 files changed, 71 insertions, 0 deletions
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