1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Upgrade to 1709_RC8;

- use javavmwrapper and don't load unnecessary classes.
This commit is contained in:
Thierry Thomas 2005-05-30 20:14:35 +00:00
parent 5c53ba57e8
commit da1cdd96b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136455
6 changed files with 26 additions and 16 deletions

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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