/[gentoo-x86]/mail-filter/disspam/disspam-0.14.ebuild
Gentoo

Contents of /mail-filter/disspam/disspam-0.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Jun 10 11:58:26 2011 UTC (3 years, 6 months ago) by eras
Branch: MAIN
Changes since 1.7: +4 -3 lines
Remove old. Minor QA

(Portage version: 2.1.10/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-filter/disspam/disspam-0.14.ebuild,v 1.7 2006/02/13 14:33:58 mcummings Exp $
4
5 DESCRIPTION="A Perl script that removes spam from POP3 mailboxes based on RBLs."
6 HOMEPAGE="http://www.topfx.com/"
7 SRC_URI="http://www.topfx.com/dist/${P}.tar.gz"
8
9 SLOT="0"
10 LICENSE="Artistic"
11 KEYWORDS="alpha ~hppa ~mips ppc sparc x86"
12 IUSE=""
13
14 DEPEND=">=dev-lang/perl-5.6.1
15 >=virtual/perl-libnet-1.11
16 >=sys-apps/sed-4
17 >=dev-perl/Net-DNS-0.12"
18 RDEPEND="${DEPEND}"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23
24 #This doesnt look neat but makes it work
25 sed -i \
26 -e 's/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/' disspam.pl || \
27 die "sed disspam.pl failed"
28 }
29
30 src_install() {
31 dobin disspam.pl
32 dodoc changes.txt configuration.txt readme.txt sample.conf
33 }

  ViewVC Help
Powered by ViewVC 1.1.20