svn commit: r328285 - in head/misc/tkcron: . files

Cy Schubert cy at FreeBSD.org
Wed Sep 25 13:19:45 UTC 2013


Author: cy
Date: Wed Sep 25 13:19:44 2013
New Revision: 328285
URL: http://svnweb.freebsd.org/changeset/ports/328285

Log:
  This port will not work with tclwrapper.
  
  Switch to USE_TK_RUN.

Modified:
  head/misc/tkcron/Makefile
  head/misc/tkcron/files/patch-aa

Modified: head/misc/tkcron/Makefile
==============================================================================
--- head/misc/tkcron/Makefile	Wed Sep 25 13:16:50 2013	(r328284)
+++ head/misc/tkcron/Makefile	Wed Sep 25 13:19:44 2013	(r328285)
@@ -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 at 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

Modified: head/misc/tkcron/files/patch-aa
==============================================================================
--- head/misc/tkcron/files/patch-aa	Wed Sep 25 13:16:50 2013	(r328284)
+++ head/misc/tkcron/files/patch-aa	Wed Sep 25 13:19:44 2013	(r328285)
@@ -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 at 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} {
-


More information about the svn-ports-all mailing list