blob: 628d5427e478deb4e8cb4a247462e14803cdd513 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.8 2012/10/03 00:02:45 asau Exp $
#
# TODO: gnupg support, ssl support, others
DISTNAME= tkabber-0.11.1
PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://files.jabber.ru/tkabber/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tkabber.jabber.ru/en/
COMMENT= Free and Open Source TCL/TK jabber client
DEPENDS+= tcllib-[0-9]*:../../devel/tcllib
USE_TOOLS+= pax wish:run
EGDIR= ${PREFIX}/share/examples/tkabber
DATADIR= ${PREFIX}/share/tkabber
DOCDIR= ${PREFIX}/share/doc/tkabber
AUTO_MKDIRS= yes
# XXX this is also in the tkabber's Makefile
SUBDIRS= emoticons \
ifacetk \
jabberlib \
tclxml \
mclistbox \
msgs \
pixmaps \
plugins \
sounds \
trans
EXTRA_FILES= AUTHORS README COPYING INSTALL ChangeLog
do-build:
# TODO This must be a CLASS
${SED} -e "s,@WISH@,${WISH}," \
-e "s,@DATADIR@,${DATADIR}," ${FILESDIR}/tkabber.sh \
> ${WRKSRC}/tkabber
do-install:
${INSTALL_DATA} ${WRKSRC}/*.tcl ${DESTDIR}${DATADIR} #${WRKSRC}/*.xrdb ${DATADIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXTRA_FILES} ${DESTDIR}${DOCDIR}
cd ${WRKSRC}/examples && pax -rw -pm . ${DESTDIR}${EGDIR}
.for i in ${SUBDIRS}
cd ${WRKSRC} && pax -rw -pm ${i} ${DESTDIR}${DATADIR}
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/tkabber ${DESTDIR}${PREFIX}/bin
.include "../../x11/tk-BWidget/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|