1999-09-24 00:10:28 -04:00
|
|
|
# New ports collection makefile for: tclreadline
|
|
|
|
# Date created: 21 September 1999
|
|
|
|
# Whom: darius@dons.net.au
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 01:44:42 -04:00
|
|
|
PORTNAME= tclreadline
|
|
|
|
PORTVERSION= 1.0.3
|
1999-11-01 22:27:14 -05:00
|
|
|
CATEGORIES= tcl80 tcl82
|
2000-07-27 07:45:08 -04:00
|
|
|
MASTER_SITES= ftp://tclreadline.sourceforge.net/pub/tclreadline/
|
1999-09-24 00:10:28 -04:00
|
|
|
|
|
|
|
MAINTAINER= darius@dons.net.au
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1999-12-23 23:27:22 -05:00
|
|
|
GMAKE= yes
|
1999-09-24 00:10:28 -04:00
|
|
|
MANN= tclreadline.n
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-04-16 20:18:05 -04:00
|
|
|
.if (!defined(WITH_TCL80) && !defined(WITH_TCL82))
|
1999-12-23 23:27:22 -05:00
|
|
|
.if exists(${PREFIX}/bin/tclsh8.0)
|
2000-04-16 20:18:05 -04:00
|
|
|
WITH_TCL80= yes
|
1999-12-23 23:27:22 -05:00
|
|
|
.else
|
2000-04-16 20:18:05 -04:00
|
|
|
WITH_TCL82= yes
|
1999-12-23 23:27:22 -05:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2000-04-16 20:18:05 -04:00
|
|
|
.if defined(WITH_TCL80)
|
1999-09-24 00:10:28 -04:00
|
|
|
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80
|
1999-12-23 23:27:22 -05:00
|
|
|
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.0 --with-tcl-includes=${PREFIX}/include/tcl8.0
|
1999-09-24 00:10:28 -04:00
|
|
|
TCLVERMSG= "Building for Tcl 8.0"
|
1999-12-23 23:27:22 -05:00
|
|
|
.endif
|
|
|
|
|
2000-04-16 20:18:05 -04:00
|
|
|
.if defined(WITH_TCL82)
|
1999-12-10 10:42:50 -05:00
|
|
|
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
|
1999-12-23 23:27:22 -05:00
|
|
|
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 --with-tcl-includes=${PREFIX}/include/tcl8.2
|
|
|
|
TCLVERMSG= "Building for Tcl 8.2"
|
1999-09-24 00:10:28 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO} ${TCLVERMSG}
|
2000-04-16 20:18:05 -04:00
|
|
|
@${ECHO} "Define WITH_TCL80, or WITH_TCL82"
|
1999-12-23 23:27:22 -05:00
|
|
|
@${ECHO} "To compile against a different version of TCL"
|
1999-09-24 00:10:28 -04:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|