- move config file from lib/mutt to share/examples/mutt
- ${FOO} -> FOO in INSTALL/DEINSTALL
This commit is contained in:
parent
2264f6d974
commit
47675bec35
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.38 2000/07/29 11:15:24 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.39 2000/08/04 17:55:26 brad Exp $
|
||||
|
||||
DISTNAME= mutt-1.2.5i
|
||||
CATEGORIES= mail
|
||||
@ -73,8 +73,10 @@ pre-fetch:
|
||||
|
||||
post-install:
|
||||
@strip ${PREFIX}/bin/mutt
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/mutt
|
||||
${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/lib/mutt/Muttrc.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/mime.types ${PREFIX}/lib/mutt/mime.types.sample
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mutt
|
||||
${INSTALL_DATA} ${WRKSRC}/Muttrc \
|
||||
${PREFIX}/share/examples/mutt/Muttrc.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/mime.types \
|
||||
${PREFIX}/share/examples/mutt/mime.types.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1 2000/07/22 23:51:20 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2000/08/04 17:55:26 brad Exp $
|
||||
#
|
||||
# mutt de-installation
|
||||
|
||||
@ -8,13 +8,13 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=/etc/mutt
|
||||
|
||||
if [ -d ${CONFIG_DIR} ]; then
|
||||
if [ -d $CONFIG_DIR ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -rf ${CONFIG_DIR}"
|
||||
echo "| rm -rf $CONFIG_DIR"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1 2000/07/22 23:51:20 brad Exp $
|
||||
# $OpenBSD: INSTALL,v 1.2 2000/08/04 17:55:26 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of mutt
|
||||
|
||||
@ -9,34 +9,30 @@ set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=/etc/mutt
|
||||
SAMPLE_CONFIG_DIR=${PREFIX}/lib/mutt
|
||||
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/mutt
|
||||
|
||||
# Function: tell the user what s/he needs to do to use the port just installed
|
||||
#
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration files in ${CONFIG_DIR},"
|
||||
echo "| The existing $1 configuration files in $CONFIG_DIR,"
|
||||
echo "| have NOT been changed. You may want to compare them to the"
|
||||
echo "| current sample files in ${SAMPLE_CONFIG_DIR},"
|
||||
echo "| current sample files in $SAMPLE_CONFIG_DIR,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
# Function: install default config files from the samples
|
||||
#
|
||||
do_install()
|
||||
{
|
||||
install -d -o root -g wheel -m 755 ${CONFIG_DIR}
|
||||
install -o root -g wheel -m 644 ${SAMPLE_CONFIG_DIR}/Muttrc.sample ${CONFIG_DIR}/Muttrc
|
||||
install -o root -g wheel -m 644 ${SAMPLE_CONFIG_DIR}/mime.types.sample ${CONFIG_DIR}/mime.types
|
||||
install -d -o root -g wheel -m 755 $CONFIG_DIR
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/Muttrc.sample $CONFIG_DIR/Muttrc
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/mime.types.sample $CONFIG_DIR/mime.types
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration files have been installed into"
|
||||
echo "| ${CONFIG_DIR}. Please view these files and change"
|
||||
echo "| the configuration to meet your needs."
|
||||
echo "| $CONFIG_DIR. Please view these files and change the configuration"
|
||||
echo "| to meet your needs."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
@ -1,11 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2000/07/22 23:51:20 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.14 2000/08/04 17:55:26 brad Exp $
|
||||
bin/mutt
|
||||
bin/mutt_dotlock
|
||||
bin/muttbug
|
||||
bin/pgpewrap
|
||||
bin/pgpring
|
||||
lib/mutt/Muttrc.sample
|
||||
lib/mutt/mime.types.sample
|
||||
man/man1/mutt.1
|
||||
man/man1/mutt_dotlock.1
|
||||
man/man5/muttrc.5
|
||||
@ -41,6 +39,8 @@ share/doc/mutt/samples/pgp6.rc
|
||||
share/doc/mutt/samples/sample.mailcap
|
||||
share/doc/mutt/samples/sample.muttrc
|
||||
share/doc/mutt/samples/sample.muttrc-tlr
|
||||
share/examples/mutt/Muttrc.sample
|
||||
share/examples/mutt/mime.types.sample
|
||||
share/locale/cs/LC_MESSAGES/mutt.mo
|
||||
share/locale/da/LC_MESSAGES/mutt.mo
|
||||
share/locale/de/LC_MESSAGES/mutt.mo
|
||||
@ -60,7 +60,7 @@ share/locale/sk/LC_MESSAGES/mutt.mo
|
||||
share/locale/sv/LC_MESSAGES/mutt.mo
|
||||
share/locale/uk/LC_MESSAGES/mutt.mo
|
||||
share/locale/zh_TW.Big5/LC_MESSAGES/mutt.mo
|
||||
@dirrm lib/mutt
|
||||
@dirrm share/doc/mutt/samples
|
||||
@dirrm share/doc/mutt/html
|
||||
@dirrm share/doc/mutt
|
||||
@dirrm share/examples/mutt
|
||||
|
Loading…
Reference in New Issue
Block a user