pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import p5-HTML-Formatter as wip/p5-HTML-Formatter



Module Name:	pkgsrc-wip
Committed By:	Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By:	angelmadames
Date:		Tue May 30 10:14:24 2017 -0400
Changeset:	b78dc37eece014f21aa6c0e06f222a4205e0f39e

Added Files:
	p5-HTML-Formatter/DESCR
	p5-HTML-Formatter/Makefile
	p5-HTML-Formatter/PLIST
	p5-HTML-Formatter/distinfo

Log Message:
Import p5-HTML-Formatter as wip/p5-HTML-Formatter

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b78dc37eece014f21aa6c0e06f222a4205e0f39e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 p5-HTML-Formatter/DESCR    | 12 ++++++++++++
 p5-HTML-Formatter/Makefile | 23 +++++++++++++++++++++++
 p5-HTML-Formatter/PLIST    | 12 ++++++++++++
 p5-HTML-Formatter/distinfo |  6 ++++++
 4 files changed, 53 insertions(+)

diffs:
diff --git a/p5-HTML-Formatter/DESCR b/p5-HTML-Formatter/DESCR
new file mode 100644
index 0000000000..a221c78beb
--- /dev/null
+++ b/p5-HTML-Formatter/DESCR
@@ -0,0 +1,12 @@
+HTML::Formatter is a base class for classes that take HTML and format
+    it to some output format. When you take an object of such a base class
+    and call $formatter-format( $tree )> with an HTML::TreeBuilder (or
+    HTML::Element) object, they return the appropriately formatted string
+    for the input HTML.
+
+    HTML formatters are able to format a HTML syntax tree into various
+    printable formats. Different formatters produce output for different
+    output media. Common for all formatters are that they will return the
+    formatted output when the format() method is called. The format()
+    method takes a HTML::Element object (usually the HTML::TreeBuilder root
+    object) as parameter.
diff --git a/p5-HTML-Formatter/Makefile b/p5-HTML-Formatter/Makefile
new file mode 100644
index 0000000000..528579b92e
--- /dev/null
+++ b/p5-HTML-Formatter/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	HTML-Formatter-2.16
+PKGNAME=	p5-${DISTNAME}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=HTML/}
+
+MAINTAINER=	angelmadames%gmail.com@localhost
+HOMEPAGE=	https://metacpan.org/release/HTML-Format/
+COMMENT=	Format HTML as plaintext
+LICENSE=	${PERL5_LICENSE}
+
+DEPENDS+=	p5-Module-Build>=0.4:../../devel/p5-Module-Build
+DEPENDS+=	p5-HTML-Parser>=3.7:../../www/p5-HTML-Parser
+DEPENDS+=	p5-Encode>=2.8:../../textproc/p5-Encode
+DEPENDS+=	p5-File-Slurper>=0:../../devel/p5-File-Slurper
+DEPENDS+=	p5-HTML-Tree>=5.0:../../www/p5-HTML-Tree
+DEPENDS+=	p5-Font-AFM>=1.2:../../fonts/p5-Font-AFM
+
+PERL5_PACKLIST=	auto/HTML/Formatter/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-HTML-Formatter/PLIST b/p5-HTML-Formatter/PLIST
new file mode 100644
index 0000000000..5317201d9a
--- /dev/null
+++ b/p5-HTML-Formatter/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+${PERL5_SUB_INSTALLVENDORLIB}/HTML/FormatMarkdown.pm
+${PERL5_SUB_INSTALLVENDORLIB}/HTML/FormatPS.pm
+${PERL5_SUB_INSTALLVENDORLIB}/HTML/FormatRTF.pm
+${PERL5_SUB_INSTALLVENDORLIB}/HTML/FormatText.pm
+${PERL5_SUB_INSTALLVENDORLIB}/HTML/Formatter.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/HTML/Formatter/.packlist
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/HTML::FormatMarkdown.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/HTML::FormatPS.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/HTML::FormatRTF.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/HTML::FormatText.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/HTML::Formatter.3
diff --git a/p5-HTML-Formatter/distinfo b/p5-HTML-Formatter/distinfo
new file mode 100644
index 0000000000..84f947dc5b
--- /dev/null
+++ b/p5-HTML-Formatter/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (HTML-Formatter-2.16.tar.gz) = 9c73d2de17d3a79212abc4c9b8c44b40802190a1
+RMD160 (HTML-Formatter-2.16.tar.gz) = cc447e6bf39426f21173e598f21588370cfd6e76
+SHA512 (HTML-Formatter-2.16.tar.gz) = feb09ed5eefa36f1368f051aa077a8123b5c22a50feea10c09f3b7f826c78ac45868a3fde4f96a340bc922a9512afc9c4b02ca6d97d6e538e517e7f3797bd47c
+Size (HTML-Formatter-2.16.tar.gz) = 54362 bytes


Home | Main Index | Thread Index | Old Index