aboutsummaryrefslogtreecommitdiffstats
path: root/java/bluej/Makefile
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-07-11 00:18:54 +0800
committerglewis <glewis@FreeBSD.org>2003-07-11 00:18:54 +0800
commite70416b327dd7863e6c3e4c722d864a21abe93a8 (patch)
tree1983605a11cec452a4f1fc4938ea189f1bd824a9 /java/bluej/Makefile
parent4f2587ee8d65af5694abb3af5a48f6b31c8db399 (diff)
downloadfreebsd-ports-gnome-e70416b327dd7863e6c3e4c722d864a21abe93a8.tar.gz
freebsd-ports-gnome-e70416b327dd7863e6c3e4c722d864a21abe93a8.tar.zst
freebsd-ports-gnome-e70416b327dd7863e6c3e4c722d864a21abe93a8.zip
1. Update to 1.2.2
2. Install a symbolic link to the main shell script in ${PREFIX}/bin so that people won't have to change $PATH to run it. PR: 50481 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> [1 partially]
Diffstat (limited to 'java/bluej/Makefile')
-rw-r--r--java/bluej/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/java/bluej/Makefile b/java/bluej/Makefile
index 6f097ad7cb1f..cab267777ed9 100644
--- a/java/bluej/Makefile
+++ b/java/bluej/Makefile
@@ -6,12 +6,9 @@
#
PORTNAME= bluej
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.2
CATEGORIES= java editors
-MASTER_SITES= ftp://ftp.bluej.org/pub/bluej/ \
- http://www.metaverse.nl/~ernst/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= znerd
+MASTER_SITES= ftp://ftp.bluej.org/pub/bluej/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
EXTRACT_SUFX= .jar
@@ -22,17 +19,13 @@ IS_INTERACTIVE= yes
EXTRACT_ONLY=
NO_BUILD= yes
-# Called MY_JDK and MY_JDK_PORT so not to conflict with any other possible
-# definitions in the ports system.
-MY_JDK= linux-sun-jdk1.4.0
-MY_JDK_PORT= linux-sun-jdk14
-RUN_DEPENDS= ${LOCALBASE}/${MY_JDK}/bin/java:${PORTSDIR}/java/${MY_JDK_PORT}
+USE_JAVA= 1.3+
do-install:
- @${LN} -s ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/${DISTNAME}${EXTRACT_SUFX}
@${ECHO} Starting BlueJ graphical installer... Please install to default path of
@${ECHO} ${PREFIX}/bluej. Close the installer when done.
- @cd ${PREFIX}; ${LOCALBASE}/${MY_JDK}/bin/java -jar ${DISTNAME}${EXTRACT_SUFX}
- @${RM} -f ${PREFIX}/${DISTNAME}${EXTRACT_SUFX}
+ @cd ${PREFIX}; ${JAVA_HOME}/bin/java -jar ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+ -@${MKDIR} ${PREFIX}/bin
+ @${LN} -sf ${PREFIX}/bluej/bluej ${PREFIX}/bin/bluej
.include <bsd.port.mk>