diff options
author | steve <steve@FreeBSD.org> | 1999-12-24 12:27:22 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-24 12:27:22 +0800 |
commit | beb75927f42e8914ade94e90d610c9e7377cc1fb (patch) | |
tree | f9cb204d3a9441d829d18c0e855cf9fc30365ff0 /devel/tclreadline | |
parent | 9fb6ed855fa9f35df2a180982fb2c0f58495b915 (diff) | |
download | freebsd-ports-gnome-beb75927f42e8914ade94e90d610c9e7377cc1fb.tar.gz freebsd-ports-gnome-beb75927f42e8914ade94e90d610c9e7377cc1fb.tar.zst freebsd-ports-gnome-beb75927f42e8914ade94e90d610c9e7377cc1fb.zip |
Update to version 1.0.3.
PR: 15605
Submitted by: maintainer
Diffstat (limited to 'devel/tclreadline')
-rw-r--r-- | devel/tclreadline/Makefile | 27 | ||||
-rw-r--r-- | devel/tclreadline/distinfo | 2 |
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 |