summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/hotjava/Makefile38
-rw-r--r--www/hotjava/distinfo1
-rw-r--r--www/hotjava/files/patch-aa11
-rw-r--r--www/hotjava/pkg-comment1
-rw-r--r--www/hotjava/pkg-descr9
-rw-r--r--www/hotjava/pkg-plist17
6 files changed, 77 insertions, 0 deletions
diff --git a/www/hotjava/Makefile b/www/hotjava/Makefile
new file mode 100644
index 000000000000..6e486afbb314
--- /dev/null
+++ b/www/hotjava/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: Hotjava
+# Version required: 3.0
+# Date created: 1999/07/03
+# Whom: Jose Marques
+#
+# $Id$
+#
+
+DISTNAME= hjb3_0-linux.sfx
+PKGNAME= hotjava-3.0
+CATEGORIES= www java
+MASTER_SITES=
+EXTRACT_SUFX=
+
+MAINTAINER= jose@nobody.org
+
+RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
+
+EXTRACT_ONLY=
+
+WRKSRC= ${WRKDIR}
+JDK_VERSION= 1.1.8
+NO_BUILD= yes
+NO_CDROM= "See the licence"
+RESTRICTED= "Licenced for individual non-commercial use only"
+
+.include <bsd.port.pre.mk>
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE='You must fetch the linux version manually from http://java.sun.com/products/hotjava/ and copy the file to ${DISTDIR} and run make again.'
+.endif
+
+pre-patch:
+ @${SED} -e s,/usr/bin/hotjava,${PREFIX}/bin/hotjava,g ${DISTDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}
+
+do-install:
+ @${SH} ${WRKDIR}/${DISTNAME} ${PREFIX}/jdk${JDK_VERSION} ${PREFIX}/share/java
+
+.include <bsd.port.post.mk>
diff --git a/www/hotjava/distinfo b/www/hotjava/distinfo
new file mode 100644
index 000000000000..9344a455555a
--- /dev/null
+++ b/www/hotjava/distinfo
@@ -0,0 +1 @@
+MD5 (hjb3_0-linux.sfx) = f554e615fe51cba5a6280af6f3e84764
diff --git a/www/hotjava/files/patch-aa b/www/hotjava/files/patch-aa
new file mode 100644
index 000000000000..c2ad708c3515
--- /dev/null
+++ b/www/hotjava/files/patch-aa
@@ -0,0 +1,11 @@
+--- hjb3_0-linux.sfx.orig Sun Jul 4 16:35:25 1999
++++ hjb3_0-linux.sfx Sun Jul 4 16:35:33 1999
+@@ -24,7 +24,7 @@
+ destDir=${2}/HotJava
+ fi
+
+-mkdir $destDir
++mkdir -p $destDir
+ mv README license.html Browser.jar $destDir
+ cp -rf admin-docs $destDir
+ echo "${1}/bin/java -classpath ${1}/lib/classes.zip:${destDir}/Browser.jar sunw.hotjava.Main -Dhotjava.home=${destDir} &" > ${destDir}/hotjava
diff --git a/www/hotjava/pkg-comment b/www/hotjava/pkg-comment
new file mode 100644
index 000000000000..10c60157b52d
--- /dev/null
+++ b/www/hotjava/pkg-comment
@@ -0,0 +1 @@
+Sun's Hotjava web browser
diff --git a/www/hotjava/pkg-descr b/www/hotjava/pkg-descr
new file mode 100644
index 000000000000..8d231ece5b20
--- /dev/null
+++ b/www/hotjava/pkg-descr
@@ -0,0 +1,9 @@
+The latest version of Sun's Hotjava web browser. See the Hotjava web pages
+at:
+
+WWW: http://java.sun.com/products/hotjava/
+
+for more details.
+
+--
+Jose Marques <jose@nobody.org>
diff --git a/www/hotjava/pkg-plist b/www/hotjava/pkg-plist
new file mode 100644
index 000000000000..5ca0e62aed99
--- /dev/null
+++ b/www/hotjava/pkg-plist
@@ -0,0 +1,17 @@
+bin/hotjava
+share/java/HotJava/README
+share/java/HotJava/license.html
+share/java/HotJava/Browser.jar
+share/java/HotJava/admin-docs/Legal_PRN.html
+share/java/HotJava/admin-docs/js-exceptions.html
+share/java/HotJava/admin-docs/properties.html
+share/java/HotJava/admin-docs/security.html
+share/java/HotJava/admin-docs/applet_environment.html
+share/java/HotJava/admin-docs/index.html
+share/java/HotJava/admin-docs/admin.properties.txt
+share/java/HotJava/admin-docs/banner.gif
+share/java/HotJava/admin-docs/trustProxy.html
+share/java/HotJava/hotjava
+@dirrm share/java/HotJava/admin-docs
+@dirrm share/java/HotJava
+@dirrm share/java