media-gfx/cgal-ipelets: Add cgal-ipelets-5.2.2-r1
[shuber-gentoo-overlay.git] / mail-mta / smailq / smailq-1.1.ebuild
1 # Distributed under the terms of the GNU General Public License v2
2 # $Header: $
3
4 EAPI=7
5
6 DESCRIPTION="A simple mail queue"
7 HOMEPAGE="http://www.sthu.org/code/smailq.html"
8 LICENSE="LGPL-3"
9 SLOT="0"
10 IUSE="+mta"
11 RESTRICT="mirror"
12
13 if [ "${PV}" == "9999" ]; then
14 inherit git-r3
15 EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git"
16 else
17 SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz"
18 KEYWORDS="~x86 ~amd64"
19 S="${WORKDIR}/${PN}-v${PV}"
20 fi
21
22 DEPEND="
23 >=dev-lang/python-3.2
24 app-text/docbook2X
25 !net-mail/mailwrapper
26 !mail-mta/courier
27 !mail-mta/esmtp
28 !mail-mta/exim
29 !mail-mta/mini-qmail
30 !mail-mta/msmtp[mta]
31 !mail-mta/nbsmtp
32 !mail-mta/netqmail
33 !mail-mta/nullmailer
34 !mail-mta/postfix
35 !mail-mta/qmail-ldap
36 !mail-mta/sendmail
37 !mail-mta/opensmtpd
38 !<mail-mta/ssmtp-2.64-r2
39 !>=mail-mta/ssmtp-2.64-r2[mta]
40 "
41 RDEPEND="${DEPEND}"
42
43
44 src_install() {
45 if quse mta; then
46 dosbin sendmail
47 dobin mailq
48 fi
49 dobin smailq
50 doman smailq.1
51 dodoc smailq.conf
52 }