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>
This commit is contained in:
Rong-En Fan
2006-07-13 01:51:48 +00:00
parent 6637f55607
commit 7519952217
5 changed files with 51 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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

View File

@@ -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/

View File

@@ -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