ports/58817: [MAINTAINER] mail/p5-Email-LocalDelivery: update to 0.06
Lars Thegler
lars at thegler.dk
Sat Nov 1 22:10:15 UTC 2003
>Number: 58817
>Category: ports
>Synopsis: [MAINTAINER] mail/p5-Email-LocalDelivery: update to 0.06
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 01 14:10:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Lars Thegler
>Release: FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.9-RC FreeBSD 4.9-RC #0: Sat Oct 4 18:34:10 CEST
>Description:
- Update to 0.06
- Now works with perl 5.005_03
Committer: please delete files/patch-LocalDelivery.pm
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- p5-Email-LocalDelivery-0.06.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Email-LocalDelivery/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 1 Sep 2003 20:25:41 -0000 1.1
+++ Makefile 1 Nov 2003 21:52:47 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= Email-LocalDelivery
-PORTVERSION= 0.05
+PORTVERSION= 0.06
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
@@ -16,14 +16,30 @@
COMMENT= Deliver a piece of email - simply
BUILD_DEPENDS= ${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple \
- ${SITE_PERL}/Email/FolderType.pm:${PORTSDIR}/mail/p5-Email-FolderType
+ ${SITE_PERL}/Email/FolderType.pm:${PORTSDIR}/mail/p5-Email-FolderType \
+ ${SITE_PERL}/File/Path/Expand.pm:${PORTSDIR}/devel/p5-File-Path-Expand
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Email::LocalDelivery.3
-test:
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+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
+
+post-configure:
+ ${PERL} -pi -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
+.endif
+
+test: build
cd ${WRKSRC} ; make test
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Email-LocalDelivery/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 1 Sep 2003 20:25:41 -0000 1.1
+++ distinfo 1 Nov 2003 21:52:48 -0000
@@ -1 +1 @@
-MD5 (Email-LocalDelivery-0.05.tar.gz) = 73249763b6619750f3d657b149179059
+MD5 (Email-LocalDelivery-0.06.tar.gz) = 97d29eb9b5dfd0ec8f7eb4e170b4d078
--- p5-Email-LocalDelivery-0.06.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list