summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-PPI-HTML/Makefile38
-rw-r--r--textproc/p5-PPI-HTML/distinfo2
-rw-r--r--textproc/p5-PPI-HTML/pkg-descr3
-rw-r--r--textproc/p5-PPI-HTML/pkg-plist7
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 7da728d74dc9..187ff6537b69 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -314,6 +314,7 @@
SUBDIR += p5-PDF-Create
SUBDIR += p5-POE-Filter-XML
SUBDIR += p5-PPI
+ SUBDIR += p5-PPI-HTML
SUBDIR += p5-Parse-Syslog
SUBDIR += p5-PerlPoint-Converters
SUBDIR += p5-PerlPoint-Package
diff --git a/textproc/p5-PPI-HTML/Makefile b/textproc/p5-PPI-HTML/Makefile
new file mode 100644
index 000000000000..1c889141e362
--- /dev/null
+++ b/textproc/p5-PPI-HTML/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: textproc/p5-PPI-HTML
+# Date created: 24 March 2005
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PPI-HTML
+PORTVERSION= 0.02
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Generate syntax-hightlighted HTML for Perl using PPI
+
+BUILD_DEPENDS= ${SITE_PERL}/PPI.pm:${PORTSDIR}/textproc/p5-PPI \
+ ${SITE_PERL}/CSS/Tiny.pm:${PORTSDIR}/textproc/p5-CSS-Tiny
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= PPI::HTML.3
+
+post-patch:
+ @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
+ @${PERL} -pi -e '$$_="" if m/AutoInstall/' ${WRKSRC}/MANIFEST
+ @${PERL} -pi -e '$$_="" if m/Test::More|auto_install/' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+# version limitation inherited from textproc/p5-PPI
+IGNORE= requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-PPI-HTML/distinfo b/textproc/p5-PPI-HTML/distinfo
new file mode 100644
index 000000000000..bce51e75bd34
--- /dev/null
+++ b/textproc/p5-PPI-HTML/distinfo
@@ -0,0 +1,2 @@
+MD5 (PPI-HTML-0.02.tar.gz) = 217bc89927271487ec4e62da01e93ab2
+SIZE (PPI-HTML-0.02.tar.gz) = 20537
diff --git a/textproc/p5-PPI-HTML/pkg-descr b/textproc/p5-PPI-HTML/pkg-descr
new file mode 100644
index 000000000000..5fb8a6371146
--- /dev/null
+++ b/textproc/p5-PPI-HTML/pkg-descr
@@ -0,0 +1,3 @@
+PPI::HTML is the successor to the non-redundant PPI::Format::HTML.
+
+WWW: http://search.cpan.org/dist/PPI-HTML
diff --git a/textproc/p5-PPI-HTML/pkg-plist b/textproc/p5-PPI-HTML/pkg-plist
new file mode 100644
index 000000000000..7c0c23457694
--- /dev/null
+++ b/textproc/p5-PPI-HTML/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/PPI/HTML.pm
+%%SITE_PERL%%/PPI/HTML/Fragment.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PPI/HTML/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PPI/HTML
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PPI 2>/dev/null || true
+@dirrm %%SITE_PERL%%/PPI/HTML
+@unexec rmdir %D/%%SITE_PERL%%/PPI 2>/dev/null || true