From tobez@tobez.org  Mon Jan  1 08:21:36 2001
Return-Path: <tobez@tobez.org>
Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254])
	by hub.freebsd.org (Postfix) with ESMTP id E617C37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Jan 2001 08:21:34 -0800 (PST)
Received: by heechee.tobez.org (Postfix, from userid 1001)
	id B3A2E54E7; Mon,  1 Jan 2001 17:21:31 +0100 (CET)
Message-Id: <20010101162131.B3A2E54E7@heechee.tobez.org>
Date: Mon,  1 Jan 2001 17:21:31 +0100 (CET)
From: tobez@tobez.org
Reply-To: tobez@tobez.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: textproc/p5-XML-DT (A package for down translation of XML to strings)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         23994
>Category:       ports
>Synopsis:       New port: textproc/p5-XML-DT (A package for down translation of XML to strings)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 01 08:30:01 PST 2001
>Closed-Date:    Wed Jan 3 16:13:27 PST 2001
>Last-Modified:  Wed Jan 03 16:13:53 PST 2001
>Originator:     Anton Berezin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:

This module processes XML files with an approach similar to OMNIMARK.

Down translation function dt() receives a filename and a set of
expressions (functions) defining the processing and associated values
for each element.

dtstring() is similar but takes input from a string instead of a file.

>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-DT
#	p5-XML-DT/pkg-plist
#	p5-XML-DT/pkg-descr
#	p5-XML-DT/pkg-comment
#	p5-XML-DT/distinfo
#	p5-XML-DT/Makefile
#
echo c - p5-XML-DT
mkdir -p p5-XML-DT > /dev/null 2>&1
echo x - p5-XML-DT/pkg-plist
sed 's/^X//' >p5-XML-DT/pkg-plist << 'END-of-p5-XML-DT/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/DT/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex1.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex1.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex2.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex2.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex3.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex3.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex4.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex4.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex5.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex5.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex6.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex6.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex7.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex7.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex8.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex8.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/10nov.sgm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/README
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/arq.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/arq.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex1.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.1.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.2.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.2.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.3.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.3.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.1.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.1.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.5.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.5.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex2.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex3.xml
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex5.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex6.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex7.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/gcapaper2tex.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/jj.dtd
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/lat1.html
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/makefile
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/pub.pl
Xlib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/publico.dtd
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/DT
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
END-of-p5-XML-DT/pkg-plist
echo x - p5-XML-DT/pkg-descr
sed 's/^X//' >p5-XML-DT/pkg-descr << 'END-of-p5-XML-DT/pkg-descr'
XThis module processes XML files with an approach similar to OMNIMARK.
X
XDown translation function dt() receives a filename and a set of
Xexpressions (functions) defining the processing and associated values
Xfor each element.
X
Xdtstring() is similar but takes input from a string instead of a file.
X
X-Anton
X<tobez@tobez.org>
END-of-p5-XML-DT/pkg-descr
echo x - p5-XML-DT/pkg-comment
sed 's/^X//' >p5-XML-DT/pkg-comment << 'END-of-p5-XML-DT/pkg-comment'
XA package for down translation of XML to strings
END-of-p5-XML-DT/pkg-comment
echo x - p5-XML-DT/distinfo
sed 's/^X//' >p5-XML-DT/distinfo << 'END-of-p5-XML-DT/distinfo'
XMD5 (XML-DT-0.19.tar.gz) = 4fc4c0ca3f0c9e50920cd01aa28085bc
END-of-p5-XML-DT/distinfo
echo x - p5-XML-DT/Makefile
sed 's/^X//' >p5-XML-DT/Makefile << 'END-of-p5-XML-DT/Makefile'
X# New ports collection makefile for:	textproc/p5-XML-DT
X# Date created:				01 January 2001
X# Whom:					Anton Berezin <tobez@tobez.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-DT
XPORTVERSION=	0.19
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	XML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tobez@tobez.org
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_PERL5=	yes
XPERL_CONFIGURE=	yes
X
XMAN3=		XML::DT.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xpost-install:
X	@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
X	@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
X	@${INSTALL_DATA} ${WRKSRC}/examples/XPath/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
X	@${INSTALL_DATA} `ls -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
X
X.include <bsd.port.mk>
END-of-p5-XML-DT/Makefile
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Wed Jan 3 16:13:27 PST 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23994 
>Unformatted:
