diff --git a/textproc/p5-PPI-HTML/Makefile b/textproc/p5-PPI-HTML/Makefile new file mode 100644 index 00000000000..4821a1a5844 --- /dev/null +++ b/textproc/p5-PPI-HTML/Makefile @@ -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 diff --git a/textproc/p5-PPI-HTML/distinfo b/textproc/p5-PPI-HTML/distinfo new file mode 100644 index 00000000000..53dd2685b49 --- /dev/null +++ b/textproc/p5-PPI-HTML/distinfo @@ -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 diff --git a/textproc/p5-PPI-HTML/pkg/DESCR b/textproc/p5-PPI-HTML/pkg/DESCR new file mode 100644 index 00000000000..2971c2276d5 --- /dev/null +++ b/textproc/p5-PPI-HTML/pkg/DESCR @@ -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. diff --git a/textproc/p5-PPI-HTML/pkg/PLIST b/textproc/p5-PPI-HTML/pkg/PLIST new file mode 100644 index 00000000000..cf121c18d9b --- /dev/null +++ b/textproc/p5-PPI-HTML/pkg/PLIST @@ -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