summaryrefslogtreecommitdiff
path: root/devel/tclreadline
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-24 04:27:22 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-24 04:27:22 +0000
commit6affeb829135e23b9ba5b54c55a052a923468fae (patch)
tree7f7438f7d8236fd6740b205da0f6508bbfa1ec70 /devel/tclreadline
parentMake this compile again after the libnet updates. (diff)
Update to version 1.0.3.
PR: 15605 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=23960
Diffstat (limited to 'devel/tclreadline')
-rw-r--r--devel/tclreadline/Makefile27
-rw-r--r--devel/tclreadline/distinfo2
2 files changed, 21 insertions, 8 deletions
diff --git a/devel/tclreadline/Makefile b/devel/tclreadline/Makefile
index 0f3fe111a1b9..bfaeba879b55 100644
--- a/devel/tclreadline/Makefile
+++ b/devel/tclreadline/Makefile
@@ -1,33 +1,46 @@
# New ports collection makefile for: tclreadline
-# Version required: 1.0
+# Version required: 1.0.3
# Date created: 21 September 1999
# Whom: darius@dons.net.au
#
# $FreeBSD$
#
-DISTNAME= tclreadline-1.0.0
+DISTNAME= tclreadline-1.0.3
CATEGORIES= tcl80 tcl82
MASTER_SITES= http://www.zellner.org/tclreadline/download/
MAINTAINER= darius@dons.net.au
GNU_CONFIGURE= yes
+GMAKE= yes
MANN= tclreadline.n
.include <bsd.port.pre.mk>
-.if (!exists(${PREFIX}/bin/tclsh8.2) || exists(${PREFIX}/bin/tclsh8.0)) && (defined(FORCE_80))
+.if (!defined(USE_TCL80) && !defined(USE_TCL82))
+.if exists(${PREFIX}/bin/tclsh8.0)
+USE_TCL80= YES
+.else
+USE_TCL82= YES
+.endif
+.endif
+
+.if defined(USE_TCL80)
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80
-CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.0/ --with-tcl-includes=${PREFIX}/include/tcl8.0
+CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.0 --with-tcl-includes=${PREFIX}/include/tcl8.0
TCLVERMSG= "Building for Tcl 8.0"
-.else
+.endif
+
+.if defined(USE_TCL82)
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
-CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2/ --with-tcl-includes=${PREFIX}/include/tcl8.2
-TCLVERMSG= "Building for Tcl 8.2 define FORCE_80 to build for Tcl 8.0"
+CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 --with-tcl-includes=${PREFIX}/include/tcl8.2
+TCLVERMSG= "Building for Tcl 8.2"
.endif
pre-fetch:
@${ECHO} ${TCLVERMSG}
+ @${ECHO} "Define USE_TCL80, or USE_TCL82"
+ @${ECHO} "To compile against a different version of TCL"
.include <bsd.port.post.mk>
diff --git a/devel/tclreadline/distinfo b/devel/tclreadline/distinfo
index a0ff9a20629a..0e16f79f413c 100644
--- a/devel/tclreadline/distinfo
+++ b/devel/tclreadline/distinfo
@@ -1 +1 @@
-MD5 (tclreadline-1.0.0.tar.gz) = 6cd26f910054ad1decdd14469d7dfab9
+MD5 (tclreadline-1.0.3.tar.gz) = 05691f508696d54a407003e41548179a