diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-12-13 21:20:38 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-12-13 21:20:38 +0000 |
commit | 4bdc8bf2c602a2444f839a8d21b62231f528a377 (patch) | |
tree | c0791720931a8fabbfb659ac3b2edd18cb99d084 /textproc/dtdparse/Makefile | |
parent | 139ca5fa3f31fde1ad2bb470988d2907dbe33b60 (diff) | |
download | pkgsrc-4bdc8bf2c602a2444f839a8d21b62231f528a377.tar.gz |
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 (limited to 'textproc/dtdparse/Makefile')
-rw-r--r-- | textproc/dtdparse/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/textproc/dtdparse/Makefile b/textproc/dtdparse/Makefile new file mode 100644 index 00000000000..0c40ddff987 --- /dev/null +++ b/textproc/dtdparse/Makefile @@ -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 +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" |