Lines 11-17
Link Here
|
11 |
DESCRIPTION="a small but very powerful text-based mail client" |
11 |
DESCRIPTION="a small but very powerful text-based mail client" |
12 |
HOMEPAGE="http://www.mutt.org" |
12 |
HOMEPAGE="http://www.mutt.org" |
13 |
SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz |
13 |
SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz |
14 |
!vanilla? ( |
14 |
!vanilla? || !minimal? ( |
15 |
!sidebar? ( |
15 |
!sidebar? ( |
16 |
mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2 |
16 |
mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2 |
17 |
) |
17 |
) |
Lines 20-26
Link Here
|
20 |
http://www.lunar-linux.org/~tchan/mutt/${SIDEBAR_PATCH_N} |
20 |
http://www.lunar-linux.org/~tchan/mutt/${SIDEBAR_PATCH_N} |
21 |
)" |
21 |
)" |
22 |
IUSE="berkdb crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop qdbm sasl |
22 |
IUSE="berkdb crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop qdbm sasl |
23 |
sidebar smime smtp ssl vanilla" |
23 |
sidebar smime smtp ssl vanilla minimal" |
24 |
SLOT="0" |
24 |
SLOT="0" |
25 |
LICENSE="GPL-2" |
25 |
LICENSE="GPL-2" |
26 |
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" |
26 |
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" |
Lines 51-57
Link Here
|
51 |
app-misc/mime-types" |
51 |
app-misc/mime-types" |
52 |
DEPEND="${RDEPEND} |
52 |
DEPEND="${RDEPEND} |
53 |
net-mail/mailbase |
53 |
net-mail/mailbase |
54 |
!vanilla? ( |
54 |
!vanilla? || !minimal? ( |
55 |
dev-libs/libxml2 |
55 |
dev-libs/libxml2 |
56 |
dev-libs/libxslt |
56 |
dev-libs/libxslt |
57 |
app-text/docbook-xsl-stylesheets |
57 |
app-text/docbook-xsl-stylesheets |
Lines 63-69
Link Here
|
63 |
src_unpack() { |
63 |
src_unpack() { |
64 |
unpack ${A//${SIDEBAR_PATCH_N}} && cd "${S}" || die "unpack failed" |
64 |
unpack ${A//${SIDEBAR_PATCH_N}} && cd "${S}" || die "unpack failed" |
65 |
|
65 |
|
66 |
if ! use vanilla && ! use sidebar ; then |
66 |
if ! use vanilla && ! use minimal && ! use sidebar ; then |
67 |
use nntp || rm "${PATCHDIR}"/06-nntp.patch |
67 |
use nntp || rm "${PATCHDIR}"/06-nntp.patch |
68 |
for p in "${PATCHDIR}"/*.patch ; do |
68 |
for p in "${PATCHDIR}"/*.patch ; do |
69 |
epatch "${p}" |
69 |
epatch "${p}" |
Lines 71-77
Link Here
|
71 |
fi |
71 |
fi |
72 |
|
72 |
|
73 |
if use sidebar ; then |
73 |
if use sidebar ; then |
74 |
use vanilla || \ |
74 |
use vanilla || minimal || \ |
75 |
ewarn "The sidebar patch is only applied to a vanilla mutt tree." |
75 |
ewarn "The sidebar patch is only applied to a vanilla mutt tree." |
76 |
epatch "${DISTDIR}"/${SIDEBAR_PATCH_N} |
76 |
epatch "${DISTDIR}"/${SIDEBAR_PATCH_N} |
77 |
fi |
77 |
fi |
Lines 142-148
Link Here
|
142 |
myconf="${myconf} --with-homespool=Maildir" |
142 |
myconf="${myconf} --with-homespool=Maildir" |
143 |
fi |
143 |
fi |
144 |
|
144 |
|
145 |
if ! use vanilla; then |
145 |
if ! use vanilla || ! use minimal ; then |
146 |
# rr.compressed patch |
146 |
# rr.compressed patch |
147 |
myconf="${myconf} --enable-compressed" |
147 |
myconf="${myconf} --enable-compressed" |
148 |
|
148 |
|