diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-19 16:23:08 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-19 16:23:08 +0000 |
commit | b23d2e86260aaa8ed2013bf77ad605b63e34b0ed (patch) | |
tree | d5fafec9bfc1b14f6b1c5da4d0c45beb2b4758b4 /www/thttpd/INSTALL | |
parent | c850f81b615ba9e58563fe40c1075ad3aea9ffa4 (diff) | |
download | pkgsrc-b23d2e86260aaa8ed2013bf77ad605b63e34b0ed.tar.gz |
Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:
* Remove old DEINSTALL/INSTALL scripts.
* Move some text printed at POST-INSTALL time into the MESSAGE file.
* Adjust rc.d scripts to respect rc.conf settings, so that the
script may be directly copied into /etc/rc.d.
Diffstat (limited to 'www/thttpd/INSTALL')
-rw-r--r-- | www/thttpd/INSTALL | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/www/thttpd/INSTALL b/www/thttpd/INSTALL deleted file mode 100644 index 26bd2bbe4ef..00000000000 --- a/www/thttpd/INSTALL +++ /dev/null @@ -1,56 +0,0 @@ -#! /bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/11/01 02:18:57 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CHMOD="@CHMOD@" -CP="@CP@" - -SAMPLECONFDIR=${PKG_PREFIX}/share/examples -CONFDIR=/etc -CONFFILES="thttpd.conf" - -case ${STAGE} in -PRE-INSTALL) - ;; - -POST-INSTALL) - echo "Installing configuration files:" - for file in ${CONFFILES} - do - FILE=${CONFDIR}/${file} - SAMPLEFILE=${SAMPLECONFDIR}/${file} - 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}/${file} - echo " ${FILE}" - done - ${CAT} << EOF -=========================================================================== -EOF - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 |