aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/mercury
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-05-31 04:14:35 +0800
committerthierry <thierry@FreeBSD.org>2005-05-31 04:14:35 +0800
commitfcf9b72e5bf501da974e9ab0168cd5dc6cefec1a (patch)
treec2735e94ebc7ae66de834e71ce97386674157a26 /net-im/mercury
parent884e219e5fad1a9b67cca630841e0bff7abd2830 (diff)
downloadfreebsd-ports-gnome-fcf9b72e5bf501da974e9ab0168cd5dc6cefec1a.tar.gz
freebsd-ports-gnome-fcf9b72e5bf501da974e9ab0168cd5dc6cefec1a.tar.zst
freebsd-ports-gnome-fcf9b72e5bf501da974e9ab0168cd5dc6cefec1a.zip
- Upgrade to 1709_RC8;
- use javavmwrapper and don't load unnecessary classes.
Diffstat (limited to 'net-im/mercury')
-rw-r--r--net-im/mercury/Makefile9
-rw-r--r--net-im/mercury/distinfo4
-rw-r--r--net-im/mercury/files/Mercury_Messenger.in8
3 files changed, 13 insertions, 8 deletions
diff --git a/net-im/mercury/Makefile b/net-im/mercury/Makefile
index 110bf618c714..ac02bfc083bb 100644
--- a/net-im/mercury/Makefile
+++ b/net-im/mercury/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mercury
-DISTVERSION= 1709_RC6b
+DISTVERSION= 1709_RC8
CATEGORIES= net java
MASTER_SITES= http://download.mercury.to/ \
${MASTER_SITE_LOCAL}
@@ -18,15 +18,18 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Java Based MSN client
-RUN_DEPENDS= jmfinit:${PORTSDIR}/java/jmf
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper \
+ jmfinit:${PORTSDIR}/java/jmf
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
+JMF_JARS= customizer jmf mediaplayer multiplayer
+
SUB_FILES= Mercury_Messenger
-SUB_LIST= JAVA=${JAVA}
+SUB_LIST= JAVA_VERSION="${JAVA_VERSION}" JMF_JARS="${JMF_JARS:S|$|.jar|}"
LINSTDIR?= share/Mercury
INSTDIR= ${PREFIX}/${LINSTDIR}
diff --git a/net-im/mercury/distinfo b/net-im/mercury/distinfo
index 9c172e01e0fa..9da575002f2b 100644
--- a/net-im/mercury/distinfo
+++ b/net-im/mercury/distinfo
@@ -1,2 +1,2 @@
-MD5 (mercury/1709_RC6b.zip) = caad8b76f57d505c6e1640855650046b
-SIZE (mercury/1709_RC6b.zip) = 5109978
+MD5 (mercury/1709_RC8.zip) = 51fc8ac2f1635b4fca7bbd03823bc0d3
+SIZE (mercury/1709_RC8.zip) = 5100494
diff --git a/net-im/mercury/files/Mercury_Messenger.in b/net-im/mercury/files/Mercury_Messenger.in
index 2e5f63f48221..8322bd859ce5 100644
--- a/net-im/mercury/files/Mercury_Messenger.in
+++ b/net-im/mercury/files/Mercury_Messenger.in
@@ -1,4 +1,6 @@
-#!/bin/sh
+#! /bin/sh
+# $FreeBSD$
+
MERCURY_INSTALL_PATH="%%PREFIX%%/share/Mercury"
JMF_INSTALL_PATH="%%JAVALIBDIR%%"
cd $MERCURY_INSTALL_PATH
@@ -7,8 +9,8 @@ for file in `ls $MERCURY_INSTALL_PATH/lib`
do
classpath="$MERCURY_INSTALL_PATH/lib/$file:$classpath"
done
-for file in `ls $JMF_INSTALL_PATH`
+for file in %%JMF_JARS%%
do
classpath="$JMF_INSTALL_PATH/$file:$classpath"
done
-%%JAVA%% -classpath $classpath com.dMSN.Main
+JAVA_VERSION=%%JAVA_VERSION%% %%LOCALBASE%%/bin/java -classpath $classpath com.dMSN.Main