From 533eb9e8d92242415071ac6246b23e9f62b96521 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 3 May 1999 02:55:20 +0000 Subject: Initial import of java2html version 0.4. A Jave, C, and C++ to HTML converter. PR: 10885 Submitted by: Martin Kammerhofer --- textproc/java2html/Makefile | 28 ++++++++++++++++++++++++++++ textproc/java2html/distinfo | 1 + textproc/java2html/files/patch-aa | 21 +++++++++++++++++++++ textproc/java2html/pkg-comment | 1 + textproc/java2html/pkg-descr | 12 ++++++++++++ textproc/java2html/pkg-plist | 5 +++++ 6 files changed, 68 insertions(+) create mode 100644 textproc/java2html/Makefile create mode 100644 textproc/java2html/distinfo create mode 100644 textproc/java2html/files/patch-aa create mode 100644 textproc/java2html/pkg-comment create mode 100644 textproc/java2html/pkg-descr create mode 100644 textproc/java2html/pkg-plist (limited to 'textproc/java2html') diff --git a/textproc/java2html/Makefile b/textproc/java2html/Makefile new file mode 100644 index 000000000000..9946b51c7623 --- /dev/null +++ b/textproc/java2html/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: java2html +# Version required: 0.4 +# Date created: 21 March 1999 +# Whom: Martin Kammerhofer +# +# $Id$ +# + +DISTNAME= java2html-0.4 +CATEGORIES= textproc www +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= apps/www/converters + +MAINTAINER= mkamm@gmx.net + +USE_AUTOCONF= yes + +MAN1= java2html.1 + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${PREFIX}/share/doc/java2html + ${INSTALL_MAN} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/java2html + ${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/java2html + ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/java2html +.endif + +.include diff --git a/textproc/java2html/distinfo b/textproc/java2html/distinfo new file mode 100644 index 000000000000..9a200bc178e0 --- /dev/null +++ b/textproc/java2html/distinfo @@ -0,0 +1 @@ +MD5 (java2html-0.4.tar.gz) = c13dd7e6a90cbc38a7db7472bc3b35bd diff --git a/textproc/java2html/files/patch-aa b/textproc/java2html/files/patch-aa new file mode 100644 index 000000000000..1beeaec11d2c --- /dev/null +++ b/textproc/java2html/files/patch-aa @@ -0,0 +1,21 @@ +--- Makefile.in~ Wed Mar 10 22:14:48 1999 ++++ Makefile.in Sun Mar 21 18:19:16 1999 +@@ -12,7 +12,7 @@ + # for gzip because otherwise the load on the web server + # grows without having big benefits. + # COMPRESSION = -DCOMPRESSION=4 +-COMPRESSION = -DCOMPRESSION=1 ++COMPRESSION ?= -DCOMPRESSION=1 + + # Dont change things beyond this line. + TARGET = c2html +@@ -40,7 +40,7 @@ + srcdir = @srcdir@ + CPPFLAGS = @CPPFLAGS@ + +-CFLAGS = -O2 -Wall -pedantic $(COMPRESSION) ++CFLAGS ?= -O2 -Wall -pedantic +-ALL_CFLAGS = $(CFLAGS) -I$(srcdir) ++ALL_CFLAGS = $(CFLAGS) -I$(srcdir) $(COMPRESSION) + + all: $(TARGET) diff --git a/textproc/java2html/pkg-comment b/textproc/java2html/pkg-comment new file mode 100644 index 000000000000..75df652dd181 --- /dev/null +++ b/textproc/java2html/pkg-comment @@ -0,0 +1 @@ +Java, C and C++ to HTML converter diff --git a/textproc/java2html/pkg-descr b/textproc/java2html/pkg-descr new file mode 100644 index 000000000000..260b61ddfc1d --- /dev/null +++ b/textproc/java2html/pkg-descr @@ -0,0 +1,12 @@ +Java2html is a syntax highlighter for Java and C++ source code that +produces a highlighted html file as output. + +Java2html offers the following features: + + - support for Java and C++ + - fast (single pass conversion using flex) + - doesn't change formatting - only adds tags + and properly escapes non-ascii characters + - easy integration with webservers - browse your sources colourized + - gzips http output for browsers to save bandwidth (only in CGI mode) + - documentation and manpage included diff --git a/textproc/java2html/pkg-plist b/textproc/java2html/pkg-plist new file mode 100644 index 000000000000..30f21deebef6 --- /dev/null +++ b/textproc/java2html/pkg-plist @@ -0,0 +1,5 @@ +bin/java2html +share/doc/java2html/AUTHORS +share/doc/java2html/NEWS +share/doc/java2html/README +@dirrm share/doc/java2html -- cgit v1.2.3