From johann@sanbi.ac.za  Tue Mar 13 03:44:17 2001
Return-Path: <johann@sanbi.ac.za>
Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119])
	by hub.freebsd.org (Postfix) with ESMTP id D1F5337B71D
	for <FreeBSD-gnats-submit@freebsd.org>; 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: <E14cnDS-000GnV-00@fling.sanbi.ac.za>
Date: Tue, 13 Mar 2001 13:43:50 +0200
From: johann@egenetics.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: textproc/p5-XML-Node
X-Send-Pr-Version: 3.2

>Number:         25768
>Category:       ports
>Synopsis:       New port: textproc/p5-XML-Node
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vanilla
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 13 03:50:01 PST 2001
>Closed-Date:    Fri May 11 09:17:39 PDT 2001
>Last-Modified:  Fri May 11 09:18:02 PDT 2001
>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 <johann@egenetics.com>
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 <bsd.port.mk>
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 <liu@ics.uci.edu>
X
X-- Johann Visagie <johann@egenetics.com>
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:
Responsible-Changed-From-To: freebsd-ports->vanilla 
Responsible-Changed-By: vanilla 
Responsible-Changed-When: Fri Mar 16 16:45:07 PST 2001 
Responsible-Changed-Why:  
I will handle this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25768 

From: Johann Visagie <johann@egenetics.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: vanilla@freebsd.org
Subject: Re: ports/25768: New port: textproc/p5-XML-Node
Date: Tue, 20 Mar 2001 09:58:36 +0200

 johann@egenetics.com on 2001-03-13 (Tue) at 13:43:50 +0200:
 > 
 > - Small Perl5 mod which extends and simplifies XML::Parser
 
 In my haste, I forgot to use the %%PERL_ARCH%% pragma in the $PLIST - this
 will break the port on all but -CURRENT, I think.  The attached recursive
 diff should fix it:
 
 -- Johann
 
 
 diff -ruN p5-XML-Node.bak/pkg-plist p5-XML-Node/pkg-plist
 --- p5-XML-Node.bak/pkg-plist	Tue Mar 20 09:54:52 2001
 +++ p5-XML-Node/pkg-plist	Tue Mar 20 09:55:06 2001
 @@ -2,6 +2,6 @@
  lib/perl5/site_perl/%%PERL_VER%%/XML/parse-foo.pl
  lib/perl5/site_perl/%%PERL_VER%%/XML/parse-orders.pl
  lib/perl5/site_perl/%%PERL_VER%%/XML/parse-testsuite.pl
 -lib/perl5/site_perl/%%PERL_VER%%/mach/auto/XML/Node/.packlist
 -@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/XML/Node
 +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Node/.packlist
 +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Node
  @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Fri May 11 09:17:39 PDT 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25768 
>Unformatted:
