Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2012 21:43:48 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164067: www/p5-Dancer-Template-Xslate updated to 0.02
Message-ID:  <201201122143.q0CLhm5x003634@red.freebsd.org>
Resent-Message-ID: <201201122150.q0CLo9L2091732@freefall.freebsd.org>

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

>Number:         164067
>Category:       ports
>Synopsis:       www/p5-Dancer-Template-Xslate updated to 0.02
>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:   Thu Jan 12 21:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        9.0 amd64
>Organization:
>Environment:
FreeBSD silver.nine 9.0-RELEASE FreeBSD 9.0-RELEASE #5 r229491: Wed Jan  4 19:17:56 CET 2012     magik@silver.nine:/usr/obj/usr/src/sys/SILVER  amd64

>Description:
- fix bug preventing templates with extensions other than "tt" from being found
- accept relative template paths
- fix MS Windows pathing bug
- don't use Dancer::Config directly
 

https://metacpan.org/source/RSIMOES/Dancer-Template-Xslate-0.02/Changes

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN www/p5-Dancer-Template-Xslate/Makefile www/p5-Dancer-Template-Xslate/Makefile
--- www/p5-Dancer-Template-Xslate/Makefile	2011-11-09 10:09:27.000000000 +0100
+++ www/p5-Dancer-Template-Xslate/Makefile	2012-01-12 22:36:59.174975954 +0100
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	Dancer-Template-Xslate
-PORTVERSION=	0.01
+PORTVERSION=	0.02
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
-MASTER_SITE_SUBDIR=	CPAN:FRANCKC
+MASTER_SITE_SUBDIR=	CPAN:RSIMOES
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	magik@roorback.net
@@ -23,7 +23,13 @@
 
 MAN3=	Dancer::Template::Xslate.3
 
-post-patch:
-	${RM} ${WRKSRC}/lib/Dancer/Template/Xslate.pm.orig
+do-configure:
+	@cd ${WRKSRC} && ${PERL} Build.PL
+
+do-build:
+	@cd ${WRKSRC} && ${PERL} Build
+
+do-install:
+	@cd ${WRKSRC} && ${PERL} Build install
 
 .include <bsd.port.mk>
diff -ruN www/p5-Dancer-Template-Xslate/distinfo www/p5-Dancer-Template-Xslate/distinfo
--- www/p5-Dancer-Template-Xslate/distinfo	2011-11-09 10:09:27.000000000 +0100
+++ www/p5-Dancer-Template-Xslate/distinfo	2012-01-12 20:58:02.550973557 +0100
@@ -1,2 +1,2 @@
-SHA256 (Dancer-Template-Xslate-0.01.tar.gz) = 30890f260f3c714191b8e7520844568d1735a5a61f3d2eb9ec3050cb7c4806e1
-SIZE (Dancer-Template-Xslate-0.01.tar.gz) = 10828
+SHA256 (Dancer-Template-Xslate-0.02.tar.gz) = dbd38c3c498a187ecde6380358c783105a755e2738b0d487740896ee6a016be7
+SIZE (Dancer-Template-Xslate-0.02.tar.gz) = 13060
diff -ruN www/p5-Dancer-Template-Xslate/files/patch-lib_Dancer_Template_Xslate.pm www/p5-Dancer-Template-Xslate/files/patch-lib_Dancer_Template_Xslate.pm
--- www/p5-Dancer-Template-Xslate/files/patch-lib_Dancer_Template_Xslate.pm	2011-11-09 10:09:28.000000000 +0100
+++ www/p5-Dancer-Template-Xslate/files/patch-lib_Dancer_Template_Xslate.pm	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- lib/Dancer/Template/Xslate.pm.orig	2011-10-24 04:30:40.533601086 +0200
-+++ lib/Dancer/Template/Xslate.pm	2011-10-24 04:32:01.720597646 +0200
-@@ -14,6 +14,8 @@
- 
- my $_engine;
- 
-+sub default_tmpl_ext { "tx" }
-+
- sub init {
-     my $self = shift;
- 


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



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