summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-02-13 22:59:42 +0000
committerthierry <thierry@FreeBSD.org>2007-02-13 22:59:42 +0000
commit050b39fbbe76b040692948557ff478ac59aca9a2 (patch)
treef625fc41b490a18b9b857fe1c4b48dfa786a3afb /net-im
parent6e3ef7a734be032276a49b7e915766188bb669cc (diff)
downloadFreeBSD-ports-050b39fbbe76b040692948557ff478ac59aca9a2.zip
FreeBSD-ports-050b39fbbe76b040692948557ff478ac59aca9a2.tar.gz
Add a desktop entry.
Suggested by: Tjong-A-Hung <G.V.Tjong-A-Hung (at) student.TUDelft.NL>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mercury/Makefile10
-rw-r--r--net-im/mercury/pkg-plist1
2 files changed, 11 insertions, 0 deletions
diff --git a/net-im/mercury/Makefile b/net-im/mercury/Makefile
index 15f9ea9..3c9db51 100644
--- a/net-im/mercury/Makefile
+++ b/net-im/mercury/Makefile
@@ -41,6 +41,10 @@ DIR2PRUNE= resources/AppData/Backgrounds \
resources/AppData/Games \
resources/AppData/Plugins
+DESKTOP_ENTRIES="Mercury Messenger" "${COMMENT}" \
+ "${INSTDIR}/resources/online.png" \
+ "${SUB_FILES}" "" true
+
.if defined(WITH_VIDEO) # Experimental
VIDJAR= VidConf-libs.jar
EXTRACT_ONLY+= ${DISTNAME}${EXTRACT_SUFX}
@@ -60,6 +64,11 @@ WITHOUT_TRAY= yes
LIB_DEPENDS+= tray.0:${PORTSDIR}/x11-toolkits/jdic
.endif
+post-extract:
+ ${MKDIR} ${WRKDIR}/icons
+ cd ${WRKDIR}/icons && \
+ ${EXTRACT_CMD} ${WRKDIR}/resources/AppData/StatusIcons/MMercury.zip
+
do-install:
${MKDIR} ${INSTDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${INSTDIR}
@@ -68,6 +77,7 @@ do-install:
cd ${WRKDIR} && ${FIND} ${sd} -type d -exec ${MKDIR} ${INSTDIR}/{} \;
cd ${WRKDIR} && ${FIND} ${sd} -type f -exec ${INSTALL_DATA} {} ${INSTDIR}/{} \;
.endfor
+ ${INSTALL_DATA} ${WRKDIR}/icons/online.png ${INSTDIR}/resources
.for ed in ${DIR2PRUNE}
${TOUCH} ${INSTDIR}/${ed}/.keep_me
.endfor
diff --git a/net-im/mercury/pkg-plist b/net-im/mercury/pkg-plist
index 580bbc5..19c2985 100644
--- a/net-im/mercury/pkg-plist
+++ b/net-im/mercury/pkg-plist
@@ -60,6 +60,7 @@ bin/Mercury_Messenger
%%INSTDIR%%/resources/menu/MSN.xml
%%INSTDIR%%/resources/menu/RSS.xml
%%INSTDIR%%/resources/menu/Tray.xml
+%%INSTDIR%%/resources/online.png
%%INSTDIR%%/resources/settings/Default_Account.xml
%%INSTDIR%%/resources/settings/Default_Global.xml
%%INSTDIR%%/resources/settings/Window_Advanced_Account.xml
OpenPOWER on IntegriCloud