mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Update port: textproc/dtdparse (cleanup)
Drop maintainership and cleanup PR: ports/50380 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
a40d053c40
commit
383e2ffbf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77767
@ -13,20 +13,15 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= dtdparse
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
|
||||
|
||||
MAINTAINER= fuyuki@hadaly.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Parse a DTD and produce an XML document that represents it
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/DelimMatch.pm:${PORTSDIR}/textproc/p5-DelimMatch \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM
|
||||
RUN_DEPENDS= ${SITE_PERL}/Text/DelimMatch.pm:${PORTSDIR}/textproc/p5-DelimMatch \
|
||||
${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM
|
||||
|
||||
USE_PERL5= yes
|
||||
|
||||
# pod's are broken
|
||||
#MAN1= dtdformat.1 dtdparse.1
|
||||
|
||||
SITE_PERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
||||
NO_BUILD= yes
|
||||
XMLDIR= ${PREFIX}/share/xml/${PORTNAME}
|
||||
|
||||
SCRIPTS= dtdflatten dtdformat dtdparse \
|
||||
tools/contentmodel tools/dtdstats tools/elements
|
||||
|
||||
@ -35,11 +30,6 @@ post-patch:
|
||||
${PERL} -pi -e 's,/usr/local/bin/perl5,${PERL},' ${SCRIPTS}
|
||||
${PERL} -pi -e 's,modules/,XML/DTDParse/,' ${WRKSRC}/dtdformat
|
||||
|
||||
do-build:
|
||||
#.for i in dtdformat dtdparse
|
||||
# cd ${WRKSRC}; pod2man ${i} >${i}.1
|
||||
#.endfor
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
|
||||
${MKDIR} ${SITE_PERL}/XML/DTDParse
|
||||
@ -50,7 +40,6 @@ do-install:
|
||||
${ECHO_CMD} \
|
||||
'PUBLIC "-//Norman Walsh//DTD DTDParse V2.0//EN" "dtd.dtd"' \
|
||||
>${XMLDIR}/catalog
|
||||
# cd ${WRKSRC}; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
|
@ -3,6 +3,3 @@ Definitions (DTDs). DTDParse is designed primarily to aid in the
|
||||
understanding and documentation of DTDs.
|
||||
|
||||
WWW: http://sourceforge.net/projects/dtdparse/
|
||||
|
||||
- Kimura Fuyuki
|
||||
fuyuki@hadaly.org
|
||||
|
@ -4,23 +4,23 @@ bin/dtdformat
|
||||
bin/dtdparse
|
||||
bin/dtdstats
|
||||
bin/elements
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/Catalog.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/ContentModel.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/DTD.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/Tokenizer.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/html.pl
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/plain.pl
|
||||
lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse/refentry.pl
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DTDParse
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
|
||||
%%SITE_PERL%%/XML/DTDParse/Catalog.pm
|
||||
%%SITE_PERL%%/XML/DTDParse/ContentModel.pm
|
||||
%%SITE_PERL%%/XML/DTDParse/DTD.pm
|
||||
%%SITE_PERL%%/XML/DTDParse/Tokenizer.pm
|
||||
%%SITE_PERL%%/XML/DTDParse/html.pl
|
||||
%%SITE_PERL%%/XML/DTDParse/plain.pl
|
||||
%%SITE_PERL%%/XML/DTDParse/refentry.pl
|
||||
@dirrm %%SITE_PERL%%/XML/DTDParse
|
||||
@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
|
||||
share/xml/dtdparse/catalog
|
||||
share/xml/dtdparse/dtd.dtd
|
||||
@dirrm share/xml/dtdparse
|
||||
share/examples/dtdparse/sample.dtd
|
||||
share/examples/dtdparse/sample.mod
|
||||
share/examples/dtdparse/simple-inline.mod
|
||||
share/examples/dtdparse/simple.dtd
|
||||
@dirrm share/examples/dtdparse
|
||||
share/doc/dtdparse/README
|
||||
share/doc/dtdparse/WhatsNew
|
||||
@dirrm share/doc/dtdparse
|
||||
%%EXAMPLESDIR%%/sample.dtd
|
||||
%%EXAMPLESDIR%%/sample.mod
|
||||
%%EXAMPLESDIR%%/simple-inline.mod
|
||||
%%EXAMPLESDIR%%/simple.dtd
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%DOCSDIR%%/README
|
||||
%%DOCSDIR%%/WhatsNew
|
||||
@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user