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

PORTNAME=   quirc
PORTVERSION=    0.9.82
CATEGORIES= irc tk83
MASTER_SITES=   http://quirc.org/

MAINTAINER= kevlo@FreeBSD.org

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

USE_XLIB=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CXXFLAGS="${CXXFLAGS} -pedantic"
CONFIGURE_ARGS= --with-wish=${PREFIX}/bin/wish8.3 \
        --with-tcl-include-dir=${LOCALBASE}/include/tcl8.3 \
        --with-tk-include-dir=${LOCALBASE}/include/tk8.3 \
        --with-tcl-lib-dir=${LOCALBASE}/lib/tcl8.3 \
        --with-tk-lib-dir=${LOCALBASE}/lib/tk8.3 \
        --with-tcl-lib=tcl83 \
        --with-tk-lib=tk83 \
        --with-tcl-version=8.3

PORTDOCS=   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:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/quirc
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/quirc
.endfor
.endif

.include <bsd.port.mk>