summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-09-03 18:40:37 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-09-03 18:40:37 +0000
commit75cf3500085056259ab9d5bd7e088a68b05178a2 (patch)
tree6a957ad51e668e2d7b06e243439754277933451b
parentAdded a copy of distfile on my freebsd web area, since mosfet's site is (diff)
1. Include ${PKGNAMEPREFIX} in doc & examples dirs names.
2. Get right requisite file for new version of razor-agents. Build was broken, and I know PeteF won't mind me patching his port.
Notes
Notes: svn path=/head/; revision=65566
-rw-r--r--mail/p5-Mail-Audit/Makefile5
-rw-r--r--mail/p5-Mail-Audit/pkg-plist14
2 files changed, 11 insertions, 8 deletions
diff --git a/mail/p5-Mail-Audit/Makefile b/mail/p5-Mail-Audit/Makefile
index e5dcc2e8f793..d56eacf899c6 100644
--- a/mail/p5-Mail-Audit/Makefile
+++ b/mail/p5-Mail-Audit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Mail-Audit
PORTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
@@ -18,7 +19,7 @@ BUILD_DEPENDS= ${SITE_PERL}/Net/Config.pm:${PORTSDIR}/net/p5-Net \
${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}/Razor/Client.pm:${PORTSDIR}/mail/razor-agents
+ ${SITE_PERL}/Razor2/Client/Agent.pm:${PORTSDIR}/mail/razor-agents
RUN_DEPENDS= ${BUILD_DEPENDS}
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
@@ -31,6 +32,8 @@ MAN3= Mail::Audit.3 \
Mail::Audit::MAPS.3 \
Mail::Audit::PGP.3 \
Mail::Audit::Razor.3
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples//${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${PERL} -pi -e 's,/var/spool/mail,/var/mail,g' ${WRKSRC}/Audit.pm
diff --git a/mail/p5-Mail-Audit/pkg-plist b/mail/p5-Mail-Audit/pkg-plist
index 59af55d4135d..c973337c8596 100644
--- a/mail/p5-Mail-Audit/pkg-plist
+++ b/mail/p5-Mail-Audit/pkg-plist
@@ -7,13 +7,13 @@ lib/perl5/site_perl/%%PERL_VER%%/Mail/Audit/MimeEntity.pm
lib/perl5/site_perl/%%PERL_VER%%/Mail/Audit/PGP.pm
lib/perl5/site_perl/%%PERL_VER%%/Mail/Audit/Razor.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Audit/.packlist
-%%PORTDOCS%%share/doc/Mail-Audit/Changes
-%%PORTDOCS%%share/doc/Mail-Audit/FAQ
-%%PORTDOCS%%share/doc/Mail-Audit/README
-share/examples/Mail-Audit/popread
-share/examples/Mail-Audit/proc2ma
-@dirrm share/examples/Mail-Audit
-%%PORTDOCS%%@dirrm share/doc/Mail-Audit
+%%PORTDOCS%%share/doc/p5-Mail-Audit/Changes
+%%PORTDOCS%%share/doc/p5-Mail-Audit/FAQ
+%%PORTDOCS%%share/doc/p5-Mail-Audit/README
+share/examples/p5-Mail-Audit/popread
+share/examples/p5-Mail-Audit/proc2ma
+@dirrm share/examples/p5-Mail-Audit
+%%PORTDOCS%%@dirrm share/doc/p5-Mail-Audit
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Audit
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Mail/Audit