aboutsummaryrefslogtreecommitdiff
path: root/x11/tkXwin/Makefile
blob: d4284ca1fe3c927789d0cc1eb52ed30b6b9fdb08 (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
# New ports collection makefile for:	tkXwin
# Date created:				Tue Aug  9 14:32:29 MSD 2005
# Whom:					Denis Shaposhnikov <dsh@vlink.ru>
#
# $FreeBSD$
#

PORTNAME=	tkXwin
PORTVERSION=	1.0
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITES_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
EXTRACT_SUFX=	.tgz

MAINTAINER=	dsh@vlink.ru
COMMENT=	Tcl/Tk library to detect idle periods of an X session

LIB_DEPENDS=	tcl${SHORT_TK_VER}:${PORTSDIR}/lang/tcl${SHORT_TK_VER} \
		tk${SHORT_TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}

GNU_CONFIGURE=	yes
USE_X_PREFIX=	yes
USE_LDCONFIG=	yes

CONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
		--with-tclinclude=${LOCALBASE}/include/tcl${TK_VER} \
		--with-tk=${LOCALBASE}/lib/tk${TK_VER} \
		--with-tkinclude=${LOCALBASE}/include/tk${TK_VER}
CONFIGURE_ENV=	INSTALL="${INSTALL_DATA}"

TK_VER=		8.4
SHORT_TK_VER=	${TK_VER:S/.//}

.include <bsd.port.mk>