aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-13 09:51:48 +0800
committerrafan <rafan@FreeBSD.org>2006-07-13 09:51:48 +0800
commit67bb4fa735232007a8906179a85f542a4698e04a (patch)
treee937020d59394a487e99d73cd5e555d8831aff24 /textproc
parent60a30a4d1de2d4529419a915cd312b0bffdd8b27 (diff)
downloadfreebsd-ports-graphics-67bb4fa735232007a8906179a85f542a4698e04a.tar.gz
freebsd-ports-graphics-67bb4fa735232007a8906179a85f542a4698e04a.tar.zst
freebsd-ports-graphics-67bb4fa735232007a8906179a85f542a4698e04a.zip
Add p5-Pod-Xhtml 1.52, generate well-formed XHTML documents from POD
format documentation. PR: ports/100174 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Pod-Xhtml/Makefile26
-rw-r--r--textproc/p5-Pod-Xhtml/distinfo3
-rw-r--r--textproc/p5-Pod-Xhtml/pkg-descr14
-rw-r--r--textproc/p5-Pod-Xhtml/pkg-plist7
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index ca5ddcf6ed3..9ccb88e5b96 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -407,6 +407,7 @@
SUBDIR += p5-Pod-Simple
SUBDIR += p5-Pod-Stripper
SUBDIR += p5-Pod-Tree
+ SUBDIR += p5-Pod-Xhtml
SUBDIR += p5-RADIUS-UserFile
SUBDIR += p5-RDF-Core
SUBDIR += p5-RDF-Notation3
diff --git a/textproc/p5-Pod-Xhtml/Makefile b/textproc/p5-Pod-Xhtml/Makefile
new file mode 100644
index 00000000000..b472d22e246
--- /dev/null
+++ b/textproc/p5-Pod-Xhtml/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Pod-Xhtml
+# Date created: 2006-07-13
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Pod-Xhtml
+PORTVERSION= 1.52
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Pod
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Generate well-formed XHTML documents from POD format documentation
+
+BUILD_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-Pod-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN1= pod2xhtml.1
+MAN3= Pod::Xhtml.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Pod-Xhtml/distinfo b/textproc/p5-Pod-Xhtml/distinfo
new file mode 100644
index 00000000000..25d5b2fe461
--- /dev/null
+++ b/textproc/p5-Pod-Xhtml/distinfo
@@ -0,0 +1,3 @@
+MD5 (Pod-Xhtml-1.52.tar.gz) = 2894be2c319c1e120d9fefcdd4e6fe8b
+SHA256 (Pod-Xhtml-1.52.tar.gz) = 42c30da1fb7f8f2fa062e2175585ea44445fd63baf30cf0f481adf5a6c646db4
+SIZE (Pod-Xhtml-1.52.tar.gz) = 22868
diff --git a/textproc/p5-Pod-Xhtml/pkg-descr b/textproc/p5-Pod-Xhtml/pkg-descr
new file mode 100644
index 00000000000..423f2945dde
--- /dev/null
+++ b/textproc/p5-Pod-Xhtml/pkg-descr
@@ -0,0 +1,14 @@
+There's Pod::PXML and Pod::XML, so why do we need Pod::Xhtml? You need
+an XSLT to transform XML into XHTML and many people don't have the
+time or inclination to do this. But they want to make sure that the
+pages they put on their web site are well-formed, they want those
+pages to use stylesheets easily, and possibly they want to squirt the
+XHTML through some kind of filter for more processing.
+
+By generating well-formed XHTML straight away we allow anyone to just
+use the output files as-is. For those who want to use XML tools or
+transformations they can use the XHTML as a source, because it's a
+well-formed XML document.
+
+Author: P Kent & Simon Flack <cpan _at_ bbc _dot_ co _dot_ uk>
+WWW: http://search.cpan.org/dist/Pod-Xhtml/
diff --git a/textproc/p5-Pod-Xhtml/pkg-plist b/textproc/p5-Pod-Xhtml/pkg-plist
new file mode 100644
index 00000000000..69c6a8441e9
--- /dev/null
+++ b/textproc/p5-Pod-Xhtml/pkg-plist
@@ -0,0 +1,7 @@
+@comment $FreeBSD$
+bin/pod2xhtml
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Xhtml/.packlist
+%%SITE_PERL%%/Pod/Xhtml.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Xhtml
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod
+@dirrmtry %%SITE_PERL%%/Pod