summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwise <jwise>2000-08-30 23:07:45 +0000
committerjwise <jwise>2000-08-30 23:07:45 +0000
commitdb368fc54dc89af17d1ddf51ac70e9f05e31fdee (patch)
treedc2d65cdf049a43a63b6308f8ae6c1ded8de7776
parent34240f01a933661ddf1e2dd811a135db03c761df (diff)
downloadpkgsrc-db368fc54dc89af17d1ddf51ac70e9f05e31fdee.tar.gz
Fix path in cvs import. message was:
Re-import tkcron where it belongs, under sysutils. In addition, clean it up substantially, and adapt it to tk-8.3.2.
-rw-r--r--sysutils/tkcron/Makefile23
-rw-r--r--sysutils/tkcron/files/md53
-rw-r--r--sysutils/tkcron/files/patch-sum4
-rw-r--r--sysutils/tkcron/patches/patch-aa13
-rw-r--r--sysutils/tkcron/pkg/COMMENT1
-rw-r--r--sysutils/tkcron/pkg/DESCR2
-rw-r--r--sysutils/tkcron/pkg/PLIST2
7 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/tkcron/Makefile b/sysutils/tkcron/Makefile
new file mode 100644
index 00000000000..81d62169c04
--- /dev/null
+++ b/sysutils/tkcron/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/30 23:07:45 jwise Exp $
+#
+
+DISTNAME= tkcron-2.12
+CATEGORIES= x11 tk
+MASTER_SITES= ftp://ftp.neosoft.com/languages/tcl/alcatel/code/
+EXTRACT_SUFX= .tcl.gz
+
+MAINTAINER= packages@netbsd.org
+
+DEPENDS+= tk-8.3.2:../../x11/tk
+
+USE_X11= yes
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} > tkcron.tcl
+NO_WRKSUBDIR= yes
+
+do-build:
+ ${SED} -e "\:/usr/local/bin/wish: s;;${LOCALBASE}/bin/wish;g" ${WRKSRC}/tkcron.tcl > ${WRKSRC}/tkcron
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkcron ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/tkcron/files/md5 b/sysutils/tkcron/files/md5
new file mode 100644
index 00000000000..d38351cc552
--- /dev/null
+++ b/sysutils/tkcron/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/08/30 23:07:45 jwise Exp $
+
+MD5 (tkcron-2.12.tcl.gz) = 585a44f793c0b8a8a353f79a217deda0
diff --git a/sysutils/tkcron/files/patch-sum b/sysutils/tkcron/files/patch-sum
new file mode 100644
index 00000000000..0695cb368e0
--- /dev/null
+++ b/sysutils/tkcron/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/08/30 23:07:45 jwise Exp $
+
+MD5 (patch-aa) = 33e14caf5a05b208d791550c4c452878
+MD5 (patch-ab) = 7796bb84ce64171d2d4bc1d13ad494d8
diff --git a/sysutils/tkcron/patches/patch-aa b/sysutils/tkcron/patches/patch-aa
new file mode 100644
index 00000000000..f1ece6deb47
--- /dev/null
+++ b/sysutils/tkcron/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/30 23:07:45 jwise Exp $
+
+--- 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/sysutils/tkcron/pkg/COMMENT b/sysutils/tkcron/pkg/COMMENT
new file mode 100644
index 00000000000..9b5ca9ba564
--- /dev/null
+++ b/sysutils/tkcron/pkg/COMMENT
@@ -0,0 +1 @@
+graphical frontend to crontab
diff --git a/sysutils/tkcron/pkg/DESCR b/sysutils/tkcron/pkg/DESCR
new file mode 100644
index 00000000000..e3c46aacb06
--- /dev/null
+++ b/sysutils/tkcron/pkg/DESCR
@@ -0,0 +1,2 @@
+Tkcron is a frontend to crontab which allows the user to conveniently
+add/modify/install/remove cron jobs.
diff --git a/sysutils/tkcron/pkg/PLIST b/sysutils/tkcron/pkg/PLIST
new file mode 100644
index 00000000000..ed195f42363
--- /dev/null
+++ b/sysutils/tkcron/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/30 23:07:45 jwise Exp $
+bin/tkcron