aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-09-04 02:42:49 +0800
committeralane <alane@FreeBSD.org>2002-09-04 02:42:49 +0800
commitde0c435a2ba23fb29259b124f1cd08637fe6ea4c (patch)
tree9063dff2e57131241ffda861633131e00a9d23cb /mail/p5-Mail-SpamAssassin
parentbd8da6164d1fcc49f2ee6047c2b29225a6486b89 (diff)
downloadfreebsd-ports-gnome-de0c435a2ba23fb29259b124f1cd08637fe6ea4c.tar.gz
freebsd-ports-gnome-de0c435a2ba23fb29259b124f1cd08637fe6ea4c.tar.zst
freebsd-ports-gnome-de0c435a2ba23fb29259b124f1cd08637fe6ea4c.zip
Add ${PKGNAMEPREFIX} to ${DOCSDIR}. Fix breakage that will be caused when
a bsd.port.mk patch is committed in near future.
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile6
-rw-r--r--mail/p5-Mail-SpamAssassin/pkg-plist28
2 files changed, 18 insertions, 16 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 46092ec3090f..7c89b06bb330 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,14 +7,14 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 2.31
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail perl5
MASTER_SITES= http://spamassassin.org/released/ \
${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
@@ -34,6 +34,8 @@ MAN3= Mail::SpamAssassin.3 Mail::SpamAssassin::PerMsgStatus.3 \
Mail::SpamAssassin::SMTP::SmartHost.3
MAN1PREFIX= ${PREFIX}
MAN1= spamd.1 spamassassin.1 spamc.1 spamproxyd.1
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples//${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
diff --git a/mail/p5-Mail-SpamAssassin/pkg-plist b/mail/p5-Mail-SpamAssassin/pkg-plist
index d68068b7d14e..a6a54b44c355 100644
--- a/mail/p5-Mail-SpamAssassin/pkg-plist
+++ b/mail/p5-Mail-SpamAssassin/pkg-plist
@@ -25,19 +25,19 @@ lib/perl5/site_perl/%%PERL_VER%%/Mail/SpamAssassin/Reporter.pm
lib/perl5/site_perl/%%PERL_VER%%/Mail/SpamAssassin/SMTP/SmartHost.pm
lib/perl5/site_perl/%%PERL_VER%%/Mail/SpamAssassin/TextCat.pm
lib/perl5/site_perl/%%PERL_VER%%/auto/Mail/SpamAssassin/SMTP/SmartHost/autosplit.ix
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/Changes
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/README
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/README.SmartHost
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/README.spamd
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/README.spamd-vpopmail
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/README.spamproxy
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/README.sql
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/TODO
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/TRADEMARK
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/procmailrc.example
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/sample-nonspam.txt
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/sample-spam.txt
-%%PORTDOCS%%share/doc/Mail-SpamAssassin/spamassassin.sql
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/Changes
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/README
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/README.SmartHost
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/README.spamd
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/README.spamd-vpopmail
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/README.spamproxy
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/README.sql
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/TODO
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/TRADEMARK
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/procmailrc.example
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/sample-nonspam.txt
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/sample-spam.txt
+%%PORTDOCS%%share/doc/p5-Mail-SpamAssassin/spamassassin.sql
share/spamassassin/10_misc.cf
share/spamassassin/20_body_tests.cf
share/spamassassin/20_head_tests.cf
@@ -56,7 +56,7 @@ share/spamassassin/60_whitelist.cf
share/spamassassin/languages
share/spamassassin/triplets.txt
share/spamassassin/user_prefs.template
-%%PORTDOCS%%@dirrm share/doc/Mail-SpamAssassin
+%%PORTDOCS%%@dirrm share/doc/p5-Mail-SpamAssassin
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Mail/SpamAssassin/SMTP
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Mail/SpamAssassin