freebsd-ports/net-im/mercury/Makefile

89 lines
2.2 KiB
Makefile
Raw Normal View History

2005-05-01 16:36:22 +02:00
# New ports collection makefile for: mercury
# Date created: 1 May 2005
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= mercury
2009-10-25 17:43:39 +01:00
DISTVERSION= 2.0RC3-4
2007-10-22 22:21:23 +02:00
PORTEPOCH= 8
Move instant messaging related ports to newly created net-im category: net/aim -> net-im/aim net/amsn -> net-im/amsn net/ari-yahoo -> net-im/ari-yahoo net/ayttm -> net-im/ayttm net/bsflite -> net-im/bsflite net/ccmsn -> net-im/ccmsn net/centericq -> net-im/centericq net/cicquin -> net-im/cicquin net/coccinella -> net-im/coccinella net/convey -> net-im/convey net/echat -> net-im/echat net/ejabberd -> net-im/ejabberd net/firetalk -> net-im/firetalk net/fugu -> net-im/fugu net/gajim -> net-im/gajim net/gale -> net-im/gale net/ginsu -> net-im/ginsu net/gnome-jabber -> net-im/gnome-jabber net/gtkyahoo -> net-im/gtkyahoo net/gyach -> net-im/gyach net/icb -> net-im/icb net/icmpchat -> net-im/icmpchat net/icqlib -> net-im/icqlib net/imcom -> net-im/imcom net/jabberd -> net-im/jabberd net/jabber-pymsn -> net-im/jabber-pymsn net/jit -> net-im/jit net/kmerlin -> net-im/kmerlin net/kmess -> net-im/kmess net/konverse -> net-im/konverse net/kpopup -> net-im/kpopup net/libmsn -> net-im/libmsn net/libyahoo2 -> net-im/libyahoo2 net/linpopup -> net-im/linpopup net/linux-ymessenger -> net-im/linux-ymessenger net/mcabber -> net-im/mcabber net/mercury -> net-im/mercury net/micq -> net-im/micq net/mu-conference -> net-im/mu-conference net/naim -> net-im/naim net/pebrot -> net-im/pebrot net/pork -> net-im/pork net/py-msnp -> net-im/py-msnp net/py-pyxmpp -> net-im/py-pyxmpp net/p5-Jabber-Connection -> net-im/p5-Jabber-Connection net/p5-Net-AIM -> net-im/p5-Net-AIM net/p5-Net-AOLIM -> net-im/p5-Net-AOLIM net/p5-Net-ICQ2000 -> net-im/p5-Net-ICQ2000 net/p5-Net-MSN -> net-im/p5-Net-MSN net/p5-Net-NetSend -> net-im/p5-Net-NetSend net/p5-Net-OSCAR -> net-im/p5-Net-OSCAR net/simicq -> net-im/simicq net/sulci -> net-im/sulci net/tik -> net-im/tik net/tkabber -> net-im/tkabber net/tkabber-devel -> net-im/tkabber-devel net/tmsnc -> net-im/tmsnc net/vicq -> net-im/vicq net/vqcc-gtk -> net-im/vqcc-gtk net/xicq -> net-im/xicq net/ymessenger -> net-im/ymessenger net/ysm -> net-im/ysm Repocopied by: marcus
2005-11-09 08:48:19 +01:00
CATEGORIES= net-im java
2007-10-07 16:45:51 +02:00
MASTER_SITES= ${MASTER_SITE_LOCAL} \
2009-10-25 17:43:39 +01:00
http://files.mercury.im/${PORTVERSION:R:R}/release/
MASTER_SITE_SUBDIR= thierry/${PORTNAME}
DISTNAME= ${DISTVERSION}
2005-05-01 16:36:22 +02:00
DIST_SUBDIR= ${PORTNAME}
# Maintainership available: drop me a line if interested
MAINTAINER= thierry@FreeBSD.org
COMMENT= Java Based MSN client
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper \
jmfinit:${PORTSDIR}/java/jmf
2005-05-01 16:36:22 +02:00
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
2005-05-01 16:36:22 +02:00
NO_BUILD= yes
JMF_JARS= customizer jmf mediaplayer multiplayer
2005-05-01 16:36:22 +02:00
SUB_FILES= Mercury_Messenger
SUB_LIST= JAVA_VERSION="${JAVA_VERSION}" JMF_JARS="${JMF_JARS:S|$|.jar|}"
2005-05-01 16:36:22 +02:00
LINSTDIR?= share/Mercury
INSTDIR= ${PREFIX}/${LINSTDIR}
PLIST_SUB= INSTDIR=${LINSTDIR}
SUB_DIRS= lib resources
DIR2PRUNE= resources/AppData/Games \
resources/AppData/Plugins \
resources/AppData/Skins
2005-05-01 16:36:22 +02:00
DESKTOP_ENTRIES="Mercury Messenger" "${COMMENT}" \
"${INSTDIR}/resources/online.png" \
"${SUB_FILES}" \
"Application;InstantMessaging;Java;Network;" true
.if defined(WITH_VIDEO) # Experimental
VIDJAR= VidConf-libs.jar
EXTRACT_ONLY+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${VIDJAR}
PLIST_SUB+= VID="" VIDJAR="${VIDJAR}"
.else
PLIST_SUB+= VID="@comment " VIDJAR=""
.endif
2007-01-18 21:18:17 +01:00
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
WITHOUT_TRAY= yes
.endif
.if !defined(WITHOUT_TRAY)
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
2005-05-01 16:36:22 +02:00
do-install:
${MKDIR} ${INSTDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${INSTDIR}
${LN} -sf ${INSTDIR}/${SUB_FILES} ${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}/{} \;
.endfor
${INSTALL_DATA} ${WRKDIR}/icons/online.png ${INSTDIR}/resources
.for ed in ${DIR2PRUNE}
${TOUCH} ${INSTDIR}/${ed}/.keep_me
.endfor
.if defined(WITH_VIDEO)
${INSTALL_DATA} ${_DISTDIR}/${VIDJAR} ${INSTDIR}/lib
.endif
2005-05-01 16:36:22 +02:00
2007-01-18 21:18:17 +01:00
.include <bsd.port.post.mk>