summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-30 23:04:42 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-30 23:04:42 +0000
commit383e2ffbf13e5ee8936faf192d46b273162e91fe (patch)
tree1319f23578162db769b1d828e67e04ad1dc8c49b /textproc
parentmaintainer-Update www/caudium10 update to 1.0.56 (diff)
Update port: textproc/dtdparse (cleanup)
Drop maintainership and cleanup PR: ports/50380 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=77767
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 05d7e6bb6f6c..4485f2e3af05 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 8b3b707e9efe..36b8fb992c27 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 21a36281206a..5007a5378ab2 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%%