Date: Sun, 13 Feb 2011 16:59:18 -0800 (PST) From: milki <milki@rescomp.berkeley.edu> To: FreeBSD-gnats-submit@freebsd.org Cc: perl@freebsd.org Subject: [PATCH] textproc/p5-CSS: update to 1.08_1 Message-ID: <201102140059.p1E0xI0E027403@dev-www7.rescomp.berkeley.edu>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: milki >Organization: UC Berkeley - RSSP-IT >Confidential: no >Synopsis: [PATCH] textproc/p5-CSS: update to 1.08_1 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 7.3-RELEASE-p4 amd64 >Environment: System: FreeBSD dev-www7.rescomp.berkeley.edu 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #15: Tue Nov 30 11:51:59 PST 2010 >Description: - Update to 1.08_1 Add script patch to recompile grammar against new Parse::RecDescent as suggested in bug #53948 for CSS: https://rt.cpan.org/Public/Bug/Display.html?id=53948#txn-735088 Added file(s): - files/build-grammar.pl Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- p5-CSS-1.08_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/p5-CSS/Makefile /tmp/milki/ports/p5-CSS/Makefile --- /usr/ports/textproc/p5-CSS/Makefile 2009-08-28 10:37:10.000000000 -0700 +++ /tmp/milki/ports/p5-CSS/Makefile 2011-02-13 16:49:32.000000000 -0800 @@ -1,12 +1,13 @@ # New ports collection makefile for: p5-CSS -# Date created: 2006/07/21 +# Date created: 2006-07-21 # Whom: chinsan <chinsan.tw@gmail.com> # -# $FreeBSD: ports/textproc/p5-CSS/Makefile,v 1.6 2009/08/28 17:37:10 linimon Exp $ +# $FreeBSD$ # PORTNAME= CSS PORTVERSION= 1.08 +PORTREVISION= 1 CATEGORIES= textproc www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,10 +17,15 @@ BUILD_DEPENDS= p5-Parse-RecDescent>=1.94:${PORTSDIR}/devel/p5-Parse-RecDescent +TEST_DEPENDS= p5-Parse-RecDescent>=1.94:${PORTSDIR}/devel/p5-Parse-RecDescent + MAN3= CSS.3 CSS::Value.3 CSS::Parse::Compiled.3 CSS::Property.3 CSS::Parse::Heavy.3 \ CSS::Parse::PRDGrammar.3 CSS::Style.3 CSS::Parse::Lite.3 CSS::Selector.3 \ CSS::Adaptor::Debug.3 CSS::Adaptor::Pretty.3 CSS::Parse.3 CSS::Adaptor.3 PERL_CONFIGURE= yes +post-configure: + @cd ${WRKSRC}/CSS/Parse && ${PERL} ${FILESDIR}/build-grammar.pl; \ + .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/textproc/p5-CSS/distinfo /tmp/milki/ports/p5-CSS/distinfo --- /usr/ports/textproc/p5-CSS/distinfo 2008-05-17 23:47:38.000000000 -0700 +++ /tmp/milki/ports/p5-CSS/distinfo 2011-02-13 16:42:17.000000000 -0800 @@ -1,3 +1,2 @@ -MD5 (CSS-1.08.tar.gz) = a7b0f7256254fd55a15f8ce81eda7eaf SHA256 (CSS-1.08.tar.gz) = 402ad0bde0f44b06979e4181c1073c6629b530a00647316db33ba246d45e694b SIZE (CSS-1.08.tar.gz) = 34332 diff -ruN --exclude=CVS /usr/ports/textproc/p5-CSS/files/build-grammar.pl /tmp/milki/ports/p5-CSS/files/build-grammar.pl --- /usr/ports/textproc/p5-CSS/files/build-grammar.pl 1969-12-31 16:00:00.000000000 -0800 +++ /tmp/milki/ports/p5-CSS/files/build-grammar.pl 2011-02-13 16:49:53.000000000 -0800 @@ -0,0 +1,6 @@ +use lib '../..'; +use Parse::RecDescent; +use CSS::Parse::PRDGrammar; +$Parse::RecDescent::skip = ''; +$::RD_AUTOACTION = 'print "token: ".shift @item; print " : @item\n"'; +Parse::RecDescent->Precompile($CSS::Parse::PRDGrammar::GRAMMAR, "CSS::Parse::CompiledGrammar"); --- p5-CSS-1.08_1.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102140059.p1E0xI0E027403>