Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  1 Jan 2001 17:21:31 +0100 (CET)
From:      tobez@tobez.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23994: New port: textproc/p5-XML-DT (A package for down translation of XML to strings)
Message-ID:  <20010101162131.B3A2E54E7@heechee.tobez.org>
Resent-Message-ID: <200101011630.f01GU1V18221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 01 08:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010101162131.B3A2E54E7>