aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/mercury/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/mercury/Makefile')
-rw-r--r--net-im/mercury/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/net-im/mercury/Makefile b/net-im/mercury/Makefile
index 06409aa5ad28..a33b37aebce9 100644
--- a/net-im/mercury/Makefile
+++ b/net-im/mercury/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= mercury
-DISTVERSION= 1.9B10
+DISTVERSION= 1.9RC1
PORTEPOCH= 6
CATEGORIES= net-im java
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://dknapp.ca/mirror/mercury/beta/ \
http://download.mercury.to/
MASTER_SITE_SUBDIR= thierry/${PORTNAME}
@@ -37,8 +37,10 @@ LINSTDIR?= share/Mercury
INSTDIR= ${PREFIX}/${LINSTDIR}
PLIST_SUB= INSTDIR=${LINSTDIR}
SUB_DIRS= lib resources
-DIR2PRUNE= resources/AppData/Games \
+DIR2PRUNE= resources/AppData/Backgrounds \
+ resources/AppData/Games \
resources/AppData/Plugins
+BADOSLIBS= linuxtray.jar wintray.jar
.if defined(WITH_VIDEO) # Experimental
VIDJAR= VidConf-libs.jar
@@ -49,6 +51,10 @@ PLIST_SUB+= VID="" VIDJAR="${VIDJAR}"
PLIST_SUB+= VID="@comment " VIDJAR=""
.endif
+.if !defined(WITHOUT_TRAY)
+LIB_DEPENDS+= tray.0:${PORTSDIR}/x11-toolkits/jdic
+.endif
+
do-install:
${MKDIR} ${INSTDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${INSTDIR}
@@ -60,6 +66,7 @@ do-install:
.for ed in ${DIR2PRUNE}
${TOUCH} ${INSTDIR}/${ed}/.keep_me
.endfor
+ ${RM} ${BADOSLIBS:S|^|${INSTDIR}/lib/|}
.if defined(WITH_VIDEO)
${INSTALL_DATA} ${_DISTDIR}/${VIDJAR} ${INSTDIR}/lib
.endif