summaryrefslogtreecommitdiff
blob: 5ed12daa3c08c44d779325113a2346d48e3f333a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Maintainer: Thilo Bangert <bangert@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm/ezmlm-0.53.ebuild,v 1.3 2002/05/14 18:00:49 bangert Exp $

S=${WORKDIR}/${P}

DEPEND="virtual/glibc
	sys-apps/groff"

RDEPEND="net-mail/qmail"

DESCRIPTION="Simple yet powerful mailing list manager for qmail."
SRC_URI="http://cr.yp.to/software/${P}.tar.gz"

HOMEPAGE="http://cr.yp.to/software/ezmlm.html"
LICENSE="as-is"


src_compile() {
	cd ${S}
	mkdir tmp
	echo "/usr" > conf-bin
	echo "/usr/share/man" > conf-man
	echo "gcc ${CFLAGS}" > conf-cc
	echo "gcc" > conf-ld
	emake || die
}

src_install () {
	exeinto /usr/bin
	doexe ezmlm-list ezmlm-make ezmlm-manage \
	ezmlm-reject ezmlm-return ezmlm-send \
	ezmlm-sub ezmlm-unsub ezmlm-warn ezmlm-weed

	doman ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 \
	ezmlm-reject.1 ezmlm-return.1 ezmlm-send.1 \
	ezmlm-sub.1 ezmlm-unsub.1 ezmlm-warn.1 ezmlm-weed.1 \
	ezmlm.5
}