summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-03-30 23:04:42 +0000
committeredwin <edwin@FreeBSD.org>2003-03-30 23:04:42 +0000
commit52d13e29c678a7a7552c52fdd8c7c2a16cb04e51 (patch)
tree64fd0d0733f2aa7cce11b0ea84bc143e4193f078 /textproc
parent2991ea40dfecf4caf9f2233975d8694b83ef6d86 (diff)
downloadFreeBSD-ports-52d13e29c678a7a7552c52fdd8c7c2a16cb04e51.zip
FreeBSD-ports-52d13e29c678a7a7552c52fdd8c7c2a16cb04e51.tar.gz
Update port: textproc/dtdparse (cleanup)
Drop maintainership and cleanup PR: ports/50380 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/dtdparse/Makefile19
-rw-r--r--textproc/dtdparse/pkg-descr3
-rw-r--r--textproc/dtdparse/pkg-plist34
3 files changed, 21 insertions, 35 deletions
diff --git a/textproc/dtdparse/Makefile b/textproc/dtdparse/Makefile
index 05d7e6b..4485f2e 100644
--- a/textproc/dtdparse/Makefile
+++ b/textproc/dtdparse/Makefile
@@ -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}
diff --git a/textproc/dtdparse/pkg-descr b/textproc/dtdparse/pkg-descr
index 8b3b707..36b8fb9 100644
--- a/textproc/dtdparse/pkg-descr
+++ b/textproc/dtdparse/pkg-descr
@@ -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
diff --git a/textproc/dtdparse/pkg-plist b/textproc/dtdparse/pkg-plist
index 21a3628..5007a53 100644
--- a/textproc/dtdparse/pkg-plist
+++ b/textproc/dtdparse/pkg-plist
@@ -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%%
OpenPOWER on IntegriCloud