diff --git a/textproc/java2html/Makefile b/textproc/java2html/Makefile
new file mode 100644
index 00000000000..faebd22003e
--- /dev/null
+++ b/textproc/java2html/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2001/01/19 03:16:49 kevlo Exp $
+
+DISTNAME= java2html-1.7
+CATEGORIES= textproc
+NEED_VERSION= 1.351
+
+HOMEPAGE= http://www.gnu.org/software/java2html/
+
+MAINTAINER= Kevin Lo
+
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+MASTER_SITES= ${HOMEPAGE}
+
+CONFIGURE_STYLE= gnu
+
+.include
diff --git a/textproc/java2html/files/md5 b/textproc/java2html/files/md5
new file mode 100644
index 00000000000..ff2fe461eb5
--- /dev/null
+++ b/textproc/java2html/files/md5
@@ -0,0 +1,3 @@
+MD5 (java2html-1.7.tar.gz) = 8d85c33d6955a0c735a0ba3131b1ef0c
+RMD160 (java2html-1.7.tar.gz) = 00c9bb73b891a9b8352042750dd9f09d730296b8
+SHA1 (java2html-1.7.tar.gz) = be4c79713489c993c5aa843e8df9748af03716ed
diff --git a/textproc/java2html/pkg/COMMENT b/textproc/java2html/pkg/COMMENT
new file mode 100644
index 00000000000..1c86d5c71bb
--- /dev/null
+++ b/textproc/java2html/pkg/COMMENT
@@ -0,0 +1 @@
+Java sources to HTML converter
diff --git a/textproc/java2html/pkg/DESCR b/textproc/java2html/pkg/DESCR
new file mode 100644
index 00000000000..99a7d51d904
--- /dev/null
+++ b/textproc/java2html/pkg/DESCR
@@ -0,0 +1,14 @@
+Java2html is a simple program that, given a source java file, produces an
+html source with syntax highlighting.
+
+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
+
+WWW: ${HOMEPAGE}
diff --git a/textproc/java2html/pkg/PLIST b/textproc/java2html/pkg/PLIST
new file mode 100644
index 00000000000..d255a42d879
--- /dev/null
+++ b/textproc/java2html/pkg/PLIST
@@ -0,0 +1,30 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/19 03:16:49 kevlo Exp $
+bin/java2html
+share/java2html/tags.j2h
+share/doc/java2html/COPYING
+share/doc/java2html/ChangeLog
+share/doc/java2html/Hello.css
+share/doc/java2html/Hello.java
+share/doc/java2html/Hello.java.html
+share/doc/java2html/Hello1.html
+share/doc/java2html/Hello2.css
+share/doc/java2html/Hello2.html
+share/doc/java2html/Hello3.html
+share/doc/java2html/Hello4.html
+share/doc/java2html/Hello5.html
+share/doc/java2html/Hello_h_f.html
+share/doc/java2html/INSTALL
+share/doc/java2html/NEWS
+share/doc/java2html/README
+share/doc/java2html/THANKS
+share/doc/java2html/TODO.txt
+share/doc/java2html/colors.html
+share/doc/java2html/footer.html
+share/doc/java2html/header.html
+share/doc/java2html/java2html.html
+share/doc/java2html/mails.txt
+share/doc/java2html/mono-alt.css
+share/doc/java2html/mono.css
+share/doc/java2html/old-changes.html
+@dirrm share/doc/java2html
+@dirrm share/java2html