diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/java2html/Makefile | 28 | ||||
-rw-r--r-- | textproc/java2html/distinfo | 1 | ||||
-rw-r--r-- | textproc/java2html/files/patch-aa | 21 | ||||
-rw-r--r-- | textproc/java2html/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/java2html/pkg-descr | 12 | ||||
-rw-r--r-- | textproc/java2html/pkg-plist | 5 |
6 files changed, 68 insertions, 0 deletions
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 <bsd.port.mk> 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 <FONT COLOR=#XXXX> 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 |