summaryrefslogtreecommitdiff
path: root/misc/tkcron/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1996-11-29 07:08:22 +0000
committerThomas Gellekum <tg@FreeBSD.org>1996-11-29 07:08:22 +0000
commitd5e2fb4a66a215c0885773e03f6b8418750b194c (patch)
tree835d412ee05dda710c9c139bc58271007bd23d6b /misc/tkcron/files
parentAdd safe-tcl. (diff)
Second try: import of tkcron, a frontend to crontab.
Closes PR 2064. Submitted by: Sander Vesik <sander@haldjas.folklore.ee>
Notes
Notes: svn path=/head/; revision=4707
Diffstat (limited to 'misc/tkcron/files')
-rw-r--r--misc/tkcron/files/Makefile12
-rw-r--r--misc/tkcron/files/patch-aa11
2 files changed, 23 insertions, 0 deletions
diff --git a/misc/tkcron/files/Makefile b/misc/tkcron/files/Makefile
new file mode 100644
index 000000000000..c9903f00c0f3
--- /dev/null
+++ b/misc/tkcron/files/Makefile
@@ -0,0 +1,12 @@
+BINDIR= ${PREFIX}/bin
+WISHDIR?= ${BINDIR}
+
+all: tkcron
+
+tkcron:
+ sed -e "\:/usr/local/bin/wish: s;;${BINDIR}/wish4.1;g" tkcron.tcl > tkcron
+
+install: all
+ install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} tkcron ${BINDIR}
+
+.include <bsd.own.mk>
diff --git a/misc/tkcron/files/patch-aa b/misc/tkcron/files/patch-aa
new file mode 100644
index 000000000000..b6c4026ef5ad
--- /dev/null
+++ b/misc/tkcron/files/patch-aa
@@ -0,0 +1,11 @@
+--- tkcron.tcl Sat Aug 3 17:53:42 1996
++++ tkcron.tcl Sat Aug 3 17:52:03 1996
+@@ -281,6 +281,7 @@
+
+ # Return the crontab string as a list
+ proc parseCrontabFile {str} {
++ set result ""
+ set crontablist [split $str \n]
+ set listlength [llength $crontablist]
+ for {set i 0} {$i < $listlength} {incr i 1} {
+