From owner-freebsd-ports Tue Mar 13 3:50: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 170D437B729 for ; Tue, 13 Mar 2001 03:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2DBo2b60483; Tue, 13 Mar 2001 03:50:02 -0800 (PST) (envelope-from gnats) Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id D1F5337B71D for ; Tue, 13 Mar 2001 03:44:02 -0800 (PST) (envelope-from johann@sanbi.ac.za) Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4) id 14cnDS-000GnV-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 13 Mar 2001 13:43:50 +0200 Message-Id: Date: Tue, 13 Mar 2001 13:43:50 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/25768: New port: textproc/p5-XML-Node Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25768 >Category: ports >Synopsis: New port: textproc/p5-XML-Node >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 03:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Johann Visagie >Release: FreeBSD 5.0-CURRENT i386 >Organization: Electric Genetics >Environment: >Description: - Small Perl5 mod which extends and simplifies XML::Parser >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-XML-Node # p5-XML-Node/Makefile # p5-XML-Node/distinfo # p5-XML-Node/pkg-descr # p5-XML-Node/pkg-plist # p5-XML-Node/pkg-comment # echo c - p5-XML-Node mkdir -p p5-XML-Node > /dev/null 2>&1 echo x - p5-XML-Node/Makefile sed 's/^X//' >p5-XML-Node/Makefile << 'END-of-p5-XML-Node/Makefile' X# New ports collection makefile for: p5-XML-Node X# Date created: 13 March 2001 X# Whom: Johann Visagie X# X# $FreeBSD$ X# X XPORTNAME= XML-Node XPORTVERSION= 0.10 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= XML XPKGNAMEPREFIX= p5- X XMAINTAINER= johann@egenetics.com X XRUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser X XPERL_CONFIGURE= YES X XMAN3= XML::Node.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include END-of-p5-XML-Node/Makefile echo x - p5-XML-Node/distinfo sed 's/^X//' >p5-XML-Node/distinfo << 'END-of-p5-XML-Node/distinfo' XMD5 (XML-Node-0.10.tar.gz) = d05369ba4c7f7cbb1ff0b727f89a07a9 END-of-p5-XML-Node/distinfo echo x - p5-XML-Node/pkg-descr sed 's/^X//' >p5-XML-Node/pkg-descr << 'END-of-p5-XML-Node/pkg-descr' XXML::Node is a Perl5 module which provides a simplified extension interface Xto XML::Parser. X XParaphrasing the README: X X Instead of worrying about "start", "end", and "char" callbacks of every X single XML node, you can simply say that you only want to be notified when X a path is found. X X Using XML::Node, you can ignore the parts of XML files that you are not X interested in. Additionally, you can register a variable instead of a X callback function. The corresponding string found in an XML file will be X automatically appended to your variable. X XAuthor: Chang Liu X X-- Johann Visagie END-of-p5-XML-Node/pkg-descr echo x - p5-XML-Node/pkg-plist sed 's/^X//' >p5-XML-Node/pkg-plist << 'END-of-p5-XML-Node/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/XML/Node.pm Xlib/perl5/site_perl/%%PERL_VER%%/XML/parse-foo.pl Xlib/perl5/site_perl/%%PERL_VER%%/XML/parse-orders.pl Xlib/perl5/site_perl/%%PERL_VER%%/XML/parse-testsuite.pl Xlib/perl5/site_perl/%%PERL_VER%%/mach/auto/XML/Node/.packlist X@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/XML/Node X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true END-of-p5-XML-Node/pkg-plist echo x - p5-XML-Node/pkg-comment sed 's/^X//' >p5-XML-Node/pkg-comment << 'END-of-p5-XML-Node/pkg-comment' XPerl5 module to extend and simplify XML::Parser END-of-p5-XML-Node/pkg-comment exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message