1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Re-import tkcron, a tk frontend to cron.

Feature safe:	yes
This commit is contained in:
Cy Schubert 2012-04-07 16:33:05 +00:00
parent c144b0fb1c
commit fa094e3d34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294336
6 changed files with 68 additions and 0 deletions

View File

@ -520,6 +520,7 @@
SUBDIR += teseq
SUBDIR += tet
SUBDIR += thailocale
SUBDIR += tkcron
SUBDIR += tkinfo
SUBDIR += tkman
SUBDIR += tkregexp

32
misc/tkcron/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: tkcron-2.12
# Date created: 30 July 1996
# Whom: Sander Vesik <sander@haldjas.folklore.ee>
#
# $FreeBSD$
#
PORTNAME= tkcron
PORTVERSION= 2.12
CATEGORIES= misc
MASTER_SITES= ftp://ftp.tcl.tk/pub/tcl/mirror/ftp.procplace.com/sorted/packages-7.6/misc/tkcron-2.12/ \
http://ftp.sunet.se/pub/lang/tcl/sorted/packages-7.6/misc/tkcron-2.12/ \
http://ftp4.de.freesbie.org/pub/misc/x11/tcl/ftp.gmd.de/contrib/sorted/misc/tkcron-2.12/ \
http://komquats.com/distfiles/ \
http://people.freebsd.org/~cy/distfiles/
EXTRACT_SUFX= .tcl.gz
MAINTAINER= cy@FreeBSD.org
COMMENT= A frontend to crontab
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -cd
EXTRACT_AFTER_ARGS= > tkcron.tcl
NO_WRKSUBDIR= yes
PLIST_FILES= bin/tkcron
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
.include <bsd.port.mk>

2
misc/tkcron/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (tkcron-2.12.tcl.gz) = 1436e2206bd8b347dfa8e65265cfdae3a8f14f78d5ba58426beb2b1c5daeb6dd
SIZE (tkcron-2.12.tcl.gz) = 4545

View File

@ -0,0 +1,16 @@
#
# $FreeBSD$
#
BINDIR= ${PREFIX}/bin
WISHDIR?= ${BINDIR}
all: tkcron
tkcron:
sed -e "\:/usr/local/bin/wish: s;;${BINDIR}/wish8.2;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} {

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