blob: 110bf618c714bdb7b742112f6f7be608d02ab53d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: mercury
# Date created: 1 May 2005
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= mercury
DISTVERSION= 1709_RC6b
CATEGORIES= net java
MASTER_SITES= http://download.mercury.to/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= thierry/${PORTNAME}
DISTNAME= ${DISTVERSION}
DIST_SUBDIR= ${PORTNAME}
# Maintainership available: drop me a line if interested
MAINTAINER= thierry@FreeBSD.org
COMMENT= Java Based MSN client
RUN_DEPENDS= jmfinit:${PORTSDIR}/java/jmf
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
SUB_FILES= Mercury_Messenger
SUB_LIST= JAVA=${JAVA}
LINSTDIR?= share/Mercury
INSTDIR= ${PREFIX}/${LINSTDIR}
PLIST_SUB= INSTDIR=${LINSTDIR}
SUB_DIRS= lib resources
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
.include <bsd.port.mk>
|