Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2012 19:41:23 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dsh@vlink.ru
Subject:   ports/169825: [PATCH] www/p5-HTML-Mason: update to 1.50
Message-ID:  <3WYXCl1SzZz5KM@sunpoet.net>
Resent-Message-ID: <201207131150.q6DBo2Ex080489@freefall.freebsd.org>

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

>Number:         169825
>Category:       ports
>Synopsis:       [PATCH] www/p5-HTML-Mason: update to 1.50
>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 13 11:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jul  7 22:40:22 CST
>Description:
- Update to 1.50
- Add LICENSE
- Convert to new options framework
- Rename option: MOD_PERL -> MODPERL

Changes:	http://search.cpan.org/dist/HTML-Mason/Changes

Port maintainer (dsh@vlink.ru) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- p5-HTML-Mason-1.50.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-HTML-Mason/Makefile,v
retrieving revision 1.71
diff -u -u -r1.71 Makefile
--- Makefile	30 Jun 2012 14:31:02 -0000	1.71
+++ Makefile	13 Jul 2012 11:40:55 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	HTML-Mason
-PORTVERSION=	1.48
+PORTVERSION=	1.50
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,19 +14,23 @@
 MAINTAINER=	dsh@vlink.ru
 COMMENT=	High-performance, dynamic web site authoring system
 
-BUILD_DEPENDS=	p5-Class-Container>=0.7:${PORTSDIR}/devel/p5-Class-Container \
-		p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser \
-		p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Cache-Cache>=1:${PORTSDIR}/devel/p5-Cache-Cache \
+		p5-Class-Container>=0.07:${PORTSDIR}/devel/p5-Class-Container \
 		p5-Exception-Class>=1.15:${PORTSDIR}/devel/p5-Exception-Class \
+		p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
 		p5-Log-Any>=0.08:${PORTSDIR}/devel/p5-Log-Any \
-		p5-Cache-Cache>=1:${PORTSDIR}/devel/p5-Cache-Cache
+		p5-Params-Validate>=0.70:${PORTSDIR}/devel/p5-Params-Validate
 RUN_DEPENDS:=	${BUILD_DEPENDS}
-TEST_DEPENDS=	p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep
+TEST_DEPENDS=	p5-CHI>=0.210:${PORTSDIR}/devel/p5-CHI \
+		p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
+		p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle
 
-PERL_MODBUILD=	yes
+PERL_CONFIGURE=	yes
 
-MAN3=		Bundle::HTML::Mason.3 \
-		HTML::Mason.3 \
+MAN3=		HTML::Mason.3 \
 		HTML::Mason::Admin.3 \
 		HTML::Mason::ApacheHandler.3 \
 		HTML::Mason::CGIHandler.3 \
@@ -57,21 +61,19 @@
 		HTML::Mason::Tools.3 \
 		HTML::Mason::Utils.3
 
-OPTIONS_DEFINE=	MOD_PERL
-MOD_PERL_DESC= with mod_perl dependency
+OPTIONS_DEFINE=	MODPERL
 
-post-build:
-	${MV} -f ${WRKSRC}/bin ${WRKSRC}/bin.orig
-	${MV} -f ${WRKSRC}/blib/script ${WRKSRC}/blib/script.orig
+post-patch:
+	@${REINPLACE_CMD} -e '/bin\/convert/d' ${WRKSRC}/Makefile.PL
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/blib/script.orig/mason.pl ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/blib/script/mason.pl ${PREFIX}/bin/
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MMOD_PERL}
-USE_APACHE=	20+
+.if ${PORT_OPTIONS:MMODPERL}
 RUN_DEPENDS+=	p5-libapreq2>=0:${PORTSDIR}/www/p5-libapreq2
+USE_APACHE=	20+
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/p5-HTML-Mason/distinfo,v
retrieving revision 1.39
diff -u -u -r1.39 distinfo
--- distinfo	16 May 2012 04:09:48 -0000	1.39
+++ distinfo	13 Jul 2012 11:40:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (HTML-Mason-1.48.tar.gz) = c249109c741aecf31800331775a762c5791af4f0065919189403af9aae3345b4
-SIZE (HTML-Mason-1.48.tar.gz) = 489970
+SHA256 (HTML-Mason-1.50.tar.gz) = 0becd8d11090647704239e230c533d5d31a2c2b99dca916000e66a4a7d7135b1
+SIZE (HTML-Mason-1.50.tar.gz) = 280619
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/p5-HTML-Mason/pkg-plist,v
retrieving revision 1.17
diff -u -u -r1.17 pkg-plist
--- pkg-plist	24 Apr 2008 22:09:55 -0000	1.17
+++ pkg-plist	13 Jul 2012 11:40:55 -0000
@@ -1,6 +1,4 @@
 bin/mason.pl
-%%SITE_PERL%%/Apache/Mason.pm
-%%SITE_PERL%%/Bundle/HTML/Mason.pm
 %%SITE_PERL%%/HTML/Mason.pm
 %%SITE_PERL%%/HTML/Mason/Admin.pod
 %%SITE_PERL%%/HTML/Mason/ApacheHandler.pm
@@ -33,6 +31,9 @@
 %%SITE_PERL%%/HTML/Mason/Tests.pm
 %%SITE_PERL%%/HTML/Mason/Tools.pm
 %%SITE_PERL%%/HTML/Mason/Utils.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Mason/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Mason
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML
 @dirrm %%SITE_PERL%%/HTML/Mason/Apache
 @dirrm %%SITE_PERL%%/HTML/Mason/Cache
 @dirrm %%SITE_PERL%%/HTML/Mason/Compiler
@@ -40,7 +41,4 @@
 @dirrm %%SITE_PERL%%/HTML/Mason/Plugin
 @dirrm %%SITE_PERL%%/HTML/Mason/Resolver
 @dirrm %%SITE_PERL%%/HTML/Mason
-@dirrmtry %%SITE_PERL%%/Bundle/HTML
-@dirrmtry %%SITE_PERL%%/Bundle
 @dirrmtry %%SITE_PERL%%/HTML
-@dirrmtry %%SITE_PERL%%/Apache
--- p5-HTML-Mason-1.50.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?3WYXCl1SzZz5KM>