summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-06-24 01:48:59 +0000
committerjschauma <jschauma>2003-06-24 01:48:59 +0000
commit9eaf083962a36f721efd645ccb8da8908fb5ff53 (patch)
tree95f1ec7d4452fab040ca7c515b17e590798ad3f7 /converters
parent43dd2c963cdce2b7a902695e01d2f448b4a8a8f4 (diff)
downloadpkgsrc-9eaf083962a36f721efd645ccb8da8908fb5ff53.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/DESCR5
-rw-r--r--converters/code2html/Makefile20
-rw-r--r--converters/code2html/PLIST3
-rw-r--r--converters/code2html/distinfo4
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