aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-Audit/Makefile
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-18 13:16:38 +0800
committerrafan <rafan@FreeBSD.org>2006-07-18 13:16:38 +0800
commitdd171cb3530b86c55a7a4c254e099e380be1069c (patch)
tree53812676ba5b1d3ab5dbb1adc3f6c5c12f6214e8 /mail/p5-Mail-Audit/Makefile
parent48b8c071057c17c43bf38ffe291fb3dfc9edeab9 (diff)
downloadfreebsd-ports-gnome-dd171cb3530b86c55a7a4c254e099e380be1069c.tar.gz
freebsd-ports-gnome-dd171cb3530b86c55a7a4c254e099e380be1069c.tar.zst
freebsd-ports-gnome-dd171cb3530b86c55a7a4c254e099e380be1069c.zip
- Update to 2.2.01 (distversion is 2.201)
PR: ports/100418 Submitted by: Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
Diffstat (limited to 'mail/p5-Mail-Audit/Makefile')
-rw-r--r--mail/p5-Mail-Audit/Makefile30
1 files changed, 18 insertions, 12 deletions
diff --git a/mail/p5-Mail-Audit/Makefile b/mail/p5-Mail-Audit/Makefile
index 17a9510c0c42..0976186f4b84 100644
--- a/mail/p5-Mail-Audit/Makefile
+++ b/mail/p5-Mail-Audit/Makefile
@@ -6,21 +6,22 @@
#
PORTNAME= Mail-Audit
-PORTVERSION= 2.1
-PORTREVISION= 1
+PORTVERSION= 2.2.01
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([0-9]+)$/\1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module for creating easy mail filters
-BUILD_DEPENDS= ${SITE_PERL}/Net/Config.pm:${PORTSDIR}/net/p5-Net \
+BUILD_DEPENDS= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
+ ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools \
- ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/Mail/ListDetector.pm:${PORTSDIR}/mail/p5-Mail-ListDetector \
- ${SITE_PERL}/${PERL_ARCH}/Razor2/Client/Agent.pm:${PORTSDIR}/mail/razor-agents
+ ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -28,26 +29,31 @@ PERL_CONFIGURE= yes
MAN3= Mail::Audit.3 \
Mail::Audit::KillDups.3 \
Mail::Audit::List.3 \
+ Mail::Audit::MailInternet.3 \
+ Mail::Audit::MimeEntity.3 \
Mail::Audit::MAPS.3 \
Mail::Audit::PGP.3 \
- Mail::Audit::Razor.3
+ Mail::Audit::Razor.3 \
+ Mail::Audit::Vacation.3
+
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples//${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS= Changes FAQ README
+PORTEXAMPLES= popread proc2ma
post-patch:
- @${PERL} -pi -e 's,/var/spool/mail,/var/mail,g' ${WRKSRC}/Audit.pm
+ @${PERL} -pi -e 's,/var/spool/mail,/var/mail,g' ${WRKSRC}/lib/Mail/Audit.pm
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in Changes FAQ README
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif
@${MKDIR} ${EXAMPLESDIR}
-.for file in popread proc2ma
- @${INSTALL_SCRIPT} ${WRKSRC}/${file} \
- ${EXAMPLESDIR}
+.for i in ${PORTEXAMPLES}
+ @${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${EXAMPLESDIR}/${i}
.endfor
.include <bsd.port.mk>