aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-09-14 06:49:38 +0800
committerznerd <znerd@FreeBSD.org>2002-09-14 06:49:38 +0800
commit4a92b01aa4a0fb1954325c705b5460ce93395268 (patch)
tree3ead554d809241a199bcb3168acd35b825d7c48e /java
parent6779f333fef43c9d8a232b0ad56bc0282859cda1 (diff)
downloadfreebsd-ports-gnome-4a92b01aa4a0fb1954325c705b5460ce93395268.tar.gz
freebsd-ports-gnome-4a92b01aa4a0fb1954325c705b5460ce93395268.tar.zst
freebsd-ports-gnome-4a92b01aa4a0fb1954325c705b5460ce93395268.zip
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 b48a4569b449..e8732749f10f 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 000000000000..e9ddfb22fe71
--- /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)