aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-24 21:32:17 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-24 21:32:17 +0800
commitf2983d8f67733545c4588c92e46d5a6535f45fc8 (patch)
treed8c9ea16f2f3c26bd5201f1de9c10babd32f3de2 /textproc
parent1f0d834af93939af99d532d72822391eaeacab91 (diff)
downloadfreebsd-ports-gnome-f2983d8f67733545c4588c92e46d5a6535f45fc8.tar.gz
freebsd-ports-gnome-f2983d8f67733545c4588c92e46d5a6535f45fc8.tar.zst
freebsd-ports-gnome-f2983d8f67733545c4588c92e46d5a6535f45fc8.zip
add p5-HTML-Format
A module to format HTML to text or PS PR: 26867 Submitted by: Pete Fritchman <petef@databits.net>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-HTML-Format/Makefile24
-rw-r--r--textproc/p5-HTML-Format/distinfo1
-rw-r--r--textproc/p5-HTML-Format/pkg-comment1
-rw-r--r--textproc/p5-HTML-Format/pkg-descr20
-rw-r--r--textproc/p5-HTML-Format/pkg-plist6
6 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d4b6047d1680..eec36d094e9f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -83,6 +83,7 @@
SUBDIR += openjade
SUBDIR += opensched
SUBDIR += p5-DelimMatch
+ SUBDIR += p5-HTML-Format
SUBDIR += p5-LJ-SpellCheck
SUBDIR += p5-Lingua-Ispell
SUBDIR += p5-PDF-Create
diff --git a/textproc/p5-HTML-Format/Makefile b/textproc/p5-HTML-Format/Makefile
new file mode 100644
index 000000000000..c60523d9073d
--- /dev/null
+++ b/textproc/p5-HTML-Format/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-HTML-Format
+# Date created: 25 April 2001
+# Whom: Pete Fritchman <petef@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-Format
+PORTVERSION= 1.23
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= petef@databits.net
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/Element.pm:${PORTSDIR}/www/p5-HTML-Tree \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Font/AFM.pm:${PORTSDIR}/textproc/p5-Font-AFM
+
+PERL_CONFIGURE= yes
+MAN3= HTML::Formatter.3 HTML::FormatPS.3 HTML::FormatText.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-HTML-Format/distinfo b/textproc/p5-HTML-Format/distinfo
new file mode 100644
index 000000000000..5bf40eb3aa9d
--- /dev/null
+++ b/textproc/p5-HTML-Format/distinfo
@@ -0,0 +1 @@
+MD5 (HTML-Format-1.23.tar.gz) = 78f94c359a399ad8c0ead462a69243b4
diff --git a/textproc/p5-HTML-Format/pkg-comment b/textproc/p5-HTML-Format/pkg-comment
new file mode 100644
index 000000000000..17e1c61d962b
--- /dev/null
+++ b/textproc/p5-HTML-Format/pkg-comment
@@ -0,0 +1 @@
+A module to format HTML to text or PS
diff --git a/textproc/p5-HTML-Format/pkg-descr b/textproc/p5-HTML-Format/pkg-descr
new file mode 100644
index 000000000000..7b7acb132e16
--- /dev/null
+++ b/textproc/p5-HTML-Format/pkg-descr
@@ -0,0 +1,20 @@
+This is a collection of modules that formats text from HTML syntax
+trees. Bug reports and discussions about these modules can be sent
+to the <libwww@perl.org> mailing list.
+
+The modules present in this package are:
+
+ HTML::Formatter - Base class for various formatters. Formatters
+ traverse a syntax tree and produce some textual output.
+ None of the current formatters handle tables or forms yet.
+
+ HTML::FormatText - Formatter that converts a syntax tree to plain
+ readable text.
+
+ HTML::FormatPS - Formatter that outputs PostScript code.
+
+
+WWW: http://search.cpan.org/search?dist=PDF-Create
+
+- Pete
+petef@databits.net
diff --git a/textproc/p5-HTML-Format/pkg-plist b/textproc/p5-HTML-Format/pkg-plist
new file mode 100644
index 000000000000..ce21f6aabdb4
--- /dev/null
+++ b/textproc/p5-HTML-Format/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/HTML/FormatPS.pm
+lib/perl5/site_perl/%%PERL_VER%%/HTML/FormatText.pm
+lib/perl5/site_perl/%%PERL_VER%%/HTML/Formatter.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML-Format/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML-Format
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/HTML 2>/dev/null || true