convert perl programs into HTML

This commit is contained in:
espie 2006-12-21 22:02:42 +00:00
parent 7340032f69
commit fc0ee90e8f
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/12/21 22:02:42 espie Exp $
COMMENT= "parse, analyze and manipulate Perl"
MODULES= cpan
DISTNAME= PPI-HTML-1.07
CATEGORIES= textproc www
CPAN_AUTHOR= ADAMK
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::textproc/p5-PPI \
::www/p5-CSS-Tiny
MAKE_ENV= TEST_POD=Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (PPI-HTML-1.07.tar.gz) = c2858d87c0e12ab87845606957bcd122
RMD160 (PPI-HTML-1.07.tar.gz) = b8766277c92ecb781e73da125c7e1c1199a96994
SHA1 (PPI-HTML-1.07.tar.gz) = e35648958db78462751078bf84638e9e29e05207
SIZE (PPI-HTML-1.07.tar.gz) = 24905

View File

@ -0,0 +1,11 @@
PPI::HTML is the successor to the now-redundant PPI::Format::HTML.
While early on it was thought that the same formatting code might be
able to be used for a variety of different types of things (ANSI and
HTML for example) later developments with the here-doc code and the need
for independantly written serializers meant that this idea had to be
discarded.
The new module is much cleaner. Simply create an object with the options
you want, pass PPI::Document objects to the "html" method, and you get
strings of HTML that you can do whatever you want with.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/21 22:02:42 espie Exp $
bin/ppi2html
${P5SITE}/PPI/HTML/
${P5SITE}/PPI/HTML.pm
${P5SITE}/PPI/HTML/Fragment.pm
@man man/man3p/PPI::HTML.3p