aboutsummaryrefslogtreecommitdiffstats
path: root/irc/quirc/Makefile
blob: 625a10a5c9eb3621eeaafd8135d4a253b79b8c2f (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
# New ports collection makefile for:    QuIRC
# Date created:     21 May 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   quirc
PORTVERSION=    0.9.84
PORTREVISION=   2
CATEGORIES= irc tk84
MASTER_SITES=   ${MASTER_SITE_LOCAL:S/$/:local/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An irc client for the X Window System that uses TCL/TK

LIB_DEPENDS=    tk84.1:${PORTSDIR}/x11-toolkits/tk84

USE_X_PREFIX=   yes
USE_XLIB=   yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-wish=${LOCALBASE}/bin/wish8.4 \
        --with-tcl-include-dir=${LOCALBASE}/include/tcl8.4 \
        --with-tk-include-dir=${LOCALBASE}/include/tk8.4 \
        --with-tcl-lib-dir=${LOCALBASE}/lib/tcl8.4 \
        --with-tk-lib-dir=${LOCALBASE}/lib/tk8.4 \
        --with-tcl-lib=tcl84 \
        --with-tk-lib=tk84 \
        --with-tcl-version=8.4

MYPORTDOCS= AUTHORS ChangeLog FAQ NEWS README doc/color.txt \
        doc/dccresum.txt doc/links.txt doc/nickcomp.txt \
        doc/quedit.txt doc/rfc1459.txt doc/tdcc.txt

post-install:
    @${MKDIR} ${DATADIR}/common
    ${LN} -sf ../install.tcl ${DATADIR}/common
    @${MKDIR} ${DATADIR}/themes
    ${LN} -sf ../default.tcl ${DATADIR}/themes
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${MYPORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>