From db368fc54dc89af17d1ddf51ac70e9f05e31fdee Mon Sep 17 00:00:00 2001 From: jwise Date: Wed, 30 Aug 2000 23:07:45 +0000 Subject: 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. --- sysutils/tkcron/Makefile | 23 +++++++++++++++++++++++ sysutils/tkcron/files/md5 | 3 +++ sysutils/tkcron/files/patch-sum | 4 ++++ sysutils/tkcron/patches/patch-aa | 13 +++++++++++++ sysutils/tkcron/pkg/COMMENT | 1 + sysutils/tkcron/pkg/DESCR | 2 ++ sysutils/tkcron/pkg/PLIST | 2 ++ 7 files changed, 48 insertions(+) create mode 100644 sysutils/tkcron/Makefile create mode 100644 sysutils/tkcron/files/md5 create mode 100644 sysutils/tkcron/files/patch-sum create mode 100644 sysutils/tkcron/patches/patch-aa create mode 100644 sysutils/tkcron/pkg/COMMENT create mode 100644 sysutils/tkcron/pkg/DESCR create mode 100644 sysutils/tkcron/pkg/PLIST 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 -- cgit v1.2.3