aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/tkabbur/Makefile
blob: 35259666008db8e000301bebb61195696f31e50b (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
# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$

PORTNAME=   tkabbur
PORTVERSION=    0.8
CATEGORIES= net-im
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
DISTNAME=   ${PORTNAME}-${PORTVERSION}.src

MAINTAINER= dhn@FreeBSD.org
COMMENT=    Is a modification of XMPP/Jabber client Tkabber

RUN_DEPENDS=    dtplite:${PORTSDIR}/devel/tcllib \
        ${LOCALBASE}/lib/tls1.6/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \
        ${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget

WRKSRC=     ${WRKDIR}/${DISTNAME}
USES=       tar:bzip2 tk:run
NO_BUILD=   yes

SUBDIRS=    contrib emoticons ifacetk jabberlib mclistbox \
        msgs pixmaps plugins sounds tclxml trans

do-install:
    ${ECHO} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabbur.tcl \
        -name tkabbur \"\$$@\"\n" > ${STAGEDIR}${PREFIX}/bin/tkabbur
    ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/tkabbur
    ${CHMOD} 755 ${WRKSRC}/*.tcl
    ${MKDIR} ${STAGEDIR}${DATADIR}
    ${CP} ${WRKSRC}/*.tcl ${STAGEDIR}${DATADIR}
.for i in ${SUBDIRS}
    ${CHMOD} -R 755 ${WRKSRC}/${i}
    ${CP} -R ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
.endfor

.include <bsd.port.mk>