summaryrefslogtreecommitdiff
path: root/chat/tik/Makefile
blob: ecbfa0a47aefe6abfb7a27f8e9f0791d434be7a4 (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
56
57
58
59
60
61
62
63
64
65
66
# $NetBSD: Makefile,v 1.10 2005/09/28 20:52:18 rillig Exp $
#

DISTNAME=		tik-0.90
CATEGORIES=		chat
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=tik/}

MAINTAINER=		grant@NetBSD.org
HOMEPAGE=		http://tik.sourceforge.net/
COMMENT=		Tcl/Tk AOL Instant Messenger client

DEPENDS+=		tk>=8.1:../../x11/tk

WRKSRC=			${WRKDIR}/tik
NO_CONFIGURE=		yes
NO_BUILD=		yes

TIKDIR=			${PREFIX}/libexec/tik
INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_DATA_DIR} ${TIKDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/tik.tcl ${TIKDIR}
	${LN} -s ${TIKDIR}/tik.tcl ${PREFIX}/bin/tik
	${INSTALL_DATA} \
		${WRKSRC}/balloonhelp.tcl \
		${WRKSRC}/buddylist.tcl \
		${WRKSRC}/buddymgmt.tcl \
		${WRKSRC}/callbacks.tcl \
		${WRKSRC}/chat.tcl \
		${WRKSRC}/configTool.tcl \
		${WRKSRC}/configandpkg.tcl \
		${WRKSRC}/configdir.tcl \
		${WRKSRC}/im.tcl \
		${WRKSRC}/info.tcl \
		${WRKSRC}/popup.tcl \
		${WRKSRC}/prefs.tcl \
		${WRKSRC}/protocol.tcl \
		${WRKSRC}/proxy.tcl \
		${WRKSRC}/sag.tcl \
		${WRKSRC}/sflap.tcl \
		${WRKSRC}/toc.tcl \
		${WRKSRC}/ui.tcl \
		${WRKSRC}/util.tcl \
		${WRKSRC}/version.tcl \
		${WRKSRC}/example.awayrc \
		${WRKSRC}/example.pkgrc \
		${TIKDIR}
	cd ${WRKSRC} && \
		${PAX} -rw components ${TIKDIR} && \
		${PAX} -rw media ${TIKDIR} && \
		${PAX} -rw packages ${TIKDIR} && \
		${PAX} -rw strs ${TIKDIR}
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tik
	cd ${WRKSRC}/doc && ${PAX} -rw . ${PREFIX}/share/doc/tik
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tik
	${INSTALL_DATA} \
		${WRKSRC}/example.awayrc \
		${WRKSRC}/example.pkgrc \
		${WRKSRC}/example.tikpre \
		${WRKSRC}/example.tikrc \
		${WRKSRC}/example.tikstrs \
		${PREFIX}/share/examples/tik

.include "../../mk/bsd.pkg.mk"