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

- Support staging;

- Mark as deprecated.
This commit is contained in:
Thierry Thomas 2014-04-22 20:30:19 +00:00
parent 6404645136
commit d5af42d2b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351882
2 changed files with 7 additions and 7 deletions

View File

@ -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}/{} \;

View File

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