diff options
author | jschauma <jschauma> | 2003-06-24 01:48:59 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-06-24 01:48:59 +0000 |
commit | 3a54451c80f5796e9c6dae9c7475f6662b536d94 (patch) | |
tree | 95f1ec7d4452fab040ca7c515b17e590798ad3f7 /converters | |
parent | 63b616f486126974650d396d3e1f6c6c1535c23d (diff) | |
download | pkgsrc-3a54451c80f5796e9c6dae9c7475f6662b536d94.tar.gz |
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/code2html/DESCR | 5 | ||||
-rw-r--r-- | converters/code2html/Makefile | 20 | ||||
-rw-r--r-- | converters/code2html/PLIST | 3 | ||||
-rw-r--r-- | converters/code2html/distinfo | 4 |
4 files changed, 32 insertions, 0 deletions
diff --git a/converters/code2html/DESCR b/converters/code2html/DESCR new file mode 100644 index 00000000000..30f59f87c46 --- /dev/null +++ b/converters/code2html/DESCR @@ -0,0 +1,5 @@ +code2html is a perlscript which converts a program source code to syntax +highlighted HTML. It may be called from the command line or as a CGI script. +It can also handle include commands in HTML files. Currently supports: Ada 95, +C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and +Groff. diff --git a/converters/code2html/Makefile b/converters/code2html/Makefile new file mode 100644 index 00000000000..fb3b6024717 --- /dev/null +++ b/converters/code2html/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/24 01:48:59 jschauma Exp $ +# + +DISTNAME= code2html-0.9.1 +CATEGORIES= converters devel textproc +MASTER_SITES= http://www.palfrader.org/code2html/all/ + +MAINTAINER= jschauma@netbsd.org +HOMEPAGE= http://www.palfrader.org/code2html/ +COMMENT= convert a program source code to syntax highlighted HTML + +NO_BUILD= # defined +REPLACE_PERL= ${WRKSRC}/code2html +USE_PERL5= run + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/code2html ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/code2html.1 ${PREFIX}/man/man1/ + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/code2html/PLIST b/converters/code2html/PLIST new file mode 100644 index 00000000000..5aac2ce106e --- /dev/null +++ b/converters/code2html/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/24 01:48:59 jschauma Exp $ +bin/code2html +man/man1/code2html.1 diff --git a/converters/code2html/distinfo b/converters/code2html/distinfo new file mode 100644 index 00000000000..ed53b8730c9 --- /dev/null +++ b/converters/code2html/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/06/24 01:48:59 jschauma Exp $ + +SHA1 (code2html-0.9.1.tar.gz) = 7661e7b423f89a03b04e3b1d8835d7a63248d089 +Size (code2html-0.9.1.tar.gz) = 39811 bytes |