aboutsummaryrefslogtreecommitdiffstats
path: root/irc/quirc/Makefile
blob: 66e33790599b04dc3afaeb9820a4296e36752b27 (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
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tcl/Tk IRC client for the X Window System

OPTIONS_DEFINE= DOCS

USES=       tk
USE_XORG=   xt

GNU_CONFIGURE=  yes
MAKE_ENV+=  DESTDIR=${STAGEDIR}

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
PORTDOCS=   *


.include <bsd.port.options.mk>

CONFIGURE_ARGS= --with-wish=${WISH} \
        --with-tcl-include-dir=${TCL_INCLUDEDIR} \
        --with-tk-include-dir=${TK_INCLUDEDIR} \
        --with-tcl-lib-dir=${TCL_LIBDIR} \
        --with-tk-lib-dir=${TK_LIBDIR} \
        --with-tcl-lib=tcl${TCL_SHLIB_VER} \
        --with-tk-lib=tk${TCL_SHLIB_VER} \
        --with-tcl-version=${TCL_VER}

post-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}/common
    ${LN} -sf ../install.tcl ${STAGEDIR}${DATADIR}/common
    @${MKDIR} ${STAGEDIR}${DATADIR}/themes
    ${LN} -sf ../default.tcl ${STAGEDIR}${DATADIR}/themes
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${MYPORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>