summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-09-13 22:49:38 +0000
committerznerd <znerd@FreeBSD.org>2002-09-13 22:49:38 +0000
commit4a92b01aa4a0fb1954325c705b5460ce93395268 (patch)
tree3ead554d809241a199bcb3168acd35b825d7c48e /java
parent6779f333fef43c9d8a232b0ad56bc0282859cda1 (diff)
downloadFreeBSD-ports-4a92b01aa4a0fb1954325c705b5460ce93395268.zip
FreeBSD-ports-4a92b01aa4a0fb1954325c705b5460ce93395268.tar.gz
Now properly using pkg-message to display warning about
stability of this port.
Diffstat (limited to 'java')
-rw-r--r--java/linux-sun-jdk14/Makefile8
-rw-r--r--java/linux-sun-jdk14/pkg-message5
2 files changed, 8 insertions, 5 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index b48a456..e873274 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -43,15 +43,13 @@ APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${INSTALL_JDK_VERSION:R}
.include <bsd.port.pre.mk>
-#.BEGIN:
-# @${ECHO} "******** WARNING ********"
-# @${ECHO} "This JDK is currently unstable, especially when run as a non-root user. You are advised to use either the Sun JDK 1.3 for Linux (${PORTSDIR}/java/linux-sun-jdk13) or the FreeBSD JDK 1.3 (${PORTSDIR}/java/jdk13) instead."
-# @${ECHO}
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=You must manually fetch the J2SE v1.4 SDK Linux GNUZIP Tar shell script (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
+pre-everything:
+ @${CAT} ${PKGMESSAGE}
+
post-fetch:
@${CHMOD} +x ${DISTDIR}/${DISTFILES}
diff --git a/java/linux-sun-jdk14/pkg-message b/java/linux-sun-jdk14/pkg-message
new file mode 100644
index 0000000..e9ddfb2
--- /dev/null
+++ b/java/linux-sun-jdk14/pkg-message
@@ -0,0 +1,5 @@
+Warning: This JDK is currently unstable, especially if not run as root.
+
+You are advised to use either of the following JDK ports instead:
+o Sun JDK 1.3 for Linux (java/linux-sun-jdk13)
+o FreeBSD JDK 1.3 (java/jdk13)
OpenPOWER on IntegriCloud