aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/coccinella/Makefile
blob: be7ec54a27dc25276be55d0a4a3974942563748a (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
46
47
48
49
# New ports collection makefile for:    coccinella
# Date created:             21 Oct 2004
# Whom:                 Marc Bruenink
#
# $FreeBSD$
#

PORTNAME=   coccinella
PORTVERSION=    0.96.20
CATEGORIES= net-im tk
MASTER_SITES=   SF
DISTNAME=   Coccinella-${PORTVERSION}Src

MAINTAINER= ports@FreeBSD.org
COMMENT=    Jabber client with whiteboard communication

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING.txt

RUN_DEPENDS=    snack>=0:${PORTSDIR}/audio/snack \
        tcltls>=0:${PORTSDIR}/devel/tcltls \
        tkpng>=0:${PORTSDIR}/graphics/tkpng \
        tktray>=0:${PORTSDIR}/x11-toolkits/tktray \
        tktreectrl>=0:${PORTSDIR}/x11-toolkits/tktreectrl

NO_BUILD=   yes

USE_TK_WRAPPER= yes

LIBTARGETDIR=   ${PREFIX}/${PORTNAME}
PLIST_SUB=  LIBTARGETDIR="${PORTNAME}"

do-install:
    @${MKDIR} ${LIBTARGETDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${LIBTARGETDIR}
    @${LN} -sf ${LIBTARGETDIR}/Coccinella.tcl ${PREFIX}/bin/coccinella
.for dir in TclXML certificates components contrib docs httpd iconsets items \
    jabber jabberlib lib msgs plugins po resources themes whiteboard xmpp
    @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${LIBTARGETDIR})
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS.txt CHANGES.txt README.txt
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
    @(cd ${WRKSRC} && ${COPYTREE_SHARE} READMEs ${DOCSDIR})
.endif

.include <bsd.port.mk>