summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-14 06:16:17 +0000
committerclsung <clsung@FreeBSD.org>2006-07-14 06:16:17 +0000
commit08172f49e35453e9d1d0a6b4371246a20d489e5b (patch)
treed9fd04352392a03d31dbc9a34c63e426ab94649c /textproc
parent47cc45ddbb715d2833640c1adc26dfa319bed2ed (diff)
downloadFreeBSD-ports-08172f49e35453e9d1d0a6b4371246a20d489e5b.zip
FreeBSD-ports-08172f49e35453e9d1d0a6b4371246a20d489e5b.tar.gz
Add p5-SGML-DTDParse 2.00, parse an SGML or XML DTD.
PR: ports/100082 Submitted by: chinsan <chinsan.tw at gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-SGML-DTDParse/Makefile36
-rw-r--r--textproc/p5-SGML-DTDParse/distinfo3
-rw-r--r--textproc/p5-SGML-DTDParse/pkg-descr5
-rw-r--r--textproc/p5-SGML-DTDParse/pkg-plist20
5 files changed, 65 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9bfad48..2828868 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -423,6 +423,7 @@
SUBDIR += p5-Regexp-Common-profanity_us
SUBDIR += p5-Regexp-Log
SUBDIR += p5-Regexp-Log-Common
+ SUBDIR += p5-SGML-DTDParse
SUBDIR += p5-SGMLSpm
SUBDIR += p5-SVG
SUBDIR += p5-Search-Estraier
diff --git a/textproc/p5-SGML-DTDParse/Makefile b/textproc/p5-SGML-DTDParse/Makefile
new file mode 100644
index 0000000..7e0a214
--- /dev/null
+++ b/textproc/p5-SGML-DTDParse/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-SGML-DTDParse
+# Date created: 2006/07/11
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= SGML-DTDParse
+PORTVERSION= 2.00
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= SGML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan.tw@gmail.com
+COMMENT= Parse an SGML or XML DTD
+
+BUILD_DEPENDS= p5-DelimMatch>=1.05:${PORTSDIR}/textproc/p5-DelimMatch \
+ p5-libxml>=0.08:${PORTSDIR}/textproc/p5-libxml \
+ p5-XML-DOM>=1.44:${PORTSDIR}/textproc/p5-XML-DOM \
+ p5-XML-Parser>=2.3:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN1= dtddiff2html.1 dtdformat.1 dtddiff.1 dtdparse.1 dtdflatten.1
+MAN1PREFIX= ${PREFIX}
+MAN3= SGML::DTDParse::DTD.3 SGML::DTDParse.3 SGML::DTDParse::Util.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8 or later due to dependencies. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-SGML-DTDParse/distinfo b/textproc/p5-SGML-DTDParse/distinfo
new file mode 100644
index 0000000..babe0de
--- /dev/null
+++ b/textproc/p5-SGML-DTDParse/distinfo
@@ -0,0 +1,3 @@
+MD5 (SGML-DTDParse-2.00.tar.gz) = bcff0835a0a7480794311fa0821d4db9
+SHA256 (SGML-DTDParse-2.00.tar.gz) = 092734401d77d7a6693a1db5a1cc18b43c3671eb2d8ab52b34af6b9417dadde3
+SIZE (SGML-DTDParse-2.00.tar.gz) = 57846
diff --git a/textproc/p5-SGML-DTDParse/pkg-descr b/textproc/p5-SGML-DTDParse/pkg-descr
new file mode 100644
index 0000000..2a55f87
--- /dev/null
+++ b/textproc/p5-SGML-DTDParse/pkg-descr
@@ -0,0 +1,5 @@
+The DTDParse collection is a set of Perl modules and scripts for
+manipulating SGML an XML Document Type Definitions (DTDs). DTDParse is
+designed primarily to aid in the understanding and documentation of DTDs.
+
+WWW: http://search.cpan.org/dist/SGML-DTDParse/
diff --git a/textproc/p5-SGML-DTDParse/pkg-plist b/textproc/p5-SGML-DTDParse/pkg-plist
new file mode 100644
index 0000000..7bde1fe
--- /dev/null
+++ b/textproc/p5-SGML-DTDParse/pkg-plist
@@ -0,0 +1,20 @@
+bin/dtddiff2html
+bin/dtdformat
+bin/dtddiff
+bin/dtdparse
+bin/dtdflatten
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML/DTDParse/.packlist
+%%SITE_PERL%%/SGML/DTDParse.pm
+%%SITE_PERL%%/SGML/DTDParse/Tokenizer.pm
+%%SITE_PERL%%/SGML/DTDParse/DTD.pm
+%%SITE_PERL%%/SGML/DTDParse/Util.pm
+%%SITE_PERL%%/SGML/DTDParse/ContentModel.pm
+%%SITE_PERL%%/SGML/DTDParse/Catalog.pm
+%%SITE_PERL%%/SGML/DTDParse/Format/plain.pl
+%%SITE_PERL%%/SGML/DTDParse/Format/refentry.pl
+%%SITE_PERL%%/SGML/DTDParse/Format/html.pl
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML/DTDParse
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SGML
+@dirrmtry %%SITE_PERL%%/SGML/DTDParse/Format
+@dirrmtry %%SITE_PERL%%/SGML/DTDParse
+@dirrmtry %%SITE_PERL%%/SGML
OpenPOWER on IntegriCloud