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

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

MAINTAINER= nivit@FreeBSD.org
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.5+

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>