aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Mail-ClamAV
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-12-04 17:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-12-04 17:23:28 +0000
commit33ee3df06ddac4bb7e08d680a81f3dae790caf4e (patch)
tree1761b834ad1da54dd57eeedb7dfbbaf5816eeb1a /mail/p5-Mail-ClamAV
parent249a9ba52622eabdd2a3284bd300f3345afcbbeb (diff)
downloadports-33ee3df06ddac4bb7e08d680a81f3dae790caf4e.tar.gz
ports-33ee3df06ddac4bb7e08d680a81f3dae790caf4e.zip
Notes
Diffstat (limited to 'mail/p5-Mail-ClamAV')
-rw-r--r--mail/p5-Mail-ClamAV/Makefile38
-rw-r--r--mail/p5-Mail-ClamAV/distinfo1
-rw-r--r--mail/p5-Mail-ClamAV/pkg-descr6
-rw-r--r--mail/p5-Mail-ClamAV/pkg-message7
-rw-r--r--mail/p5-Mail-ClamAV/pkg-plist7
5 files changed, 59 insertions, 0 deletions
diff --git a/mail/p5-Mail-ClamAV/Makefile b/mail/p5-Mail-ClamAV/Makefile
new file mode 100644
index 000000000000..5f753c2cdefe
--- /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 000000000000..fc8a7c8d8c73
--- /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 000000000000..73a484d95e50
--- /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 000000000000..db6af97aabb3
--- /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 000000000000..ce15780212e9
--- /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