aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Email-LocalDelivery/Makefile
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2004-06-02 04:22:15 +0800
committerlth <lth@FreeBSD.org>2004-06-02 04:22:15 +0800
commit9c1950bfdc9b9d6e32d01cad99dea2ebb788922e (patch)
treeebb6e1cb4fbaf658b15cfe1d3628e910da9d9eed /mail/p5-Email-LocalDelivery/Makefile
parent3493919abf91dc749812cf6ffb68d52accf2237f (diff)
downloadfreebsd-ports-gnome-9c1950bfdc9b9d6e32d01cad99dea2ebb788922e.tar.gz
freebsd-ports-gnome-9c1950bfdc9b9d6e32d01cad99dea2ebb788922e.tar.zst
freebsd-ports-gnome-9c1950bfdc9b9d6e32d01cad99dea2ebb788922e.zip
- Update to 0.08
- Fix for perl 5.005_03 Approved by: erwin (mentor)
Diffstat (limited to 'mail/p5-Email-LocalDelivery/Makefile')
-rw-r--r--mail/p5-Email-LocalDelivery/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/p5-Email-LocalDelivery/Makefile b/mail/p5-Email-LocalDelivery/Makefile
index 120bec4d7760..134dd8c91d20 100644
--- a/mail/p5-Email-LocalDelivery/Makefile
+++ b/mail/p5-Email-LocalDelivery/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Email-LocalDelivery
-PORTVERSION= 0.07
+PORTVERSION= 0.08
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
@@ -27,13 +27,13 @@ MAN3= Email::LocalDelivery.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
+
+EXTRA_PATCHES= ${FILESDIR}/5.005-LocalDelivery.pm \
+ ${FILESDIR}/5.005-LocalDelivery::Maildir.pm \
+ ${FILESDIR}/5.005-LocalDelivery::Mbox.pm
+
post-patch:
- ${PERL} -pi -e '$$_="" if /require 5/;' \
- -e '$$_="" if /use warnings/;' \
- -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
- ${WRKSRC}/LocalDelivery.pm \
- ${WRKSRC}/LocalDelivery/Maildir.pm \
- ${WRKSRC}/LocalDelivery/Mbox.pm
+ ${FIND} ${WRKSRC} -name \*.orig -delete
post-configure:
${PERL} -pi -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile