summaryrefslogtreecommitdiff
path: root/irc/zircon/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-15 16:08:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-15 16:08:10 +0000
commit7f4bf1575fa0dfcfb1ebf56e815c143da7795d65 (patch)
tree9935a20fd4bd1c6c1c12e145a082cd764fed3694 /irc/zircon/Makefile
parentUpdate to 2.1.2. [1] (diff)
- revert default to tcl/tk83, leave tcl/tk84 as option
Notes
Notes: svn path=/head/; revision=86990
Diffstat (limited to 'irc/zircon/Makefile')
-rw-r--r--irc/zircon/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/irc/zircon/Makefile b/irc/zircon/Makefile
index 7936f6800aa4..32659183b207 100644
--- a/irc/zircon/Makefile
+++ b/irc/zircon/Makefile
@@ -13,9 +13,23 @@ MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= An X11 interface to Internet Relay Chat
+.if defined(ZIRCON_WITH_TCL84) || defined(ZIRCON_WITH_TK84)
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
+.else
+RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
+.endif
NO_BUILD= yes
+USE_REINPLACE= yes
+.if defined(ZIRCON_WITH_TCL84) || defined(ZIRCON_WITH_TK84)
+TCL_INCLUDE= ${LOCALBASE}/include/tcl8.4
+.else
+TCL_INCLUDE= ${LOCALBASE}/include/tcl8.3
+.endif
+
+do-configure:
+ ${REINPLACE_CMD} -e 's=%%TCL_INCLUDE%%=${TCL_INCLUDE}=' \
+ ${WRKSRC}/installer/unix.tcl
do-install:
${ECHO_CMD} "set go {Yes}" >>${WRKSRC}/install.in