1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Second try: import of tkcron, a frontend to crontab.

Closes PR 2064.

Submitted by:	Sander Vesik <sander@haldjas.folklore.ee>
This commit is contained in:
Thomas Gellekum 1996-11-29 07:08:22 +00:00
parent 83f9b19153
commit d5e2fb4a66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4707
7 changed files with 59 additions and 0 deletions

27
misc/tkcron/Makefile Normal file
View File

@ -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>

1
misc/tkcron/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tkcron-2.12.tcl.gz) = 585a44f793c0b8a8a353f79a217deda0

View File

@ -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>

View File

@ -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} {

1
misc/tkcron/pkg-comment Normal file
View File

@ -0,0 +1 @@
Tkcron is a frontend to crontab.

6
misc/tkcron/pkg-descr Normal file
View File

@ -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

1
misc/tkcron/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/tkcron