aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-09-01 09:50:51 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-09-01 09:50:51 +0000
commit35f5032f59a92003beb1adc7493f753c9bab924a (patch)
tree4014e194fd37f94cff8b0317c295087321d4972f
parent4ce719cf7c848e5a743f43e9c67900b75e4a5488 (diff)
downloadports-35f5032f59a92003beb1adc7493f753c9bab924a.tar.gz
ports-35f5032f59a92003beb1adc7493f753c9bab924a.zip
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Syntax-Highlight-HTML/Makefile31
-rw-r--r--www/p5-Syntax-Highlight-HTML/distinfo2
-rw-r--r--www/p5-Syntax-Highlight-HTML/pkg-descr5
-rw-r--r--www/p5-Syntax-Highlight-HTML/pkg-plist7
5 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 927978a43768..ca56339e8adc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -594,6 +594,7 @@
SUBDIR += p5-Sledge-Plugin-XSLT
SUBDIR += p5-Sledge-SessionManager-CookieStore
SUBDIR += p5-Sledge-Template-Expr
+ SUBDIR += p5-Syntax-Highlight-HTML
SUBDIR += p5-Template-Multilingual
SUBDIR += p5-Template-Plugin-Class
SUBDIR += p5-Template-Plugin-Comma
diff --git a/www/p5-Syntax-Highlight-HTML/Makefile b/www/p5-Syntax-Highlight-HTML/Makefile
new file mode 100644
index 000000000000..4ef9f4230544
--- /dev/null
+++ b/www/p5-Syntax-Highlight-HTML/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: www/p5-Syntax-Highlight-HTML
+# Date created: 01 September 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Syntax-Highlight-HTML
+PORTVERSION= 0.04
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Syntax
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Syntax::Highlight::HTML - Highlight HTML syntax
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Syntax::Highlight::HTML.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.0 or later. Install lang/perl5 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Syntax-Highlight-HTML/distinfo b/www/p5-Syntax-Highlight-HTML/distinfo
new file mode 100644
index 000000000000..0d5c0e173ff5
--- /dev/null
+++ b/www/p5-Syntax-Highlight-HTML/distinfo
@@ -0,0 +1,2 @@
+MD5 (Syntax-Highlight-HTML-0.04.tar.gz) = 8cbf5be700ea06396939384cdb3fe153
+SIZE (Syntax-Highlight-HTML-0.04.tar.gz) = 16915
diff --git a/www/p5-Syntax-Highlight-HTML/pkg-descr b/www/p5-Syntax-Highlight-HTML/pkg-descr
new file mode 100644
index 000000000000..95075ef0a1b0
--- /dev/null
+++ b/www/p5-Syntax-Highlight-HTML/pkg-descr
@@ -0,0 +1,5 @@
+This module is designed to take raw HTML input and highlight it (using a
+CSS stylesheet). The returned HTML code is ready for inclusion in a web
+page.
+
+WWW: http://search.cpan.org/dist/Syntax-Highlight-HTML
diff --git a/www/p5-Syntax-Highlight-HTML/pkg-plist b/www/p5-Syntax-Highlight-HTML/pkg-plist
new file mode 100644
index 000000000000..b1907b57d396
--- /dev/null
+++ b/www/p5-Syntax-Highlight-HTML/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Syntax/Highlight/HTML.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/HTML/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/HTML
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Syntax/Highlight 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Syntax 2>/dev/null || true