From owner-freebsd-perl@FreeBSD.ORG Mon Feb 14 00:59:18 2011 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF958106566C; Mon, 14 Feb 2011 00:59:18 +0000 (UTC) (envelope-from milki@dev-www7.rescomp.berkeley.edu) Received: from dev-www7.rescomp.berkeley.edu (dev-www7.Rescomp.Berkeley.EDU [169.229.71.57]) by mx1.freebsd.org (Postfix) with ESMTP id B095E8FC0A; Mon, 14 Feb 2011 00:59:18 +0000 (UTC) Received: from dev-www7.rescomp.berkeley.edu (localhost [127.0.0.1]) by dev-www7.rescomp.berkeley.edu (8.14.4/8.14.4) with ESMTP id p1E0xIQE027404; Sun, 13 Feb 2011 16:59:18 -0800 (PST) (envelope-from milki@dev-www7.rescomp.berkeley.edu) Received: (from milki@localhost) by dev-www7.rescomp.berkeley.edu (8.14.4/8.14.4/Submit) id p1E0xI0E027403; Sun, 13 Feb 2011 16:59:18 -0800 (PST) (envelope-from milki) Date: Sun, 13 Feb 2011 16:59:18 -0800 (PST) Message-Id: <201102140059.p1E0xI0E027403@dev-www7.rescomp.berkeley.edu> To: FreeBSD-gnats-submit@freebsd.org From: milki X-send-pr-version: 3.113 X-GNATS-Notify: Cc: perl@freebsd.org Subject: [PATCH] textproc/p5-CSS: update to 1.08_1 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2011 00:59:19 -0000 >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 # -# $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 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 ---