aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/icb/Makefile
blob: c17527099e28e162d04e880d378a7c745b2dcca6 (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
# Created by: David O'Brien (obrien@NUXI.ucdavis.edu)
# $FreeBSD$

PORTNAME=   icb
PORTVERSION=    5.1.0
PORTREVISION=   4
CATEGORIES= net-im tcl
#MASTER_SITES=  http://www.obfuscation.org/icb/
MASTER_SITES=   http://fossies.org/linux/misc/old/
DISTNAME=   c${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Internet CB - a mostly-defunct chat client

USES=       readline tk
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tclinclude=${TCL_INCLUDEDIR} \
        --with-tcllib=${LOCALBASE}/lib

PORTEXAMPLES=   bartender confuse echofunctions sample.icbrc
PLIST_FILES=    bin/icb %%DATADIR%%/icbserverdb

OPTIONS_DEFINE= EXAMPLES

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MEXAMPLES}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
    ${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>