summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Sender
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-06-04 17:23:43 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-06-04 17:23:43 +0000
commit3194d89049b15e00cd419f5ea78e74fa28bfeb5b (patch)
tree5cf168ea0ac060e3958b751f878e8110755f5322 /mail/p5-Mail-Sender
parentCorrect typo in author's email address. (diff)
- Update to 0.8.06
- Do not depend on p5-MIME-Base64 for perl 5.8 PR: 52284 Submitted by: Mathieu Arnold <m@absolight.net> Approved by: maintainer, edwin (mentor)
Notes
Notes: svn path=/head/; revision=82275
Diffstat (limited to 'mail/p5-Mail-Sender')
-rw-r--r--mail/p5-Mail-Sender/Makefile14
-rw-r--r--mail/p5-Mail-Sender/distinfo2
-rw-r--r--mail/p5-Mail-Sender/pkg-plist10
3 files changed, 15 insertions, 11 deletions
diff --git a/mail/p5-Mail-Sender/Makefile b/mail/p5-Mail-Sender/Makefile
index 2ed79d7fc7bd..82f9051c3ca2 100644
--- a/mail/p5-Mail-Sender/Makefile
+++ b/mail/p5-Mail-Sender/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Mail-Sender
-PORTVERSION= 0.8.05
+PORTVERSION= 0.8.06
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
@@ -15,9 +15,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Module for sending mails with attachments through an SMTP server
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Mail::Sender.3
@@ -28,4 +25,11 @@ post-patch:
${PERL} -pi -e 's/res = <STDIN>;/res = "N";/' ${WRKSRC}/Config.PL
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/p5-Mail-Sender/distinfo b/mail/p5-Mail-Sender/distinfo
index b26fba236845..dc421be06fcc 100644
--- a/mail/p5-Mail-Sender/distinfo
+++ b/mail/p5-Mail-Sender/distinfo
@@ -1 +1 @@
-MD5 (Mail-Sender-0.8.05.tar.gz) = b163c9a2cc3ff3efd81454c86951d924
+MD5 (Mail-Sender-0.8.06.tar.gz) = 1e28f782716af562396cd0df7f2caa2f
diff --git a/mail/p5-Mail-Sender/pkg-plist b/mail/p5-Mail-Sender/pkg-plist
index 27fb75abed5a..d549ef4f96ea 100644
--- a/mail/p5-Mail-Sender/pkg-plist
+++ b/mail/p5-Mail-Sender/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/Mail/Sender.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Sender/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail/Sender
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Mail 2>/dev/null || true
+%%SITE_PERL%%/Mail/Sender.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/Sender/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/Sender
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Mail 2>/dev/null || true