aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/tik/Makefile
blob: 83f9cf5becf6406cb9a9f426e316d3749e2eb3a7 (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
50
51
52
53
54
55
56
57
# New ports collection makefile for:    tik
# Date created:             13 January 1999
# Whom:                 Eugene M. Kim <astralblue@usa.net>
#
# $FreeBSD$
#

PORTNAME=   tik
PORTVERSION=    0.89
CATEGORIES= net tk82
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tik

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Tcl/Tk based AOL Instant Messenger (AIM) Chat Client

RUN_DEPENDS=    tclsh8.2:${PORTSDIR}/lang/tcl82 \
        wish8.2:${PORTSDIR}/x11-toolkits/tk82

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/tik

SRCDIRS=    share/tik share/tik/components share/tik/media \
        share/tik/packages share/tik/strs

.include <bsd.port.pre.mk>
.include "${FILESDIR}/srcfiles"

EGDIR=      share/examples/tik
EGFILES=    example.tikstrs example.pkgrc
DOCDIR=     share/doc/tik
DOCFILES=   CHANGES CONTRIBUTORS COPYING LICENSE README-LANG \
        NEW-FEATURES TODO

# The packing list starts with just bin/tik.  As we install things,
# build onto the list.
do-install:
.for d in ${SRCDIRS}
    @${MKDIR} ${PREFIX}/${d}
.endfor
.for f in ${SRCFILES}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/tik/${f}
.endfor
    @${MKDIR} ${PREFIX}/${EGDIR}
.for f in ${EGFILES}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${EGDIR}/${f}
.endfor
    @${SED} 's#@PREFIX@#${PREFIX}#g' < ${FILESDIR}/tik >${WRKDIR}/tik.sh
    ${INSTALL_SCRIPT} ${WRKDIR}/tik.sh ${PREFIX}/bin/tik
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/${DOCDIR}
.for f in ${DOCFILES}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}/${f}
.endfor
.endif

.include <bsd.port.post.mk>