From owner-svn-ports-head@FreeBSD.ORG Tue Jan 21 10:58:53 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DFD2BB4; Tue, 21 Jan 2014 10:58:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09AC41F99; Tue, 21 Jan 2014 10:58:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0LAwqVB018524; Tue, 21 Jan 2014 10:58:52 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0LAwqLa018522; Tue, 21 Jan 2014 10:58:52 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201401211058.s0LAwqLa018522@svn.freebsd.org> From: Pietro Cerutti Date: Tue, 21 Jan 2014 10:58:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340598 - in head/misc/tkcron: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 10:58:53 -0000 Author: gahr Date: Tue Jan 21 10:58:52 2014 New Revision: 340598 URL: http://svnweb.freebsd.org/changeset/ports/340598 QAT: https://qat.redports.org/buildarchive/r340598/ Log: - Convert to USES=tk - STAGE-clean - Simplify install procedure Deleted: head/misc/tkcron/files/Makefile Modified: head/misc/tkcron/Makefile (contents, props changed) head/misc/tkcron/files/patch-aa (contents, props changed) Modified: head/misc/tkcron/Makefile ============================================================================== --- head/misc/tkcron/Makefile Tue Jan 21 10:53:40 2014 (r340597) +++ head/misc/tkcron/Makefile Tue Jan 21 10:58:52 2014 (r340598) @@ -15,16 +15,19 @@ EXTRACT_SUFX= .tcl.gz MAINTAINER= cy@FreeBSD.org COMMENT= A frontend to crontab -USE_TK_RUN= 85 +USES= tk:85,run EXTRACT_CMD= ${GZIP_CMD} EXTRACT_BEFORE_ARGS= -cd EXTRACT_AFTER_ARGS= > tkcron.tcl +NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/tkcron -NO_STAGE= yes -post-extract: - @${CP} ${FILESDIR}/Makefile ${WRKSRC} +post-patch: + ${REINPLACE_CMD} -e 's|%%WISH%%|${WISH}|' ${WRKSRC}/tkcron.tcl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/tkcron.tcl ${STAGEDIR}${PREFIX}/bin/tkcron .include Modified: head/misc/tkcron/files/patch-aa ============================================================================== --- head/misc/tkcron/files/patch-aa Tue Jan 21 10:53:40 2014 (r340597) +++ head/misc/tkcron/files/patch-aa Tue Jan 21 10:58:52 2014 (r340598) @@ -4,7 +4,7 @@ -#!/usr/local/bin/wish +#! /bin/sh +# the next line restarts using wish \ -+exec /usr/local/bin/wish8.5 $0 ${1+"$@"} ++exec %%WISH%% $0 ${1+"$@"} # A simple interface to ease the creation of crontab jobs # Cedric BEUST (beust@sophia.inria.fr)