Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2012 02:37:41 GMT
From:      Geraud CONTINSOUZAS <geraud@gcu.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173546: [UPDATE] www/p5-Router-Simple to 0.13
Message-ID:  <201211110237.qAB2bflY037497@red.freebsd.org>
Resent-Message-ID: <201211110240.qAB2e1b5067101@freefall.freebsd.org>

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

>Number:         173546
>Category:       ports
>Synopsis:       [UPDATE] www/p5-Router-Simple to 0.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 11 02:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Geraud CONTINSOUZAS
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
FreeBSD genta.xxxxxx.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jul  4 19:56:46 NCT 2012     root@genta.xxxxxx.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Update to the 0.13 version of Router::Simple

For the changes, see :

http://cpansearch.perl.org/src/TOKUHIROM/Router-Simple-0.13/Changes

While there, removed redundancy in the Makefile trying to follow current p5-* practices.

Also 'dirrmtry'-ed ${SITE_PERL}/Router/Simple for future inclusion of a new port living under the Router::Simple namespace.
>How-To-Repeat:

>Fix:
See attached patch.

Patch attached with submission follows:

--- Makefile.orig	2012-03-14 10:56:02.000000000 +1100
+++ Makefile	2012-11-07 10:20:37.000000000 +1100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Router-Simple
-PORTVERSION=	0.09
+PORTVERSION=	0.13
 CATEGORIES=	www net perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:TOKUHIROM
@@ -15,10 +15,9 @@
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Simple HTTP Router
 
-BUILD_DEPENDS=	p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
 RUN_DEPENDS=	p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
 
-PERL_CONFIGURE=	yes
+PERL_MODBUILD=	yes
 
 MAN3=		Router::Simple.3 \
 		Router::Simple::Cookbook.3 \
@@ -29,9 +28,10 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 501001
-BUILD_DEPENDS+=	p5-parent>=0:${PORTSDIR}/devel/p5-parent
 RUN_DEPENDS+=	p5-parent>=0:${PORTSDIR}/devel/p5-parent
 TEST_DEPENDS+=	p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
 .endif
 
+BUILD_DEPENDS=	${RUN_DEPENDS}
+
 .include <bsd.port.post.mk>
--- distinfo.orig	2011-12-02 17:31:04.000000000 +1100
+++ distinfo	2012-11-07 10:20:37.000000000 +1100
@@ -1,2 +1,2 @@
-SHA256 (Router-Simple-0.09.tar.gz) = c8d4cabd6c038a21c49bdf6c9a0dc96cdc65bfc443cca30c189721ca21310d91
-SIZE (Router-Simple-0.09.tar.gz) = 27923
+SHA256 (Router-Simple-0.13.tar.gz) = cf6bf475158fd725fb5ad14b4c223a251c46b9e1e209d5a31607f3dbf50e27d8
+SIZE (Router-Simple-0.13.tar.gz) = 22850
--- pkg-plist.orig	2011-12-02 17:31:04.000000000 +1100
+++ pkg-plist	2012-11-07 10:20:37.000000000 +1100
@@ -3,8 +3,5 @@
 %%SITE_PERL%%/Router/Simple/Declare.pm
 %%SITE_PERL%%/Router/Simple/Route.pm
 %%SITE_PERL%%/Router/Simple/SubMapper.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Router/Simple/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Router/Simple
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Router
-@dirrm %%SITE_PERL%%/Router/Simple
+@dirrmtry %%SITE_PERL%%/Router/Simple
 @dirrmtry %%SITE_PERL%%/Router


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



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