From c72c1cf5f95cbe537b005028f1743cddb16ef203 Mon Sep 17 00:00:00 2001 From: zuntum Date: Thu, 1 Nov 2001 00:57:41 +0000 Subject: Move pkg/ files into package's toplevel directory --- mail/mutt/DEINSTALL | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ mail/mutt/DESCR | 9 +++++++ mail/mutt/INSTALL | 57 +++++++++++++++++++++++++++++++++++++++++ mail/mutt/PLIST | 66 +++++++++++++++++++++++++++++++++++++++++++++++ mail/mutt/pkg/DEINSTALL | 68 ------------------------------------------------- mail/mutt/pkg/DESCR | 9 ------- mail/mutt/pkg/INSTALL | 57 ----------------------------------------- mail/mutt/pkg/PLIST | 66 ----------------------------------------------- 8 files changed, 200 insertions(+), 200 deletions(-) create mode 100644 mail/mutt/DEINSTALL create mode 100644 mail/mutt/DESCR create mode 100644 mail/mutt/INSTALL create mode 100644 mail/mutt/PLIST delete mode 100644 mail/mutt/pkg/DEINSTALL delete mode 100644 mail/mutt/pkg/DESCR delete mode 100644 mail/mutt/pkg/INSTALL delete mode 100644 mail/mutt/pkg/PLIST (limited to 'mail/mutt') diff --git a/mail/mutt/DEINSTALL b/mail/mutt/DEINSTALL new file mode 100644 index 00000000000..4f319ee3d78 --- /dev/null +++ b/mail/mutt/DEINSTALL @@ -0,0 +1,68 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2001/11/01 01:00:37 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CMP="@CMP@" +RM="@RM@" + +SAMPLECONFDIR=${PKG_PREFIX}/share/doc/mutt/samples +CONFDIR=${PKG_PREFIX}/etc +CONFFILES="Muttrc" +NONCONFFILES="mime.types" + +case ${STAGE} in +DEINSTALL) + # Remove configuration files if they don't differ from the default + # config file. + # + for file in ${CONFFILES} ${NONCONFFILES} + do + FILE=${CONFDIR}/${file} + SAMPLEFILE=${SAMPLECONFDIR}/${file} + if ${CMP} -s ${FILE} ${SAMPLEFILE} + then + ${RM} -f ${FILE} + fi + done + ;; + +POST-DEINSTALL) + modified_files='' + for file in ${CONFFILES} ${NONCONFFILES} + do + FILE=${CONFDIR}/${file} + if [ -f ${FILE} ] + then + modified_files="${modified_files} ${FILE}" + fi + done + + if [ -n "${modified_files}" ] + then + ${CAT} << EOF +=========================================================================== +If you won't be using ${PKGNAME} any longer, you may want to remove: + + * the following files: + +EOF + for file in ${modified_files} + do + echo " ${file}" + done + ${CAT} << EOF +=========================================================================== +EOF + fi + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/mail/mutt/DESCR b/mail/mutt/DESCR new file mode 100644 index 00000000000..60af96672d3 --- /dev/null +++ b/mail/mutt/DESCR @@ -0,0 +1,9 @@ +The Mutt E-Mail Client by Michael Elkins + +``All mail clients suck. This one just sucks less.'' -me, circa 1995 + +Mutt is a small but very powerful text-based MIME mail client.Mutt +is highly configurable, and is well suited to the mail power user with +advanced features like key bindings, keyboard macros, mail threading, +regular expression searches and a powerful pattern matching language +for selecting groups of messages. diff --git a/mail/mutt/INSTALL b/mail/mutt/INSTALL new file mode 100644 index 00000000000..80abc193485 --- /dev/null +++ b/mail/mutt/INSTALL @@ -0,0 +1,57 @@ +#! /bin/sh +# +# $NetBSD: INSTALL,v 1.1 2001/11/01 01:00:37 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CHMOD="@CHMOD@" +CP="@CP@" + +SAMPLECONFDIR=${PKG_PREFIX}/share/doc/mutt/samples +CONFDIR=${PKG_PREFIX}/etc +CONFFILES="Muttrc" +NONCONFFILES="mime.types" + +case ${STAGE} in +PRE-INSTALL) + ;; + +POST-INSTALL) + echo "Installing configuration files:" + for file in ${CONFFILES} ${NONCONFFILES} + 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 diff --git a/mail/mutt/PLIST b/mail/mutt/PLIST new file mode 100644 index 00000000000..f74b814a680 --- /dev/null +++ b/mail/mutt/PLIST @@ -0,0 +1,66 @@ +@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:00:37 zuntum Exp $ +bin/mutt +bin/muttbug +bin/pgpewrap +bin/pgpring +man/man1/mutt.1 +man/man1/mutt_dotlock.1 +man/man5/muttrc.5 +share/doc/mutt/COPYRIGHT +share/doc/mutt/ChangeLog +share/doc/mutt/GPL +share/doc/mutt/INSTALL +share/doc/mutt/NEWS +share/doc/mutt/PGP-Notes.txt +share/doc/mutt/README +share/doc/mutt/README.SECURITY +share/doc/mutt/README.SSL +share/doc/mutt/README.UPGRADE +share/doc/mutt/TODO +share/doc/mutt/applying-patches.txt +share/doc/mutt/devel-notes.txt +share/doc/mutt/html/manual-1.html +share/doc/mutt/html/manual-2.html +share/doc/mutt/html/manual-3.html +share/doc/mutt/html/manual-4.html +share/doc/mutt/html/manual-5.html +share/doc/mutt/html/manual-6.html +share/doc/mutt/html/manual-7.html +share/doc/mutt/html/manual.html +share/doc/mutt/manual.txt +share/doc/mutt/samples/Mush.rc +share/doc/mutt/samples/Muttrc +share/doc/mutt/samples/Pine.rc +share/doc/mutt/samples/Tin.rc +share/doc/mutt/samples/gpg.rc +share/doc/mutt/samples/mime.types +share/doc/mutt/samples/pgp2.rc +share/doc/mutt/samples/pgp5.rc +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 +${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/da/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/el/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/eo/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/id/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/it/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/mutt.mo +${PKGLOCALEDIR}/locale/zh_TW.Big5/LC_MESSAGES/mutt.mo +share/mutt/.directory +@dirrm share/mutt +@dirrm share/doc/mutt/samples +@dirrm share/doc/mutt/html +@dirrm share/doc/mutt diff --git a/mail/mutt/pkg/DEINSTALL b/mail/mutt/pkg/DEINSTALL deleted file mode 100644 index 1a58deb6a5f..00000000000 --- a/mail/mutt/pkg/DEINSTALL +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.3 2001/07/13 07:09:19 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CMP="@CMP@" -RM="@RM@" - -SAMPLECONFDIR=${PKG_PREFIX}/share/doc/mutt/samples -CONFDIR=${PKG_PREFIX}/etc -CONFFILES="Muttrc" -NONCONFFILES="mime.types" - -case ${STAGE} in -DEINSTALL) - # Remove configuration files if they don't differ from the default - # config file. - # - for file in ${CONFFILES} ${NONCONFFILES} - do - FILE=${CONFDIR}/${file} - SAMPLEFILE=${SAMPLECONFDIR}/${file} - if ${CMP} -s ${FILE} ${SAMPLEFILE} - then - ${RM} -f ${FILE} - fi - done - ;; - -POST-DEINSTALL) - modified_files='' - for file in ${CONFFILES} ${NONCONFFILES} - do - FILE=${CONFDIR}/${file} - if [ -f ${FILE} ] - then - modified_files="${modified_files} ${FILE}" - fi - done - - if [ -n "${modified_files}" ] - then - ${CAT} << EOF -=========================================================================== -If you won't be using ${PKGNAME} any longer, you may want to remove: - - * the following files: - -EOF - for file in ${modified_files} - do - echo " ${file}" - done - ${CAT} << EOF -=========================================================================== -EOF - fi - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/mail/mutt/pkg/DESCR b/mail/mutt/pkg/DESCR deleted file mode 100644 index 60af96672d3..00000000000 --- a/mail/mutt/pkg/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -The Mutt E-Mail Client by Michael Elkins - -``All mail clients suck. This one just sucks less.'' -me, circa 1995 - -Mutt is a small but very powerful text-based MIME mail client.Mutt -is highly configurable, and is well suited to the mail power user with -advanced features like key bindings, keyboard macros, mail threading, -regular expression searches and a powerful pattern matching language -for selecting groups of messages. diff --git a/mail/mutt/pkg/INSTALL b/mail/mutt/pkg/INSTALL deleted file mode 100644 index 7c480ee13cf..00000000000 --- a/mail/mutt/pkg/INSTALL +++ /dev/null @@ -1,57 +0,0 @@ -#! /bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/06/20 07:10:59 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CHMOD="@CHMOD@" -CP="@CP@" - -SAMPLECONFDIR=${PKG_PREFIX}/share/doc/mutt/samples -CONFDIR=${PKG_PREFIX}/etc -CONFFILES="Muttrc" -NONCONFFILES="mime.types" - -case ${STAGE} in -PRE-INSTALL) - ;; - -POST-INSTALL) - echo "Installing configuration files:" - for file in ${CONFFILES} ${NONCONFFILES} - 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 diff --git a/mail/mutt/pkg/PLIST b/mail/mutt/pkg/PLIST deleted file mode 100644 index 111c7bb0912..00000000000 --- a/mail/mutt/pkg/PLIST +++ /dev/null @@ -1,66 +0,0 @@ -@comment $NetBSD: PLIST,v 1.14 2001/06/20 07:10:59 jlam Exp $ -bin/mutt -bin/muttbug -bin/pgpewrap -bin/pgpring -man/man1/mutt.1 -man/man1/mutt_dotlock.1 -man/man5/muttrc.5 -share/doc/mutt/COPYRIGHT -share/doc/mutt/ChangeLog -share/doc/mutt/GPL -share/doc/mutt/INSTALL -share/doc/mutt/NEWS -share/doc/mutt/PGP-Notes.txt -share/doc/mutt/README -share/doc/mutt/README.SECURITY -share/doc/mutt/README.SSL -share/doc/mutt/README.UPGRADE -share/doc/mutt/TODO -share/doc/mutt/applying-patches.txt -share/doc/mutt/devel-notes.txt -share/doc/mutt/html/manual-1.html -share/doc/mutt/html/manual-2.html -share/doc/mutt/html/manual-3.html -share/doc/mutt/html/manual-4.html -share/doc/mutt/html/manual-5.html -share/doc/mutt/html/manual-6.html -share/doc/mutt/html/manual-7.html -share/doc/mutt/html/manual.html -share/doc/mutt/manual.txt -share/doc/mutt/samples/Mush.rc -share/doc/mutt/samples/Muttrc -share/doc/mutt/samples/Pine.rc -share/doc/mutt/samples/Tin.rc -share/doc/mutt/samples/gpg.rc -share/doc/mutt/samples/mime.types -share/doc/mutt/samples/pgp2.rc -share/doc/mutt/samples/pgp5.rc -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 -${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/da/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/de/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/el/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/eo/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/es/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/id/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/it/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/mutt.mo -${PKGLOCALEDIR}/locale/zh_TW.Big5/LC_MESSAGES/mutt.mo -share/mutt/.directory -@dirrm share/mutt -@dirrm share/doc/mutt/samples -@dirrm share/doc/mutt/html -@dirrm share/doc/mutt -- cgit v1.2.3