pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/dtdparse Initial import of dtdparse-2.0beta6 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/870ac956ae60
branches: trunk
changeset: 464641:870ac956ae60
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sat Dec 13 21:20:38 2003 +0000
description:
Initial import of dtdparse-2.0beta6 from pkgsrc-wip, packaged by
Min Sik Kim.
DTDparse reads an SGML or XML DTD and constructs an XML database of
its content. This database can be examined to construct other views of
the DTD.
diffstat:
textproc/dtdparse/DESCR | 3 ++
textproc/dtdparse/Makefile | 48 +++++++++++++++++++++++++++++++++++++++++
textproc/dtdparse/PLIST | 26 ++++++++++++++++++++++
textproc/dtdparse/distinfo | 4 +++
textproc/dtdparse/files/catalog | 9 +++++++
5 files changed, 90 insertions(+), 0 deletions(-)
diffs (110 lines):
diff -r a9c32fbdb4ac -r 870ac956ae60 textproc/dtdparse/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dtdparse/DESCR Sat Dec 13 21:20:38 2003 +0000
@@ -0,0 +1,3 @@
+DTDparse reads an SGML or XML DTD and constructs an XML database of
+its content. This database can be examined to construct other views of
+the DTD.
diff -r a9c32fbdb4ac -r 870ac956ae60 textproc/dtdparse/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dtdparse/Makefile Sat Dec 13 21:20:38 2003 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/13 21:20:38 xtraeme Exp $
+#
+
+DISTNAME= dtdparse-2.0beta6
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dtdparse/}
+
+MAINTAINER= minskim%bawi.org@localhost
+HOMEPAGE= http://dtdparse.sourceforge.net/
+COMMENT= Reads an SGML or XML DTD and constructs an XML database
+
+DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+DEPENDS+= p5-XML-DOM-[0-9]*:../../textproc/p5-XML-DOM
+DEPENDS+= p5-Text-DelimMatch-[0-9]*:../../textproc/p5-Text-DelimMatch
+
+USE_BUILDLINK2= yes
+
+DOCDIR= ${PREFIX}/share/doc/dtdparse
+EGDIR= ${PREFIX}/share/examples/dtdparse
+XMLDIR= ${PREFIX}/share/xml/dtdparse
+XML_CATALOGS= ${XMLDIR}/catalog
+SCRIPTS= dtdflatten dtdformat dtdparse \
+ tools/contentmodel tools/dtdstats tools/elements
+
+do-build:
+ cd ${WRKSRC}; \
+ ${PERL5} -pi -e 's,/usr/local/bin/perl5,${PERL5},' ${SCRIPTS}
+ ${PERL5} -pi -e 's,modules/,XML/DTDParse/,' ${WRKSRC}/dtdformat
+
+do-install:
+ cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
+ ${MKDIR} ${PERL5_SITELIB}/XML/DTDParse
+ ${INSTALL_DATA} ${WRKSRC}/XML/DTDParse/*.pm ${WRKSRC}/modules/*.pl \
+ ${PERL5_SITELIB}/XML/DTDParse
+ ${MKDIR} ${XMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dtd.dtd ${XMLDIR}
+ ${INSTALL_DATA} ${FILESDIR}/catalog ${XMLDIR}/catalog
+
+post-install:
+ ${MKDIR} ${EGDIR}
+ cd ${WRKSRC}/sample; \
+ ${INSTALL_DATA} sample* simple* ${EGDIR}
+ ${MKDIR} ${DOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} README WhatsNew ${DOCDIR}
+
+.include "../../lang/perl5/module.mk"
+.include "../../textproc/xmlcatmgr/catalogs.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a9c32fbdb4ac -r 870ac956ae60 textproc/dtdparse/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dtdparse/PLIST Sat Dec 13 21:20:38 2003 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/13 21:20:38 xtraeme Exp $
+${PERL5_SITELIB}/XML/DTDParse/Catalog.pm
+${PERL5_SITELIB}/XML/DTDParse/ContentModel.pm
+${PERL5_SITELIB}/XML/DTDParse/DTD.pm
+${PERL5_SITELIB}/XML/DTDParse/Tokenizer.pm
+${PERL5_SITELIB}/XML/DTDParse/html.pl
+${PERL5_SITELIB}/XML/DTDParse/plain.pl
+${PERL5_SITELIB}/XML/DTDParse/refentry.pl
+bin/contentmodel
+bin/dtdflatten
+bin/dtdformat
+bin/dtdparse
+bin/dtdstats
+bin/elements
+share/doc/dtdparse/README
+share/doc/dtdparse/WhatsNew
+share/examples/dtdparse/sample.dtd
+share/examples/dtdparse/sample.mod
+share/examples/dtdparse/simple-inline.mod
+share/examples/dtdparse/simple.dtd
+share/xml/dtdparse/catalog
+share/xml/dtdparse/dtd.dtd
+@dirrm share/doc/dtdparse
+@dirrm share/examples/dtdparse
+@dirrm share/xml/dtdparse
+@dirrm lib/perl5/site_perl/5.6.1/XML/DTDParse
diff -r a9c32fbdb4ac -r 870ac956ae60 textproc/dtdparse/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dtdparse/distinfo Sat Dec 13 21:20:38 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/13 21:20:38 xtraeme Exp $
+
+SHA1 (dtdparse-2.0beta6.tar.gz) = 13ec57c7c6d58703ca80e9410bc6f82ebaf554f0
+Size (dtdparse-2.0beta6.tar.gz) = 37950 bytes
diff -r a9c32fbdb4ac -r 870ac956ae60 textproc/dtdparse/files/catalog
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dtdparse/files/catalog Sat Dec 13 21:20:38 2003 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
+ "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+
+<!-- $NetBSD: catalog,v 1.1.1.1 2003/12/13 21:20:38 xtraeme Exp $ -->
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+ <public publicId="-//Norman Walsh//DTD DTDParse V2.0//EN" uri="file://@@DTDDIR@@/dtd.dtd" />
+</catalog>
Home |
Main Index |
Thread Index |
Old Index