summaryrefslogtreecommitdiff
path: root/misc
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
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')
-rw-r--r--misc/tkcron/Makefile27
-rw-r--r--misc/tkcron/distinfo1
-rw-r--r--misc/tkcron/files/Makefile12
-rw-r--r--misc/tkcron/files/patch-aa11
-rw-r--r--misc/tkcron/pkg-comment1
-rw-r--r--misc/tkcron/pkg-descr6
-rw-r--r--misc/tkcron/pkg-plist1
7 files changed, 59 insertions, 0 deletions
diff --git a/misc/tkcron/Makefile b/misc/tkcron/Makefile
new file mode 100644
index 000000000000..7200929088c9
--- /dev/null
+++ b/misc/tkcron/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: tkcron-2.12
+# Version required: 2.12
+# Date created: 30 July 1996
+# Whom: Sander Vesik <sander@haldjas.folklore.ee>
+#
+# $Id$
+#
+
+DISTNAME= tkcron-2.12
+DISTFILES= tkcron-2.12.tcl.gz
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.neosoft.com/languages/tcl/alcatel/code/
+
+MAINTAINER= sander@haldjas.folklore.ee
+
+RUN_DEPENDS= wish4\.1:${PORTSDIR}/x11/tk41
+
+EXTRACT_CMD= /usr/bin/gunzip
+EXTRACT_SUFX= .tcl.gz
+EXTRACT_BEFORE_ARGS= -c
+EXTRACT_AFTER_ARGS= > tkcron.tcl
+NO_WRKSUBDIR= yes
+
+post-extract:
+ @cp files/Makefile ${WRKDIR}
+
+.include <bsd.port.mk>
diff --git a/misc/tkcron/distinfo b/misc/tkcron/distinfo
new file mode 100644
index 000000000000..1fcf6b29e07c
--- /dev/null
+++ b/misc/tkcron/distinfo
@@ -0,0 +1 @@
+MD5 (tkcron-2.12.tcl.gz) = 585a44f793c0b8a8a353f79a217deda0
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} {
+
diff --git a/misc/tkcron/pkg-comment b/misc/tkcron/pkg-comment
new file mode 100644
index 000000000000..56eb287e1106
--- /dev/null
+++ b/misc/tkcron/pkg-comment
@@ -0,0 +1 @@
+Tkcron is a frontend to crontab.
diff --git a/misc/tkcron/pkg-descr b/misc/tkcron/pkg-descr
new file mode 100644
index 000000000000..757ac1e020b9
--- /dev/null
+++ b/misc/tkcron/pkg-descr
@@ -0,0 +1,6 @@
+Tkcron is a frontend to crontab which allows the user to conviniently
+add/modify/install/remove cron jobs.
+
+This is crontab version 2.12
+
+ Sander
diff --git a/misc/tkcron/pkg-plist b/misc/tkcron/pkg-plist
new file mode 100644
index 000000000000..6bac0b2ad7ba
--- /dev/null
+++ b/misc/tkcron/pkg-plist
@@ -0,0 +1 @@
+bin/tkcron