summaryrefslogtreecommitdiffstats
path: root/net-im/convey/Makefile
blob: b06ffdd4af9d725e2e8629438a52258d583e9734 (plain)
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
# New ports collection makefile for:	convey
# Date created:				2005-07-18
# Whom:					Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#

PORTNAME=	convey
PORTVERSION=	0.3
CATEGORIES=	net java
MASTER_SITES=	http://convey.sourceforge.net/downloads/ \
		http://nivi.interfree.it/tmp/convey.sourceforge.net/
DISTNAME=	${PORTNAME}-src-${PORTVERSION}

MAINTAINER=	nivit@email.it
COMMENT=	An Instant Message (IM) program using the Jabber protocol

RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper

USE_ANT=	yes
USE_JAVA=	yes

JAVA_VERSION=	1.3+

MAKE_ARGS=	-quiet

DATADIR=	${JAVASHAREDIR}/${PORTNAME}
FIND_DIRS=	lib

SUB_FILES=	convey.sh

.include <bsd.port.pre.mk>

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/convey.sh ${PREFIX}/bin/convey
	cd ${WRKSRC} && ${FIND} ${FIND_DIRS} -type d -exec ${MKDIR} ${DATADIR}/{} \;
	cd ${WRKSRC} && ${FIND} ${FIND_DIRS} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud