Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2006 06:59:49 +0800 (CST)
From:      tjs <tjs@cdpa.nsysu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100695: Update port: mail/p5-Email-Abstract 2.01 -> 2.10
Message-ID:  <200607212259.k6LMxnBV079921@Pluto.CDPA.nsysu.edu.tw>
Resent-Message-ID: <200607212300.k6LN0X3p086057@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100695
>Category:       ports
>Synopsis:       Update port: mail/p5-Email-Abstract 2.01 -> 2.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 21 23:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jin-Shan Tseng
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
NCHC
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jul 17 12:45:19 CST 2006 tjs@Pluto.CDPA.nsysu.edu.tw:/usr/obj/usr/src/sys/Pluto i386


>Description:

	Update to 2.10

>How-To-Repeat:
>Fix:


--- patch begins here ---
--- Makefile.orig	Sat Jul 22 06:19:40 2006
+++ Makefile	Sat Jul 22 06:54:36 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Email-Abstract
-PORTVERSION=	2.01
+PORTVERSION=	2.10
 CATEGORIES=	mail perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Email
@@ -15,8 +15,9 @@
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	Unified interface to mail representations
 
-BUILD_DEPENDS=	${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
-		${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple
+BUILD_DEPENDS=	p5-Class-ISA>=0.20:${PORTSDIR}/devel/p5-Class-ISA \
+		p5-Email-Simple>=1.91:${PORTSDIR}/mail/p5-Email-Simple \
+		p5-Module-Pluggable>=1.5:${PORTSDIR}/devel/p5-Module-Pluggable
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -29,12 +30,9 @@
 		Email::Abstract::MailMessage.3
 
 .include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500504
-post-patch:
-	@${PERL} -pi -e '$$_ = "" if /use 5.006;/;' \
-		     -e '$$_ = "" if /use warnings;/;' \
-		     -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
-		${WRKSRC}/Makefile.PL \
-		${WRKSRC}/lib/Email/Abstract.pm
+
+.if ${PERL_LEVEL} <= 500602
+BUILD_DEPENDS+=	p5-Test-Simple>=0.47:${PORTSDIR}/devel/p5-Test-Simple
 .endif
+
 .include <bsd.port.post.mk>
--- distinfo.orig	Sat Jul 22 06:19:43 2006
+++ distinfo	Sat Jul 22 06:31:59 2006
@@ -1,3 +1,3 @@
-MD5 (Email-Abstract-2.01.tar.gz) = 447bc3a9be4f0e2814fa514924105ea0
-SHA256 (Email-Abstract-2.01.tar.gz) = d3650cab5ea0fac9e57b82a831654331b134881a7ea70d6a473e89d1ba7213db
-SIZE (Email-Abstract-2.01.tar.gz) = 6267
+MD5 (Email-Abstract-2.10.tar.gz) = 13b4aefdfcc606eaaea42681709d04c3
+SHA256 (Email-Abstract-2.10.tar.gz) = 1c25aa65ac8b782a0afc3a2a01249e87ab9ef0a6f8f35fca79e703422f36cadb
+SIZE (Email-Abstract-2.10.tar.gz) = 8048
--- pkg-plist.orig	Sat Jul 22 06:19:48 2006
+++ pkg-plist	Sat Jul 22 06:54:14 2006
@@ -5,6 +5,7 @@
 %%SITE_PERL%%/Email/Abstract/MailInternet.pm
 %%SITE_PERL%%/Email/Abstract/MailMessage.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/Abstract/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/Abstract
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/Abstract
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email
 @dirrmtry %%SITE_PERL%%/Email/Abstract
 @dirrmtry %%SITE_PERL%%/Email
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607212259.k6LMxnBV079921>