blob: 5ee5caaf106727afa3bd057ae9a697b732fdcaf0 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/disspam/disspam-0.12.ebuild,v 1.6 2004/02/27 11:45:12 bazik Exp $
S=${WORKDIR}/disspam
DESCRIPTION="A Perl script that removes spam from POP3 mailboxes based on RBLs."
HOMEPAGE="http://www.topfx.com/"
SRC_URI="http://www.topfx.com/dist/${P}.tar.gz"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="x86 ~ppc sparc ~hppa ~alpha ~mips"
DEPEND=">=dev-lang/perl-5.6.1
>=dev-perl/libnet-1.11
>=sys-apps/sed-4
>=dev-perl/Net-DNS-0.12"
src_install() {
#This doesnt look neat but makes it work
sed -i \
-e 's/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/' disspam.pl || \
die "sed disspam.pl failed"
dobin disspam.pl
dodoc changes.txt configuration.txt readme.txt sample.conf
}
|