summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2002-10-16 20:50:41 +0000
committerDaniel Robbins <drobbins@gentoo.org>2002-10-16 20:50:41 +0000
commit0c126da66c78fcba57c62b8017a0a4493766815c (patch)
tree3504f22a9814d6b25e1165df0e489e3c68c7a081 /net-mail/ezmlm-idx
parentacknowledgement (diff)
downloadhistorical-0c126da66c78fcba57c62b8017a0a4493766815c.tar.gz
historical-0c126da66c78fcba57c62b8017a0a4493766815c.tar.bz2
historical-0c126da66c78fcba57c62b8017a0a4493766815c.zip
New ezmlm-idx mailing list manager (enhanced ezmlm)
Diffstat (limited to 'net-mail/ezmlm-idx')
-rw-r--r--net-mail/ezmlm-idx/ChangeLog10
-rw-r--r--net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild63
2 files changed, 73 insertions, 0 deletions
diff --git a/net-mail/ezmlm-idx/ChangeLog b/net-mail/ezmlm-idx/ChangeLog
new file mode 100644
index 000000000000..b457c476a061
--- /dev/null
+++ b/net-mail/ezmlm-idx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-mail/ezmlm-idx
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.1 2002/10/16 20:50:41 drobbins Exp $
+
+*ezmlm-idx-0.40 (16 Oct 2002)
+
+ 16 Oct 2002; Daniel Robbins <drobbins@gentoo.org>: Initial release -- this
+ ebuild is a 3-in-1 with support for ezmlm-idx, ezmlm-idx-mysql and
+ ezmlm-idx-pgsql packages and all three of these ebuilds should be kept
+ in-sync.
diff --git a/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild
new file mode 100644
index 000000000000..0f2a30598b25
--- /dev/null
+++ b/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild,v 1.1 2002/10/16 20:50:41 drobbins Exp $
+
+# NOTE: ezmlm-idx, ezmlm-idx-mysql and ezmlm-idx-pgsql all supported by this single ebuild
+# (Please keep them in sync)
+
+PB=ezmlm-idx
+S2=${WORKDIR}/${P}
+S=${WORKDIR}/ezmlm-0.53
+DESCRIPTION="Simple yet powerful mailing list manager for qmail."
+SRC_URI="http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/${PB}.tar.gz http://cr.yp.to/software/ezmlm-0.53.tar.gz"
+HOMEPAGE="http://www.ezmlm.org"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86"
+DEPEND="sys-apps/grep sys-apps/groff"
+RDEPEND="net-mail/qmail"
+PROVIDE="net-mail/ezmlm"
+
+if [ "$PN" = "${PB}-pgsql" ]
+then
+ DEPEND="$DEPEND dev-db/postgresql"
+ RDEPEND="$RDEPEND dev-db/postgresql"
+elif [ "$PN" = "${PB}-mysql" ]
+then
+ DEPEND="$DEPEND dev-db/mysql"
+ RDEPEND="$RDEPEND dev-db/mysql"
+fi
+
+src_unpack() {
+ unpack ${A}
+ cd ${S2}
+ mv ${S2}/* ${S}
+ cd ${S}
+ patch < idx.patch
+ #remove cat-man pages
+ cp MAN MAN.orig
+ cat MAN.orig | grep -v cat > MAN
+}
+
+src_compile() {
+ cd ${S}
+ echo "/usr/bin" > conf-bin
+ echo "/usr/share/man" > conf-man
+ echo "gcc ${CFLAGS}" > conf-cc
+ echo "gcc" > conf-ld
+ if [ "$PN" = "${PB}-pgsql" ]
+ then
+ make pgsql
+ elif [ "$PN" = "${PB}-mysql" ]
+ then
+ make mysql
+ fi
+ emake || die
+}
+
+src_install () {
+ install -d ${D}/usr/bin ${D}/usr/share/man
+ echo "${D}/usr/bin" > conf-bin
+ echo "${D}/usr/share/man" > conf-man
+ make setup || die
+}