Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/ezmlm-idx/
Date: Sun, 03 Jun 2018 02:59:18
Message-Id: 1527994723.894d3a2861a27543b402fbafb78f3bd16d9984b2.bman@gentoo
1 commit: 894d3a2861a27543b402fbafb78f3bd16d9984b2
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 00:14:06 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 3 02:58:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=894d3a28
7
8 net-mail/ezmlm-idx: drop old EAPI
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild | 63 ----------------------------
13 net-mail/ezmlm-idx/ezmlm-idx-7.0.0.ebuild | 63 ----------------------------
14 2 files changed, 126 deletions(-)
15
16 diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild
17 deleted file mode 100644
18 index 3c6166ea4f2..00000000000
19 --- a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild
20 +++ /dev/null
21 @@ -1,63 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=0
26 -
27 -inherit qmail multilib
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? ( virtual/mysql )
39 - postgres? ( dev-db/postgresql )"
40 -RDEPEND="${DEPEND}
41 - virtual/qmail"
42 -
43 -pkg_setup() {
44 - if use mysql && use postgres; then
45 - die "cannot build mysql and pgsql support at the same time"
46 - fi
47 -}
48 -
49 -src_unpack() {
50 - unpack ${A}
51 - cd "${S}" || die
52 -
53 - echo /usr/bin > conf-bin
54 - echo /usr/$(get_libdir)/ezmlm > conf-lib
55 - echo /etc/ezmlm > conf-etc
56 - echo /usr/share/man > conf-man
57 - echo ${QMAIL_HOME} > conf-qmail
58 -
59 - echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc
60 - echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld
61 -
62 - # fix DESTDIR and skip cat man-pages
63 - sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \
64 - -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \
65 - -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \
66 - -i Makefile
67 -}
68 -
69 -src_compile() {
70 - emake it man || die "make failed"
71 -
72 - if use mysql; then
73 - emake mysql || die "make mysql failed"
74 - elif use postgres; then
75 - emake pgsql || die "make pgsql failed"
76 - fi
77 -}
78 -
79 -src_install () {
80 - dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man
81 - dobin ezmlm-{cgi,checksub}
82 -
83 - make DESTDIR="${D}" setup || die "make setup failed"
84 -}
85
86 diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0.ebuild
87 deleted file mode 100644
88 index 2f1e6ec24b6..00000000000
89 --- a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0.ebuild
90 +++ /dev/null
91 @@ -1,63 +0,0 @@
92 -# Copyright 1999-2018 Gentoo Foundation
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=0
96 -
97 -inherit qmail
98 -
99 -DESCRIPTION="Simple yet powerful mailing list manager for qmail"
100 -HOMEPAGE="http://www.ezmlm.org"
101 -SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz"
102 -
103 -LICENSE="GPL-2"
104 -SLOT="0"
105 -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
106 -IUSE="mysql postgres"
107 -
108 -DEPEND="mysql? ( virtual/mysql )
109 - postgres? ( dev-db/postgresql )"
110 -RDEPEND="${DEPEND}
111 - virtual/qmail"
112 -
113 -pkg_setup() {
114 - if use mysql && use postgres; then
115 - die "cannot build mysql and pgsql support at the same time"
116 - fi
117 -}
118 -
119 -src_unpack() {
120 - unpack ${A}
121 - cd "${S}" || die
122 -
123 - echo /usr/bin > conf-bin
124 - echo /usr/lib/ezmlm > conf-lib
125 - echo /etc/ezmlm > conf-etc
126 - echo /usr/share/man > conf-man
127 - echo ${QMAIL_HOME} > conf-qmail
128 -
129 - echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc
130 - echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld
131 -
132 - # fix DESTDIR and skip cat man-pages
133 - sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \
134 - -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \
135 - -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \
136 - -i Makefile
137 -}
138 -
139 -src_compile() {
140 - emake it man || die "make failed"
141 -
142 - if use mysql; then
143 - emake mysql || die "make mysql failed"
144 - elif use postgres; then
145 - emake pgsql || die "make pgsql failed"
146 - fi
147 -}
148 -
149 -src_install () {
150 - dodir /usr/bin /usr/lib/ezmlm /etc/ezmlm /usr/share/man
151 - dobin ezmlm-{cgi,checksub}
152 -
153 - make DESTDIR="${D}" setup || die "make setup failed"
154 -}