aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-04-22 20:30:19 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-04-22 20:30:19 +0000
commitd5af42d2b70c13946048c123e3bcba2fdce81501 (patch)
tree42195dea20530b0a289367d5ce94346f6ce5137c /net-im
parent640464513611df9dc38e3d7e14877521968b9076 (diff)
downloadports-d5af42d2b70c13946048c123e3bcba2fdce81501.tar.gz
ports-d5af42d2b70c13946048c123e3bcba2fdce81501.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mercury/Makefile13
-rw-r--r--net-im/mercury/pkg-plist1
2 files changed, 7 insertions, 7 deletions
diff --git a/net-im/mercury/Makefile b/net-im/mercury/Makefile
index ee00e4370c25..a72fef48199c 100644
--- a/net-im/mercury/Makefile
+++ b/net-im/mercury/Makefile
@@ -19,9 +19,12 @@ COMMENT= Java Based MSN client
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper \
jmfinit:${PORTSDIR}/java/jmf
+DEPRECATED= MSN is dying and the domain mercury.im is down
+EXPIRATION_DATE=2014-05-31
+
RCVER= rc8a
-USES= zip
+USES= zip:infozip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
@@ -32,7 +35,7 @@ SUB_FILES= Mercury_Messenger
SUB_LIST= JAVA_VERSION="${JAVA_VERSION}" JMF_JARS="${JMF_JARS:S|$|.jar|}"
LINSTDIR?= share/Mercury
-INSTDIR= ${PREFIX}/${LINSTDIR}
+INSTDIR= ${STAGEDIR}${PREFIX}/${LINSTDIR}
PLIST_SUB= INSTDIR=${LINSTDIR}
SUB_DIRS= lib resources
DIR2PRUNE= resources/AppData/Games \
@@ -40,7 +43,7 @@ DIR2PRUNE= resources/AppData/Games \
resources/AppData/Skins
DESKTOP_ENTRIES="Mercury Messenger" "${COMMENT}" \
- "${INSTDIR}/resources/online.png" \
+ "${PREFIX}/${LINSTDIR}/resources/online.png" \
"${SUB_FILES}" \
"InstantMessaging;Java;Network;" true
@@ -53,7 +56,6 @@ PLIST_SUB+= VID="" VIDJAR="${VIDJAR}"
PLIST_SUB+= VID="@comment " VIDJAR=""
.endif
-NO_STAGE= yes
post-extract:
${MKDIR} ${WRKDIR}/icons
cd ${WRKDIR}/icons && \
@@ -61,8 +63,7 @@ post-extract:
do-install:
${MKDIR} ${INSTDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${INSTDIR}
- ${LN} -sf ${INSTDIR}/${SUB_FILES} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${STAGEDIR}${PREFIX}/bin/
.for sd in ${SUB_DIRS}
cd ${WRKDIR} && ${FIND} ${sd} -type d -exec ${MKDIR} ${INSTDIR}/{} \;
cd ${WRKDIR} && ${FIND} ${sd} -type f -exec ${INSTALL_DATA} {} ${INSTDIR}/{} \;
diff --git a/net-im/mercury/pkg-plist b/net-im/mercury/pkg-plist
index 8fa06865e9bc..79c4d876f90a 100644
--- a/net-im/mercury/pkg-plist
+++ b/net-im/mercury/pkg-plist
@@ -1,5 +1,4 @@
bin/Mercury_Messenger
-%%INSTDIR%%/Mercury_Messenger
%%INSTDIR%%/lib/dMSN.jar
%%INSTDIR%%/resources/AppData/CustomEmoticons/MSN7.zip
%%INSTDIR%%/resources/AppData/Games/.keep_me