diff options
author | mat <mat@FreeBSD.org> | 2003-12-05 01:23:28 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-12-05 01:23:28 +0800 |
commit | 9e0ce54933a6acddb65656d1e89834ccd731a0d2 (patch) | |
tree | 828d282a175a2235bf37883ba8e75c601ec7d1c9 /mail | |
parent | c4bc9b60e8c7870ed3605d6cfe86f53e5134b518 (diff) | |
download | freebsd-ports-graphics-9e0ce54933a6acddb65656d1e89834ccd731a0d2.tar.gz freebsd-ports-graphics-9e0ce54933a6acddb65656d1e89834ccd731a0d2.tar.zst freebsd-ports-graphics-9e0ce54933a6acddb65656d1e89834ccd731a0d2.zip |
Add p5-Mail-ClamAV 0.04, perl extension for the clamav virus scanner.
PR: 59639
Submitted by: Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/p5-Mail-ClamAV/Makefile | 38 | ||||
-rw-r--r-- | mail/p5-Mail-ClamAV/distinfo | 1 | ||||
-rw-r--r-- | mail/p5-Mail-ClamAV/pkg-descr | 6 | ||||
-rw-r--r-- | mail/p5-Mail-ClamAV/pkg-message | 7 | ||||
-rw-r--r-- | mail/p5-Mail-ClamAV/pkg-plist | 7 |
6 files changed, 60 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index e31252f1d9e..6bafc8574af 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -212,6 +212,7 @@ SUBDIR += p5-Mail-Box1 SUBDIR += p5-Mail-Bulkmail SUBDIR += p5-Mail-CClient + SUBDIR += p5-Mail-ClamAV SUBDIR += p5-Mail-Ezmlm SUBDIR += p5-Mail-FilterXML SUBDIR += p5-Mail-Folder diff --git a/mail/p5-Mail-ClamAV/Makefile b/mail/p5-Mail-ClamAV/Makefile new file mode 100644 index 00000000000..5f753c2cdef --- /dev/null +++ b/mail/p5-Mail-ClamAV/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-Mail-ClamAV +# Date created: 2003-11-24 +# Whom: Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de> +# +# $FreeBSD$ +# + +PORTNAME= Mail-ClamAV +PORTVERSION= 0.04 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Mail +PKGNAMEPREFIX= p5- + +MAINTAINER= j.koopmann@seceidos.de +COMMENT= Perl extension for the clamav virus scanner + +BUILD_DEPENDS= ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \ + ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline \ + clamscan:${PORTSDIR}/security/clamav +RUN_DEPENDS= ${BUILD_DEPENDS} + +INSTALLS_SHLIB= yes + +PERL_CONFIGURE= yes + +MAN3= Mail::ClamAV.3 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= "requires perl 5.6.x or later. Install lang/perl5 and try again" +.endif + +.include <bsd.port.post.mk> diff --git a/mail/p5-Mail-ClamAV/distinfo b/mail/p5-Mail-ClamAV/distinfo new file mode 100644 index 00000000000..fc8a7c8d8c7 --- /dev/null +++ b/mail/p5-Mail-ClamAV/distinfo @@ -0,0 +1 @@ +MD5 (Mail-ClamAV-0.04.tar.gz) = f8b664f7b1c3903601e3aa8c9b64b683 diff --git a/mail/p5-Mail-ClamAV/pkg-descr b/mail/p5-Mail-ClamAV/pkg-descr new file mode 100644 index 00000000000..73a484d95e5 --- /dev/null +++ b/mail/p5-Mail-ClamAV/pkg-descr @@ -0,0 +1,6 @@ +Clam AntiVirus is an anti-virus toolkit for UNIX. This module provide a simple +interface to it's C API. + +WWW: http://clamav.elektrapro.com/ + +Author Scott Beck <sbeck@gossamer-threads.com> diff --git a/mail/p5-Mail-ClamAV/pkg-message b/mail/p5-Mail-ClamAV/pkg-message new file mode 100644 index 00000000000..db6af97aabb --- /dev/null +++ b/mail/p5-Mail-ClamAV/pkg-message @@ -0,0 +1,7 @@ +******************************************** + +Have a look at the documentation: + +man Mail::ClamAV + +******************************************** diff --git a/mail/p5-Mail-ClamAV/pkg-plist b/mail/p5-Mail-ClamAV/pkg-plist new file mode 100644 index 00000000000..ce15780212e --- /dev/null +++ b/mail/p5-Mail-ClamAV/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Mail/ClamAV.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/ClamAV/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/ClamAV/ClamAV.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/ClamAV/ClamAV.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/ClamAV +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Mail 2>/dev/null || true |