From 35f5032f59a92003beb1adc7493f753c9bab924a Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Thu, 1 Sep 2005 09:50:51 +0000 Subject: [PATCH] Add p5-Syntax-Highlight-HTML, a perl module to highlight HTML syntax. --- www/Makefile | 1 + www/p5-Syntax-Highlight-HTML/Makefile | 31 ++++++++++++++++++++++++++ www/p5-Syntax-Highlight-HTML/distinfo | 2 ++ www/p5-Syntax-Highlight-HTML/pkg-descr | 5 +++++ www/p5-Syntax-Highlight-HTML/pkg-plist | 7 ++++++ 5 files changed, 46 insertions(+) create mode 100644 www/p5-Syntax-Highlight-HTML/Makefile create mode 100644 www/p5-Syntax-Highlight-HTML/distinfo create mode 100644 www/p5-Syntax-Highlight-HTML/pkg-descr create mode 100644 www/p5-Syntax-Highlight-HTML/pkg-plist 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 +# +# $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 + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.0 or later. Install lang/perl5 and try again +.endif + +.include 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