summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1996-11-29 07:08:22 +0000
committertg <tg@FreeBSD.org>1996-11-29 07:08:22 +0000
commit497937eed2d0d2d8205fc68fa5a43531ce369b78 (patch)
treefaab4f7e5d14bbca055ddf72d766603f9858c204 /misc
parent1c2cf622d0b6d7bd71ce6445d811f2be1726ceac (diff)
downloadFreeBSD-ports-497937eed2d0d2d8205fc68fa5a43531ce369b78.zip
FreeBSD-ports-497937eed2d0d2d8205fc68fa5a43531ce369b78.tar.gz
Second try: import of tkcron, a frontend to crontab.
Closes PR 2064. Submitted by: Sander Vesik <sander@haldjas.folklore.ee>
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 0000000..7200929
--- /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 0000000..1fcf6b2
--- /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 0000000..c9903f0
--- /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 0000000..b6c4026
--- /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 0000000..56eb287
--- /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 0000000..757ac1e
--- /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 0000000..6bac0b2
--- /dev/null
+++ b/misc/tkcron/pkg-plist
@@ -0,0 +1 @@
+bin/tkcron
OpenPOWER on IntegriCloud