This port will not work with tclwrapper.

Switch to USE_TK_RUN.
This commit is contained in:
Cy Schubert 2013-09-25 13:19:44 +00:00
parent f481b62051
commit 8f8e8a25e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328285
2 changed files with 13 additions and 7 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= tkcron
PORTVERSION= 2.12
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.tcl.tk/pub/tcl/mirror/ftp.procplace.com/sorted/packages-7.6/misc/tkcron-2.12/ \
http://ftp.sunet.se/pub/lang/tcl/sorted/packages-7.6/misc/tkcron-2.12/ \
@ -15,8 +15,7 @@ EXTRACT_SUFX= .tcl.gz
MAINTAINER= cy@FreeBSD.org
COMMENT= A frontend to crontab
RUN_DEPENDS= wish8.5:${PORTSDIR}/x11-toolkits/tk85 \
wish:${PORTSDIR}/x11-toolkits/tk-wrapper
USE_TK_RUN= 85
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -cd

View File

@ -1,6 +1,14 @@
--- tkcron.tcl Sat Aug 3 17:53:42 1996
+++ tkcron.tcl Sat Aug 3 17:52:03 1996
@@ -281,6 +281,7 @@
--- tkcron.tcl.orig 2013-09-25 00:48:19.068508511 -0700
+++ tkcron.tcl 2013-09-25 06:10:06.670101791 -0700
@@ -1,4 +1,6 @@
-#!/usr/local/bin/wish
+#! /bin/sh
+# the next line restarts using wish \
+exec /usr/local/bin/wish8.5 $0 ${1+"$@"}
# A simple interface to ease the creation of crontab jobs
# Cedric BEUST (beust@sophia.inria.fr)
@@ -281,6 +283,7 @@
# Return the crontab string as a list
proc parseCrontabFile {str} {
@ -8,4 +16,3 @@
set crontablist [split $str \n]
set listlength [llength $crontablist]
for {set i 0} {$i < $listlength} {incr i 1} {