summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-11 13:26:10 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-11 18:20:13 +0200
commit5176297af02d010c5ab7eabdca8b5c89a28cd326 (patch)
treed12d1fa015b35b82bde438d6fb6f55de47f0b22b /net-mail
parentnet-libs/ripe-atlas-sagan: Drop old (diff)
downloadgentoo-5176297af02d010c5ab7eabdca8b5c89a28cd326.tar.gz
gentoo-5176297af02d010c5ab7eabdca8b5c89a28cd326.tar.bz2
gentoo-5176297af02d010c5ab7eabdca8b5c89a28cd326.zip
net-mail/ezmlm-idx: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r2.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r2.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r2.ebuild
deleted file mode 100644
index 4508667647a1..000000000000
--- a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit qmail multilib
-
-DESCRIPTION="Simple yet powerful mailing list manager for qmail"
-HOMEPAGE="http://www.ezmlm.org"
-SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
-IUSE="mysql postgres"
-
-DEPEND="mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql )"
-RDEPEND="${DEPEND}
- virtual/qmail"
-
-pkg_setup() {
- if use mysql && use postgres; then
- die "cannot build mysql and pgsql support at the same time"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}" || die
-
- echo /usr/bin > conf-bin
- echo /usr/$(get_libdir)/ezmlm > conf-lib
- echo /etc/ezmlm > conf-etc
- echo /usr/share/man > conf-man
- echo ${QMAIL_HOME} > conf-qmail
-
- echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc
- echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld
-
- # fix DESTDIR and skip cat man-pages
- sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \
- -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \
- -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \
- -i Makefile
-}
-
-src_compile() {
- emake it man || die "make failed"
-
- if use mysql; then
- emake mysql || die "make mysql failed"
- elif use postgres; then
- emake pgsql || die "make pgsql failed"
- fi
-}
-
-src_install () {
- dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man
- dobin ezmlm-{cgi,checksub,import,rmtab}
-
- make DESTDIR="${D}" setup || die "make setup failed"
-}