summaryrefslogtreecommitdiff
path: root/lang/sun-jre14
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sun-jre14')
-rw-r--r--lang/sun-jre14/Makefile19
-rw-r--r--lang/sun-jre14/Makefile.common20
2 files changed, 22 insertions, 17 deletions
diff --git a/lang/sun-jre14/Makefile b/lang/sun-jre14/Makefile
index 2bade3fadc0..9864e5e55ce 100644
--- a/lang/sun-jre14/Makefile
+++ b/lang/sun-jre14/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/12/12 15:38:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.14 2003/12/12 17:17:20 jschauma Exp $
DISTNAME= j2re-1_4_2_03-linux-i586
PKGNAME= sun-jre14-2.3
@@ -7,6 +7,8 @@ MASTER_SITES= # empty
COMMENT= Sun's Java(tm) 2 Runtime Environment 1.4.2
+SHORT= JRE
+
USE_PKGINSTALL= yes
OWN_DIRS= ${PREFIX}
OWN_DIRS+= ${PREFIX}/lib
@@ -32,21 +34,6 @@ do-configure:
${MV} -f $$file $$file.default; \
done
-_FETCH_MESSAGE= \
- ${ECHO} "======================================================================"; \
- ${ECHO} ; \
- ${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing the"; \
- ${ECHO} " Java(tm) 2 Runtime Environment, Standard Edition must be fetched"; \
- ${ECHO} " into:"; \
- ${ECHO} " ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
- ${ECHO} " from:"; \
- ${ECHO} " ${DOWNLOAD} or"; \
- ${ECHO} " ${ARCHIVE}"; \
- ${ECHO} ; \
- ${ECHO} " Choose 'Linux self-extracting file' from the 'JRE' column."; \
- ${ECHO} ; \
- ${ECHO} "======================================================================"
-
.include "../../lang/sun-jre14/Makefile.common"
PREFIX= ${JVM_HOME}
diff --git a/lang/sun-jre14/Makefile.common b/lang/sun-jre14/Makefile.common
index bce8f21550b..dd3683c2acc 100644
--- a/lang/sun-jre14/Makefile.common
+++ b/lang/sun-jre14/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2003/12/12 15:38:16 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.16 2003/12/12 17:17:20 jschauma Exp $
CATEGORIES= lang java
EXTRACT_SUFX= .bin
@@ -35,6 +35,24 @@ LDD= ${TRUE}
ONLY_FOR_PLATFORM= NetBSD-1.6[U-Z]*-i386
ONLY_FOR_PLATFORM+= Linux-*-i[3-6]86
+_FETCH_MESSAGE= \
+ ${ECHO} "======================================================================"; \
+ ${ECHO} ; \
+ ${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing"; \
+ ${ECHO} " ${COMMENT} must be fetched"; \
+ ${ECHO} " into:"; \
+ ${ECHO} " ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
+ ${ECHO} " from:"; \
+ ${ECHO} " ${DOWNLOAD} or"; \
+ ${ECHO} " ${ARCHIVE}"; \
+ ${ECHO} ; \
+ ${ECHO} " Choose '32-bit/64-bit for Windows/Linux/Solaris SPARC' from"; \
+ ${ECHO} " the '${SHORT}' column, accept the license, then choose 'Linux ";\
+ ${ECHO} " self-extracting file'."; \
+ ${ECHO} ; \
+ ${ECHO} "======================================================================"
+
+
post-fetch:
@if [ ! -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \