aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-06-05 01:23:43 +0800
committererwin <erwin@FreeBSD.org>2003-06-05 01:23:43 +0800
commitca13ef41964e1d17331e19609ee2c7def3909aa7 (patch)
tree169a157125e5b787a2229a2abfe753c729c479b0 /mail
parent7a84eda95943bf6e4db1a9a426b5c0acfc5051b5 (diff)
downloadfreebsd-ports-gnome-ca13ef41964e1d17331e19609ee2c7def3909aa7.tar.gz
freebsd-ports-gnome-ca13ef41964e1d17331e19609ee2c7def3909aa7.tar.zst
freebsd-ports-gnome-ca13ef41964e1d17331e19609ee2c7def3909aa7.zip
- 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)
Diffstat (limited to 'mail')
-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