summaryrefslogtreecommitdiff
path: root/devel/tclreadline/Makefile
blob: 1f0cf4f606a1fdc4b5e68af47ffa523cf793a569 (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
# New ports collection makefile for:	tclreadline
# Version required:	1.0
# Date created:		21 September 1999
# Whom:			darius@dons.net.au
#
# $FreeBSD$
#

DISTNAME=	tclreadline-1.0.0
CATEGORIES=	tcl80
MASTER_SITES=	http://www.zellner.org/tclreadline/download/

MAINTAINER=	darius@dons.net.au

GNU_CONFIGURE=	yes
MANN=		tclreadline.n

.include <bsd.port.pre.mk>

.if (!exists(${PREFIX}/bin/tclsh8.0) || exists(${PREFIX}/bin/tclsh8.1)) && (!defined(FORCE_80))
LIB_DEPENDS=	tcl81.1:${PORTSDIR}/lang/tcl81
CONFIGURE_ARGS=	--with-tcl=${PREFIX}/lib/tcl8.1 --with-tcl-includes=${PREFIX}/include/tcl8.1
TCLVERMSG=	"Building for Tcl 8.1 define FORCE_80 to build for Tcl 8.0"
.else
LIB_DEPENDS=	tcl80.1:${PORTSDIR}/lang/tcl80
CONFIGURE_ARGS=	--with-tcl=${PREFIX}/lib/tcl8.0/ --with-tcl-includes=${PREFIX}/include/tcl8.0
TCLVERMSG=	"Building for Tcl 8.0"
.endif

pre-fetch:
	@${ECHO} ${TCLVERMSG}

.include <bsd.port.post.mk>