diff options
author | Aron Griffis <agriffis@gentoo.org> | 2005-08-10 22:01:08 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2005-08-10 22:01:08 +0000 |
commit | d32ec5edc9319fd1b0a128eb3cd23d2b990022f2 (patch) | |
tree | 3fada6c03c28cf9fc2a996ae31b756d6076387c8 /mail-client/muttng | |
parent | initial import of new ebuild - needed for tucnak (diff) | |
download | gentoo-2-d32ec5edc9319fd1b0a128eb3cd23d2b990022f2.tar.gz gentoo-2-d32ec5edc9319fd1b0a128eb3cd23d2b990022f2.tar.bz2 gentoo-2-d32ec5edc9319fd1b0a128eb3cd23d2b990022f2.zip |
Bump to current snapshot #101431
Honor USE=qdbm; prioritize qdbm > gdbm > db-4.
Don't attempt to build docs until sgml2html issues are sorted.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'mail-client/muttng')
-rw-r--r-- | mail-client/muttng/ChangeLog | 10 | ||||
-rw-r--r-- | mail-client/muttng/Manifest | 17 | ||||
-rw-r--r-- | mail-client/muttng/files/digest-muttng-20050809 | 1 | ||||
-rw-r--r-- | mail-client/muttng/files/muttng-20050809-nodoc.patch | 14 | ||||
-rw-r--r-- | mail-client/muttng/muttng-20050809.ebuild | 124 |
5 files changed, 153 insertions, 13 deletions
diff --git a/mail-client/muttng/ChangeLog b/mail-client/muttng/ChangeLog index 120ab9fccbc2..e4dde35d253a 100644 --- a/mail-client/muttng/ChangeLog +++ b/mail-client/muttng/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for mail-client/muttng # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/muttng/ChangeLog,v 1.5 2005/06/18 20:22:56 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/muttng/ChangeLog,v 1.6 2005/08/10 22:01:08 agriffis Exp $ + +*muttng-20050809 (10 Aug 2005) + + 10 Aug 2005; Aron Griffis <agriffis@gentoo.org> + +files/muttng-20050809-nodoc.patch, +muttng-20050809.ebuild: + Bump to current snapshot #101431 + Honor USE=qdbm; prioritize qdbm > gdbm > db-4. + Don't attempt to build docs until sgml2html issues are sorted. 18 Jun 2005; Michael Cummings <mcummings@gentoo.org> muttng-20050325.ebuild: diff --git a/mail-client/muttng/Manifest b/mail-client/muttng/Manifest index 17c531b8843c..c027d6640614 100644 --- a/mail-client/muttng/Manifest +++ b/mail-client/muttng/Manifest @@ -1,16 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 e7a283b070bfa08bb734a4b0d850edf9 ChangeLog 976 -MD5 f46d05fe0172cb035a01f40d25242d30 metadata.xml 253 MD5 c44b8bf6113f22a496a9bae47ae5289f muttng-20050317.ebuild 2741 MD5 d4aa39cf3d3348af890827d75956c9cd muttng-20050325.ebuild 2931 +MD5 e7a283b070bfa08bb734a4b0d850edf9 ChangeLog 976 +MD5 f46d05fe0172cb035a01f40d25242d30 metadata.xml 253 +MD5 775ea1e85ea5fe917ea64070e3be37f5 muttng-20050809.ebuild 3587 MD5 e8992882a1c72fd8d97ea7eb60084283 files/digest-muttng-20050317 68 MD5 f4f235522662bdfeee247efdb8082cb1 files/digest-muttng-20050325 68 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCtIextG5z4I8BtQoRArdKAJ4zmdKRtexRHe6vguN9evnM7P9xBwCfUiZQ -926QiEBAOWp1EkAgr1wrRk0= -=P551 ------END PGP SIGNATURE----- +MD5 04627fce26bec87a8f2ff9a601b92a3a files/digest-muttng-20050809 68 +MD5 7f8dd20237497b4bba89df29f400bd6d files/muttng-20050809-nodoc.patch 566 diff --git a/mail-client/muttng/files/digest-muttng-20050809 b/mail-client/muttng/files/digest-muttng-20050809 new file mode 100644 index 000000000000..7fd4b4b91975 --- /dev/null +++ b/mail-client/muttng/files/digest-muttng-20050809 @@ -0,0 +1 @@ +MD5 cff8c65d17ca2f0da52cc84b3eae1031 muttng-20050809.tar.gz 2448668 diff --git a/mail-client/muttng/files/muttng-20050809-nodoc.patch b/mail-client/muttng/files/muttng-20050809-nodoc.patch new file mode 100644 index 000000000000..f89a8c18c9fc --- /dev/null +++ b/mail-client/muttng/files/muttng-20050809-nodoc.patch @@ -0,0 +1,14 @@ +sgml2html from sgmltools-lite fails miserably trying to build the +documentation. Just skip it for now... + +--- muttng-20050809/doc/Makefile.in.nodoc 2005-08-06 14:07:10.000000000 -0400 ++++ muttng-20050809/doc/Makefile.in 2005-08-10 16:50:11.000000000 -0400 +@@ -62,7 +62,7 @@ + topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog \ + UPGRADING README NEWS TODO TODO.mutt-ng README.SSL + +-all: muttng.1 muttrc.man try-html try-txt ++all: muttng.1 muttrc.man + + try-html: ../makedoc$(EXEEXT) + test -f manual.html || $(MAKE) manual.html || cp $(srcdir)/manual*.html ./ diff --git a/mail-client/muttng/muttng-20050809.ebuild b/mail-client/muttng/muttng-20050809.ebuild new file mode 100644 index 000000000000..3a5af36b06a9 --- /dev/null +++ b/mail-client/muttng/muttng-20050809.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/muttng/muttng-20050809.ebuild,v 1.1 2005/08/10 22:01:08 agriffis Exp $ + +inherit eutils + +DESCRIPTION="mutt-ng is the next generation of mutt." +HOMEPAGE="http://www.muttng.org/" +SRC_URI="http://nion.modprobe.de/mutt-ng/snapshots/${P}.tar.gz" +IUSE="crypt debug gnutls gdbm gpgme idn imap mbox nls nntp qdbm sasl slang smtp ssl" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~sparc" +RDEPEND="nls? ( sys-devel/gettext ) + >=sys-libs/ncurses-5.2 + idn? ( net-dns/libidn ) + qdbm? ( dev-db/qdbm ) + !qdbm? ( gdbm? ( sys-libs/gdbm ) + !gdbm? ( berkdb? ( >=sys-libs/db-4 ) ) ) + smtp? ( net-libs/libesmtp ) + slang? ( >=sys-libs/slang-1.4.2 ) + gnutls? ( >=net-libs/gnutls-1.0.17 ) + !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) ) + gpgme? ( >=app-crypt/gpgme-0.9.0 ) + sasl? ( >=dev-libs/cyrus-sasl-2 )" +DEPEND="${RDEPEND} + sys-devel/automake + >=sys-devel/autoconf-2.5 + net-mail/mailbase" + +src_unpack() { + unpack ${P}.tar.gz && cd ${S} || die "unpacking failed" + + # disable sgml conversion since it fails with sgml2html + epatch ${FILESDIR}/muttng-20050809-nodoc.patch + + aclocal -I m4 || die "aclocal failed" + autoheader || die "autoheader failed" + make -C m4 -f Makefile.am.in || die "make in m4 failed" + automake --foreign || die "automake failed" + WANT_AUTOCONF=2.5 autoconf || die "autoconf failed" +} + +src_compile() { + declare myconf=" + $(use_enable nls) \ + $(use_enable gpgme) \ + $(use_enable imap) \ + $(use_with sasl sasl2) \ + $(use_enable crypt pgp) \ + $(use_enable nntp) \ + $(use_enable debug) \ + $(use_with smtp libesmtp) \ + $(use_with idn) \ + --enable-compressed \ + --sysconfdir=/etc/muttng \ + --with-docdir=/usr/share/doc/muttng-${PVR} \ + --with-regex \ + --enable-pop \ + --disable-fcntl \ + --enable-flock \ + --with-mixmaster \ + --enable-external-dotlock" + + # muttng prioritizes qdbm over gdbm, so we will too. + # hcache feature requires at least one database is in USE. + if use qdbm; then + myconf="${myconf} --enable-hcache \ + --with-qdbm --without-gdbm --without-bdb" + elif use gdbm; then + myconf="${myconf} --enable-hcache \ + --with-gdbm --without-qdbm --without-bdb" + elif use berkdb; then + myconf="${myconf} --enable-hcache \ + --with-bdb=/usr/include --without-gdbm --without-qdbm" + else + myconf="--disable-hcache --without-gdbm --without-qdbm --without-bdb" + fi + + if useq gnutls; then + myconf="${myconf} --with-gnutls" + elif useq ssl; then + myconf="${myconf} --with-ssl" + fi + + if useq slang; then + myconf="${myconf} --with-slang" + ewarn "To use a transparend background merge muttng with USE=-slang" + else + # --without-slang doesn't work; + # specify --with-curses if you don't want slang + myconf="${myconf} --with-curses" + fi + + if useq mbox; then + myconf="${myconf} --with-maildir=/var/spool/mail" + else + myconf="${myconf} --with-homespool=Maildir" + fi + + econf ${myconf} + emake || die "emake failed (myconf=${myconf})" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + find ${D}/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip + if useq mbox; then + insinto /etc/muttng + newins ${FILESDIR}/Muttngrc.mbox Muttngrc + else + insinto /etc/muttng + doins ${FILESDIR}/Muttngrc + fi + + dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION +} + +pkg_postinst() { + echo + einfo "NOTE: muttng is still under heavy development" + einfo "If you find a bug please report at http://bugs.gentoo.org" + echo +} |