summaryrefslogtreecommitdiff
path: root/textproc/t1lib/INSTALL
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-10-31 22:52:58 +0000
committerzuntum <zuntum>2001-10-31 22:52:58 +0000
commitec263708b4436f2f6fe8ff2c5ddd38bc49dbd322 (patch)
treeb3c17888184b1b17ed1b1fa28f1697197bb0b4f6 /textproc/t1lib/INSTALL
parent26e767802169bc1a013a3a64740d0a84afa59755 (diff)
downloadpkgsrc-ec263708b4436f2f6fe8ff2c5ddd38bc49dbd322.tar.gz
Move pkg/ files into package's toplevel directory
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