aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-09-01 17:58:56 +0800
committertobez <tobez@FreeBSD.org>2005-09-01 17:58:56 +0800
commit62c2ad5e6ac21c5185af496cfbae2a0cd3afcbe4 (patch)
treee5b9f0fd4e38c4aa87193e40be740208e2f8c0c5
parent1d8ff208f055a30d0e2914c21ee6773a06fdbc33 (diff)
downloadfreebsd-ports-gnome-62c2ad5e6ac21c5185af496cfbae2a0cd3afcbe4.tar.gz
freebsd-ports-gnome-62c2ad5e6ac21c5185af496cfbae2a0cd3afcbe4.tar.zst
freebsd-ports-gnome-62c2ad5e6ac21c5185af496cfbae2a0cd3afcbe4.zip
Add p5-Syntax-Highlight-Shell, a perl module to highlight shell syntax
in HTML.
-rw-r--r--www/Makefile1
-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
5 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ca56339e8adc..9342b7869f35 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -595,6 +595,7 @@
SUBDIR += p5-Sledge-SessionManager-CookieStore
SUBDIR += p5-Sledge-Template-Expr
SUBDIR += p5-Syntax-Highlight-HTML
+ SUBDIR += p5-Syntax-Highlight-Shell
SUBDIR += p5-Template-Multilingual
SUBDIR += p5-Template-Plugin-Class
SUBDIR += p5-Template-Plugin-Comma
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