pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mutt-devel Resurrect mail/mutt-devel and make it ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d316dd1d08b
branches:  trunk
changeset: 478321:2d316dd1d08b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 21 22:37:10 2004 +0000

description:
Resurrect mail/mutt-devel and make it install mutt-1.5.6, the development
version of Mutt, a text mail reader and PGP & S/MIME support.  This
is primarily to support a mutt that builds with SASLv2 support.

diffstat:

 mail/mutt-devel/DESCR            |    9 +++
 mail/mutt-devel/INSTALL          |   12 ++++
 mail/mutt-devel/Makefile         |   93 ++++++++++++++++++++++++++++++++++
 mail/mutt-devel/Makefile.options |   71 ++++++++++++++++++++++++++
 mail/mutt-devel/PLIST            |  104 +++++++++++++++++++++++++++++++++++++++
 mail/mutt-devel/distinfo         |   11 ++++
 mail/mutt-devel/patches/patch-aa |   18 ++++++
 mail/mutt-devel/patches/patch-ab |   18 ++++++
 mail/mutt-devel/patches/patch-ac |   16 ++++++
 mail/mutt-devel/patches/patch-ag |   13 ++++
 mail/mutt-devel/patches/patch-ah |   18 ++++++
 mail/mutt-devel/patches/patch-ai |   12 ++++
 mail/mutt-devel/patches/patch-al |   15 +++++
 13 files changed, 410 insertions(+), 0 deletions(-)

diffs (truncated from 462 to 300 lines):

diff -r 01832575be28 -r 2d316dd1d08b mail/mutt-devel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt-devel/DESCR     Wed Jul 21 22:37:10 2004 +0000
@@ -0,0 +1,9 @@
+The Mutt E-Mail Client by Michael Elkins <me%cs.hmc.edu@localhost>
+
+``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 -r 01832575be28 -r 2d316dd1d08b mail/mutt-devel/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt-devel/INSTALL   Wed Jul 21 22:37:10 2004 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.3 2004/07/21 22:37:10 jlam Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+       ${RM} -f @DOCDIR@/samples
+       ${LN} -sf ../../examples/mutt @DOCDIR@/samples
+       ;;
+
+DEINSTALL)
+       ${RM} -f @DOCDIR@/samples
+       ;;
+esac
diff -r 01832575be28 -r 2d316dd1d08b mail/mutt-devel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt-devel/Makefile  Wed Jul 21 22:37:10 2004 +0000
@@ -0,0 +1,93 @@
+# $NetBSD: Makefile,v 1.26 2004/07/21 22:37:10 jlam Exp $
+
+DISTNAME=              mutt-1.5.6i
+PKGNAME=               ${DISTNAME:C/i$//}
+CATEGORIES=            mail
+MUTT_SITES=            ftp://ftp.mutt.org/mutt/ \
+                       ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
+                       ftp://gd.tuwien.ac.at/infosys/mail/mutt/ \
+                       ftp://ftp.fu-berlin.de/unix/mail/mutt/
+MASTER_SITES=          ${MUTT_SITES:=devel/}
+
+MAINTAINER=            jlam%NetBSD.org@localhost
+HOMEPAGE=              http://www.mutt.org/
+COMMENT=               Text-based MIME mail client with PGP & S/MIME support
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+.include "../../mk/bsd.prefs.mk"
+
+WRKSRC=                        ${WRKDIR}/${DISTNAME:C/i$$//}
+BUILD_DEFS+=           MUTT_OPTIONS
+BUILD_USES_MSGFMT=     yes
+USE_BUILDLINK3=                yes
+USE_PKGLOCALEDIR=      yes
+USE_PERL5=             yes
+REPLACE_PERL=          smime_keys */*.pl
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}                  \
+                       --with-docdir=${PREFIX}/share/doc/mutt          \
+                       --without-included-gettext                      \
+                       --enable-pop                                    \
+                       --enable-imap
+
+.if (${OPSYS} == "SunOS")
+CONFIGURE_ARGS+=       --without-wc-funcs
+.endif
+
+# There is a problem using /bin/sh on old NetBSD releases, so use /bin/ksh
+# there.
+#
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-5]*-*)
+CONFIGURE_ARGS+=       --with-exec-shell=/bin/ksh
+.endif
+
+.include "Makefile.options"
+
+LDFLAGS+=              ${_STRIPFLAG_CC}
+
+USE_PKGINSTALL=                yes
+DEINSTALL_EXTRA_TMPL=  ${.CURDIR}/INSTALL
+INSTALL_EXTRA_TMPL=    ${.CURDIR}/INSTALL
+DOCDIR=                        ${PREFIX}/share/doc/mutt
+EGDIR=                 ${PREFIX}/share/examples/mutt
+CONF_FILES=            ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
+SUPPORT_FILES=         ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
+FILES_SUBST+=          DOCDIR=${DOCDIR}
+
+.if exists(${WRKSRC}/mutt_dotlock)
+PLIST_SUBST+=          MUTT_DOTLOCK=
+.else
+PLIST_SUBST+=          MUTT_DOTLOCK="@comment "
+.endif
+INSTALL_MAKE_FLAGS=    ${MAKE_FLAGS} sysconfdir=${EGDIR}
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+
+# Fix some absolute paths in installed files.
+post-build:
+       for file in ${WRKSRC}/contrib/gpg.rc; do                        \
+               ${MV} -f $$file $$file.save;                            \
+               ${SED}  -e "s,/usr/bin/gpg,gpg,g"                       \
+                       $$file.save > $$file;                           \
+       done
+       for file in ${WRKSRC}/doc/mutt.man; do                          \
+               ${MV} -f $$file $$file.save;                            \
+               ${SED}  -e "s,/etc/,${PKG_SYSCONFDIR}/,g"               \
+                       -e "s,/usr/local/doc/mutt/,${DOCDIR}/,g"        \
+                       -e "s,/usr/local/,${PREFIX}/,g"                 \
+                       $$file.save > $$file;                           \
+       done
+
+# Pre-create some directories and symlinks used during the installation
+# process.
+#
+pre-install:
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${RM} -f ${DOCDIR}/samples
+       ${LN} -sf ${EGDIR} ${DOCDIR}/samples
+
+.include "../../mk/bsd.pkg.mk"
diff -r 01832575be28 -r 2d316dd1d08b mail/mutt-devel/Makefile.options
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt-devel/Makefile.options  Wed Jul 21 22:37:10 2004 +0000
@@ -0,0 +1,71 @@
+# $NetBSD: Makefile.options,v 1.1 2004/07/21 22:37:10 jlam Exp $
+#
+# MUTT_ALL_OPTIONS lists all of the currently-supported optional modules
+# that may be built into Mutt.
+#
+# MUTT_OPTIONS is a list of the modules that will be built into Mutt.
+#
+MUTT_ALL_OPTIONS=      slang ncurses ssl sasl
+
+.if defined(MUTT_USE_SLANG) || defined(MUTT_USE_NCURSES) || \
+    defined(MUTT_USE_SSL) || defined(MUTT_USE_SASL)
+.  if !defined(MUTT_OPTIONS)
+.    if defined(MUTT_USE_SLANG) && !empty(MUTT_USE_SLANG:M[yY][eE][sS])
+MUTT_OPTIONS+=         slang
+.    endif
+.    if defined(MUTT_USE_NCURSES) && !empty(MUTT_USE_NCURSES:M[yY][eE][sS])
+MUTT_OPTIONS+=         ncurses
+.    endif
+.    if defined(MUTT_USE_SSL) && !empty(MUTT_USE_SSL:M[yY][eE][sS])
+MUTT_OPTIONS+=         ssl
+.    endif
+.    if defined(MUTT_USE_SASL) && !empty(MUTT_USE_SASL:M[yY][eE][sS])
+MUTT_OPTIONS+=         sasl
+.    endif
+.  endif
+.endif
+
+MUTT_OPTIONS?=         ssl
+
+_MUTT_OPTIONS=         # empty
+.for _opt_ in ${MUTT_OPTIONS}
+.  if empty(_MUTT_OPTIONS:M${_opt_})
+.    if !empty(MUTT_ALL_OPTIONS:M${_opt_})
+_MUTT_OPTIONS+=                ${_opt_}
+.    else
+PKG_FAIL_REASON+=      "\"${_opt_}\" is not a supported Mutt build option."
+.    endif
+.  endif
+.endfor
+
+###
+### Slang and ncurses
+###
+.if !empty(_MUTT_OPTIONS:Mslang)
+.  include "../../devel/libslang/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-slang=${BUILDLINK_PREFIX.libslang}
+.else
+.  if !empty(_MUTT_OPTIONS:Mslang)
+USE_NCURSES=           yes
+.  endif
+.  include "../../devel/ncurses/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-curses=${BUILDLINK_PREFIX.ncurses}
+.endif
+
+###
+### SASLv2
+###
+.if !empty(_MUTT_OPTIONS:Msasl)
+.  include "../../security/cyrus-sasl2/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-sasl2=${BUILDLINK_PREFIX.cyrus-sasl}
+.endif
+
+###
+### SSL
+###
+.if !empty(_MUTT_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-ssl=${SSLBASE}
+.else
+CONFIGURE_ARGS+=       --without-ssl
+.endif
diff -r 01832575be28 -r 2d316dd1d08b mail/mutt-devel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt-devel/PLIST     Wed Jul 21 22:37:10 2004 +0000
@@ -0,0 +1,104 @@
+@comment $NetBSD: PLIST,v 1.5 2004/07/21 22:37:10 jlam Exp $
+bin/flea
+bin/mutt
+bin/muttbug
+${MUTT_DOTLOCK}bin/mutt_dotlock
+bin/pgpewrap
+bin/pgpring
+bin/smime_keys
+man/man1/flea.1
+man/man1/mutt.1
+man/man1/mutt_dotlock.1
+man/man1/muttbug.1
+man/man5/mutt-mbox.5
+man/man5/muttrc.5
+share/doc/mutt/COPYRIGHT
+share/doc/mutt/ChangeLog
+share/doc/mutt/ChangeLog.old
+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/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/patch-notes.txt
+share/doc/mutt/smime-notes.txt
+share/examples/mutt/Mush.rc
+share/examples/mutt/Muttrc
+share/examples/mutt/Pine.rc
+share/examples/mutt/Tin.rc
+share/examples/mutt/ca-bundle.crt
+share/examples/mutt/colors.default
+share/examples/mutt/colors.linux
+share/examples/mutt/gpg.rc
+share/examples/mutt/iconv/iconv.aix-3.2.5.rc
+share/examples/mutt/iconv/iconv.aix-4.1.5.rc
+share/examples/mutt/iconv/iconv.aix-4.2.0.rc
+share/examples/mutt/iconv/iconv.aix-4.3.2.rc
+share/examples/mutt/iconv/iconv.freebsd-3.3.rc
+share/examples/mutt/iconv/iconv.glibc-2.1.3.rc
+share/examples/mutt/iconv/iconv.glibc-2.1.90.rc
+share/examples/mutt/iconv/iconv.hpux-10.01.rc
+share/examples/mutt/iconv/iconv.hpux-10.20.rc
+share/examples/mutt/iconv/iconv.hpux-11.00.rc
+share/examples/mutt/iconv/iconv.irix-6.5.rc
+share/examples/mutt/iconv/iconv.osf1-4.0a.rc
+share/examples/mutt/iconv/iconv.osf1-4.0d.rc
+share/examples/mutt/iconv/iconv.solaris-2.4.rc
+share/examples/mutt/iconv/iconv.solaris-2.5.1.rc
+share/examples/mutt/iconv/iconv.solaris-2.6-cjk.rc
+share/examples/mutt/iconv/iconv.solaris-2.6.rc
+share/examples/mutt/iconv/iconv.solaris-2.7.rc
+share/examples/mutt/mime.types
+share/examples/mutt/pgp2.rc
+share/examples/mutt/pgp5.rc
+share/examples/mutt/pgp6.rc
+share/examples/mutt/sample.mailcap
+share/examples/mutt/sample.muttrc
+share/examples/mutt/sample.muttrc-tlr
+share/examples/mutt/smime.rc
+share/examples/mutt/smime_keys_test.pl
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/mutt.mo
+${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/et/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/mutt.mo
+${PKGLOCALEDIR}/locale/lt/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



Home | Main Index | Thread Index | Old Index