summaryrefslogtreecommitdiff
path: root/textproc/t1lib/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/t1lib/INSTALL')
-rw-r--r--textproc/t1lib/INSTALL36
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/t1lib/INSTALL b/textproc/t1lib/INSTALL
new file mode 100644
index 00000000000..d1353d87264
--- /dev/null
+++ b/textproc/t1lib/INSTALL
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1 2001/10/31 22:58:53 zuntum Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+case ${STAGE} in
+PRE-INSTALL)
+ ;;
+POST-INSTALL)
+ CONFDIR=${PKG_PREFIX}/share/t1lib
+
+ echo "Installing configuration files:"
+ if [ ! -f ${CONFDIR}/t1lib.config ]
+ then
+ echo " t1lib.config"
+ cp ${PKG_PREFIX}/share/examples/t1lib/t1lib.config.netbsd \
+ ${CONFDIR}/t1lib.config
+ chmod 644 ${CONFDIR}/t1lib.config
+ fi
+ if [ ! -f ${CONFDIR}/FontDataBase ]
+ then
+ echo " FontDataBase"
+ cp ${PKG_PREFIX}/share/examples/t1lib/FontDataBase \
+ ${CONFDIR}/FontDataBase
+ chmod 644 ${CONFDIR}/FontDataBase
+ fi
+ echo "done."
+ ;;
+*)
+ echo "Unexpected argument: $2"
+ exit 1
+ ;;
+esac
+exit 0