diff options
author | thierry <thierry@FreeBSD.org> | 2014-04-23 04:30:19 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-04-23 04:30:19 +0800 |
commit | 03c88fa108b68c29eb88c3bc0c0621763a95d0af (patch) | |
tree | 42195dea20530b0a289367d5ce94346f6ce5137c /net-im | |
parent | df2669029e01bd6a0eaaaf5dd4adfafb98b13a72 (diff) | |
download | freebsd-ports-gnome-03c88fa108b68c29eb88c3bc0c0621763a95d0af.tar.gz freebsd-ports-gnome-03c88fa108b68c29eb88c3bc0c0621763a95d0af.tar.zst freebsd-ports-gnome-03c88fa108b68c29eb88c3bc0c0621763a95d0af.zip |
- Support staging;
- Mark as deprecated.
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mercury/Makefile | 13 | ||||
-rw-r--r-- | net-im/mercury/pkg-plist | 1 |
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 |