aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Syntax-Highlight-Shell
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-09-01 09:58:56 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-09-01 09:58:56 +0000
commit9bbf4da52b5badea22a741ade67d161a129a5f6b (patch)
tree0c6bdd257e7865022a0c528742825f59e3ea5084 /www/p5-Syntax-Highlight-Shell
parent35f5032f59a92003beb1adc7493f753c9bab924a (diff)
downloadports-9bbf4da52b5badea22a741ade67d161a129a5f6b.tar.gz
ports-9bbf4da52b5badea22a741ade67d161a129a5f6b.zip
Add p5-Syntax-Highlight-Shell, a perl module to highlight shell syntax
in HTML.
Notes
Notes: svn path=/head/; revision=141690
Diffstat (limited to 'www/p5-Syntax-Highlight-Shell')
-rw-r--r--www/p5-Syntax-Highlight-Shell/Makefile31
-rw-r--r--www/p5-Syntax-Highlight-Shell/distinfo2
-rw-r--r--www/p5-Syntax-Highlight-Shell/pkg-descr6
-rw-r--r--www/p5-Syntax-Highlight-Shell/pkg-plist7
4 files changed, 46 insertions, 0 deletions
diff --git a/www/p5-Syntax-Highlight-Shell/Makefile b/www/p5-Syntax-Highlight-Shell/Makefile
new file mode 100644
index 000000000000..72cf76c21028
--- /dev/null
+++ b/www/p5-Syntax-Highlight-Shell/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: www/p5-Syntax-Highlight-Shell
+# Date created: 01 September 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Syntax-Highlight-Shell
+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::Shell - Highlight shell scripts
+
+BUILD_DEPENDS= ${SITE_PERL}/Shell/Parser.pm:${PORTSDIR}/devel/p5-Shell-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Syntax::Highlight::Shell.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-Shell/distinfo b/www/p5-Syntax-Highlight-Shell/distinfo
new file mode 100644
index 000000000000..5eb636a341d6
--- /dev/null
+++ b/www/p5-Syntax-Highlight-Shell/distinfo
@@ -0,0 +1,2 @@
+MD5 (Syntax-Highlight-Shell-0.04.tar.gz) = 9f77a89ff0abe77351918ca1085973aa
+SIZE (Syntax-Highlight-Shell-0.04.tar.gz) = 15627
diff --git a/www/p5-Syntax-Highlight-Shell/pkg-descr b/www/p5-Syntax-Highlight-Shell/pkg-descr
new file mode 100644
index 000000000000..1ae33641a003
--- /dev/null
+++ b/www/p5-Syntax-Highlight-Shell/pkg-descr
@@ -0,0 +1,6 @@
+This module is designed to take shell scripts and highlight them in HTML
+with meaningful colours using CSS. The resulting HTML output is ready
+for inclusion in a web page. Note that no reformating is done, all
+spaces are preserved.
+
+WWW: http://search.cpan.org/dist/Syntax-Highlight-Shell
diff --git a/www/p5-Syntax-Highlight-Shell/pkg-plist b/www/p5-Syntax-Highlight-Shell/pkg-plist
new file mode 100644
index 000000000000..5ae424bb61a4
--- /dev/null
+++ b/www/p5-Syntax-Highlight-Shell/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Syntax/Highlight/Shell.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/Shell/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/Shell
+@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