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

PORTNAME=	tkabbur
PORTVERSION=	0.8
CATEGORIES=	net-im
MASTER_SITES=	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 \
		tcltls>0:${PORTSDIR}/devel/tcltls \
		${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget

DEPRECATED=	Upstream development ceased since 2008
EXPIRATION_DATE=	2015-07-07

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>