aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-Audit
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-03-01 06:50:32 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-03-01 06:50:32 +0800
commitdffca0f8dad8475aeb323bdb9e37e334d6850811 (patch)
tree18a0e33707c2dc756674dfe634200ca766d620f5 /mail/p5-Mail-Audit
parent49b335429687393ea2334585123397c705f1430e (diff)
downloadfreebsd-ports-gnome-dffca0f8dad8475aeb323bdb9e37e334d6850811.tar.gz
freebsd-ports-gnome-dffca0f8dad8475aeb323bdb9e37e334d6850811.tar.zst
freebsd-ports-gnome-dffca0f8dad8475aeb323bdb9e37e334d6850811.zip
Update to 2.228
- Use real PORTVERSION - Add LICENSE - Add TEST_DEPENDS - Convert to options target helper - Sort PLIST Changes: http://search.cpan.org/dist/Mail-Audit/Changes
Diffstat (limited to 'mail/p5-Mail-Audit')
-rw-r--r--mail/p5-Mail-Audit/Makefile18
-rw-r--r--mail/p5-Mail-Audit/distinfo5
-rw-r--r--mail/p5-Mail-Audit/pkg-plist18
3 files changed, 26 insertions, 15 deletions
diff --git a/mail/p5-Mail-Audit/Makefile b/mail/p5-Mail-Audit/Makefile
index 3af18ba86476..688918268c65 100644
--- a/mail/p5-Mail-Audit/Makefile
+++ b/mail/p5-Mail-Audit/Makefile
@@ -2,21 +2,25 @@
# $FreeBSD$
PORTNAME= Mail-Audit
-PORTVERSION= 2.2.27
-PORTREVISION= 2
+PORTVERSION= 2.228
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([0-9]+)$/\1/}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module for creating easy mail filters
-RUN_DEPENDS= p5-File-HomeDir>=0.61:devel/p5-File-HomeDir \
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-File-HomeDir>=0.61:devel/p5-File-HomeDir \
p5-File-Tempdir>=0:devel/p5-File-Tempdir \
p5-MIME-Tools>=0:mail/p5-MIME-Tools \
p5-Mail-Tools>=0:mail/p5-Mail-Tools
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Mail-POP3Client>=0:mail/p5-Mail-POP3Client \
+ p5-Parse-RecDescent>=0:devel/p5-Parse-RecDescent
USES= perl5 shebangfix
SHEBANG_FILES= bin/*
@@ -34,11 +38,13 @@ post-patch:
@${REINPLACE_CMD} -i '' -e 's|/var/spool/mail|/var/mail|g' \
${WRKSRC}/lib/Mail/Audit.pm
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${PORTEXAMPLES}
${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${STAGEDIR}${EXAMPLESDIR}/${i}
diff --git a/mail/p5-Mail-Audit/distinfo b/mail/p5-Mail-Audit/distinfo
index 0df1fd34f2b2..0f6dc355e18f 100644
--- a/mail/p5-Mail-Audit/distinfo
+++ b/mail/p5-Mail-Audit/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Mail-Audit-2.227.tar.gz) = 30b3de2d33433ddf343008e0efd2aa17686a6cd51bddb779a11490c8a4aa9ae9
-SIZE (Mail-Audit-2.227.tar.gz) = 34164
+TIMESTAMP = 1488316406
+SHA256 (Mail-Audit-2.228.tar.gz) = 41a42dc3fbead585c732de5e35b46c3d3511358458bc31520abac1946c99d2e4
+SIZE (Mail-Audit-2.228.tar.gz) = 37156
diff --git a/mail/p5-Mail-Audit/pkg-plist b/mail/p5-Mail-Audit/pkg-plist
index 6e5944db4643..1a8bb594c9e5 100644
--- a/mail/p5-Mail-Audit/pkg-plist
+++ b/mail/p5-Mail-Audit/pkg-plist
@@ -1,10 +1,5 @@
-%%PERL5_MAN3%%/Mail::Audit.3.gz
-%%PERL5_MAN3%%/Mail::Audit::KillDups.3.gz
-%%PERL5_MAN3%%/Mail::Audit::MAPS.3.gz
-%%PERL5_MAN3%%/Mail::Audit::MailInternet.3.gz
-%%PERL5_MAN3%%/Mail::Audit::MimeEntity.3.gz
-%%PERL5_MAN3%%/Mail::Audit::Util::Tempdir.3.gz
-%%PERL5_MAN3%%/Mail::Audit::Vacation.3.gz
+bin/popread
+bin/proc2ma
%%SITE_PERL%%/Mail/Audit.pm
%%SITE_PERL%%/Mail/Audit/KillDups.pm
%%SITE_PERL%%/Mail/Audit/MAPS.pm
@@ -12,3 +7,12 @@
%%SITE_PERL%%/Mail/Audit/MimeEntity.pm
%%SITE_PERL%%/Mail/Audit/Util/Tempdir.pm
%%SITE_PERL%%/Mail/Audit/Vacation.pm
+%%PERL5_MAN1%%/popread.1.gz
+%%PERL5_MAN1%%/proc2ma.1.gz
+%%PERL5_MAN3%%/Mail::Audit.3.gz
+%%PERL5_MAN3%%/Mail::Audit::KillDups.3.gz
+%%PERL5_MAN3%%/Mail::Audit::MAPS.3.gz
+%%PERL5_MAN3%%/Mail::Audit::MailInternet.3.gz
+%%PERL5_MAN3%%/Mail::Audit::MimeEntity.3.gz
+%%PERL5_MAN3%%/Mail::Audit::Util::Tempdir.3.gz
+%%PERL5_MAN3%%/Mail::Audit::Vacation.3.gz