blob: 6f6e369330cd1f3d4067bb1988b2a7d8d555badc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/offlineimap/offlineimap-6.2.0.2.ebuild,v 1.3 2010/11/28 20:20:40 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="threads ssl?"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit eutils distutils
DESCRIPTION="Powerful IMAP/Maildir synchronization and reader support"
HOMEPAGE="http://wiki.github.com/jgoerzen/offlineimap/"
SRC_URI="mirror://debian/pool/main/o/offlineimap/${P/-/_}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc ssl"
DEPEND="doc? ( app-text/docbook-sgml-utils )"
RDEPEND=""
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}"/${PN}-6.2.0-darwin10.patch
}
src_compile() {
distutils_src_compile
if use doc ; then
docbook2man offlineimap.sgml || die "building manpage failed"
fi
}
src_install() {
distutils_src_install
dodoc offlineimap.conf offlineimap.conf.minimal
if use doc ; then
doman offlineimap.1 || die "installing manpage failed"
fi
}
pkg_postinst() {
distutils_pkg_postinst
elog ""
elog "You will need to configure offlineimap by creating ~/.offlineimaprc"
elog "Sample configurations are in /usr/share/doc/${PF}/"
elog ""
}
|