summaryrefslogtreecommitdiffstats
path: root/irc/quirc/Makefile
blob: 3ed04ac79f9398464e21eeccfe0adade9e419643 (plain)
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=	5
CATEGORIES=	irc tk
MASTER_SITES=	${MASTER_SITE_LOCAL:S/$/:local/}

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

USE_TK=		84+
USE_XORG=	xt

GNU_CONFIGURE=	yes

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

.include <bsd.port.pre.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_VER:S/.//} \
		--with-tk-lib=tk${TCL_VER:S/.//} \
		--with-tcl-version=${TCL_VER}

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.post.mk>
OpenPOWER on IntegriCloud