diff --git a/misc/tkcron/Makefile b/misc/tkcron/Makefile new file mode 100644 index 000000000000..7200929088c9 --- /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 +# +# $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 diff --git a/misc/tkcron/distinfo b/misc/tkcron/distinfo new file mode 100644 index 000000000000..1fcf6b29e07c --- /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 000000000000..c9903f00c0f3 --- /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 diff --git a/misc/tkcron/files/patch-aa b/misc/tkcron/files/patch-aa new file mode 100644 index 000000000000..b6c4026ef5ad --- /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 000000000000..56eb287e1106 --- /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 000000000000..757ac1e020b9 --- /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 000000000000..6bac0b2ad7ba --- /dev/null +++ b/misc/tkcron/pkg-plist @@ -0,0 +1 @@ +bin/tkcron