summaryrefslogtreecommitdiff
path: root/print/LPRng-core/INSTALL
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-21 13:50:46 +0000
committerjlam <jlam>2006-06-21 13:50:46 +0000
commit0c43c5d55221447f85474e99a1bedd8cc3008f58 (patch)
tree5f16de56f237a11399dc8d5b2b72bfca54fdd4e2 /print/LPRng-core/INSTALL
parentf893219e0ad88563f859ce3f68bc6d11d3a127a3 (diff)
downloadpkgsrc-0c43c5d55221447f85474e99a1bedd8cc3008f58.tar.gz
Fully convert to using the pkginstall framework, and make the rc.d script
use /etc/rc.subr. Bump the PKGREVISION to 3.
Diffstat (limited to 'print/LPRng-core/INSTALL')
-rw-r--r--print/LPRng-core/INSTALL69
1 files changed, 0 insertions, 69 deletions
diff --git a/print/LPRng-core/INSTALL b/print/LPRng-core/INSTALL
deleted file mode 100644
index 843bdf7474f..00000000000
--- a/print/LPRng-core/INSTALL
+++ /dev/null
@@ -1,69 +0,0 @@
-#! /bin/sh
-#
-# $NetBSD: INSTALL,v 1.3 2004/09/06 10:44:44 martti Exp $
-
-PKGNAME=$1
-STAGE=$2
-
-CAT="@CAT@"
-CHMOD="@CHMOD@"
-CP="@CP@"
-MKDIR="@MKDIR@"
-
-SAMPLECONFDIR=${PKG_PREFIX}/share/examples/LPRng
-CONFDIR="@PKG_SYSCONFDIR@"
-CONFFILES="lpd.conf lpd.perms"
-NONCONFFILES="printcap"
-
-case ${STAGE} in
-POST-INSTALL)
- echo "Installing configuration files:"
- ${MKDIR} ${CONFDIR}/lpd
- for file in ${CONFFILES}
- do
- FILE=${CONFDIR}/lpd/${file}
- SAMPLEFILE=${SAMPLECONFDIR}/${file}.example
- if [ -f ${FILE} ]
- then
- echo " ${FILE} already exists"
- else
- echo " ${FILE}"
- ${CP} ${SAMPLEFILE} ${FILE}
- ${CHMOD} 644 ${FILE}
- fi
- done
- for file in ${NONCONFFILES}
- do
- FILE=${CONFDIR}/${file}
- SAMPLEFILE=${SAMPLECONFDIR}/${file}.example
- if [ -f ${FILE} ]
- then
- echo " ${FILE} already exists"
- else
- echo " ${FILE}"
- ${CP} ${SAMPLEFILE} ${FILE}
- ${CHMOD} 644 ${FILE}
- fi
- done
- ${CAT} << EOF
-
-===========================================================================
-Some files you might need to customize include the following:
-
-EOF
- for file in ${CONFFILES}
- do
- FILE=${CONFDIR}/lpd/${file}
- echo " ${FILE}"
- done
- for file in ${NONCONFFILES}
- do
- FILE=${CONFDIR}/${file}
- echo " ${FILE}"
- done
- ${CAT} << EOF
-===========================================================================
-EOF
- ;;
-esac
-exit 0