Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/ezmlm-idx/
Date: Mon, 31 May 2021 17:43:29
Message-Id: 1622572692.6cf2ee0860db229af8537058c9aa7d88a229965a.slyfox@gentoo
1 commit: 6cf2ee0860db229af8537058c9aa7d88a229965a
2 Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
3 AuthorDate: Mon May 31 16:04:54 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 1 18:38:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf2ee08
7
8 net-mail/ezmlm-idx: drop old
9
10 Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r3.ebuild | 56 ----------------------------
14 1 file changed, 56 deletions(-)
15
16 diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r3.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r3.ebuild
17 deleted file mode 100644
18 index 7cac1d1df21..00000000000
19 --- a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r3.ebuild
20 +++ /dev/null
21 @@ -1,56 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit qmail toolchain-funcs
28 -
29 -DESCRIPTION="Simple yet powerful mailing list manager for qmail"
30 -HOMEPAGE="http://www.ezmlm.org"
31 -SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 ~hppa ~mips ppc sparc x86"
36 -IUSE="mysql postgres"
37 -
38 -DEPEND="mysql? ( dev-db/mysql-connector-c:0= )
39 - postgres? ( dev-db/postgresql )"
40 -RDEPEND="${DEPEND}
41 - virtual/qmail"
42 -REQUIRED_USE="?? ( mysql postgres )"
43 -
44 -src_prepare() {
45 - default
46 - echo /usr/bin > conf-bin || die
47 - echo /usr/$(get_libdir)/ezmlm > conf-lib || die
48 - echo /etc/ezmlm > conf-etc || die
49 - echo /usr/share/man > conf-man || die
50 - echo ${QMAIL_HOME} > conf-qmail || die
51 -
52 - echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc || die
53 - echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld || die
54 -
55 - # fix DESTDIR and skip cat man-pages
56 - sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \
57 - -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \
58 - -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \
59 - -i Makefile || die
60 -}
61 -
62 -src_compile() {
63 - emake it man
64 -
65 - if use mysql; then
66 - emake mysql
67 - elif use postgres; then
68 - emake pgsql
69 - fi
70 -}
71 -
72 -src_install() {
73 - dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man
74 - dobin ezmlm-{cgi,checksub,import,rmtab}
75 -
76 - make DESTDIR="${D}" setup || die "make setup failed"
77 -}