freebsd-ports/devel/tclreadline/Makefile
1999-09-24 04:26:57 +00:00

34 lines
914 B
Makefile

# 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>