Date: Sat, 15 Oct 2011 02:58:54 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161622: Update port: misc/tkrunit Message-ID: <20111015025854.de8f6aa1.tkato432@yahoo.com> Resent-Message-ID: <201110141850.p9EIoK6M051617@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161622 >Category: ports >Synopsis: Update port: misc/tkrunit >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 14 18:50:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p3 i386 >Organization: >Environment: >Description: - Support USE_TK_WRAPPER - Support ECHO_MSG - Support PORTEXAMPLES/PLIST_FILES - Add WWW: line Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/misc/tkrunit/Makefile misc/tkrunit/Makefile --- /usr/ports/misc/tkrunit/Makefile 2009-03-15 04:21:08.000000000 +0900 +++ misc/tkrunit/Makefile 2011-08-28 14:55:50.000000000 +0900 @@ -7,32 +7,40 @@ PORTNAME= tkRunIt PORTVERSION= 0.94.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc -MASTER_SITES= http://thaumaturgy.net/~etgold/software/tkRunIt/ -DISTNAME= tkRunIt-0941 +MASTER_SITES= http://thaumaturgy.net/~etgold/software/tkRunIt/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= GUI app launcher with completion and history -RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE +WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes -post-extract: - @(cd ${WRKDIR} ; ${MV} tkRunIt ${DISTNAME}) +USE_TK_WRAPPER= yes -do-install: - @(cd ${WRKSRC} ; ${INSTALL_SCRIPT} runit.tcl ${PREFIX}/bin) +PORTEXAMPLES= ${PORTNAME:L} +PLIST_FILES= bin/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e \ + 's|/usr/local/bin|${PREFIX}/bin|' ${WRKSRC}/runit.tcl -post-install: - @${ECHO} " " - @${ECHO} "-------------------------------------------------------------------" - @${ECHO} "===> Installing runitrc.sample in ${PREFIX}/share/examples/tkrunit" - @${ECHO} "===> Copy runitrc.sample to ~/.runitrc and modify if you wish" - @${ECHO} "-------------------------------------------------------------------" - @${ECHO} " " - @${MKDIR} ${PREFIX}/share/examples/tkrunit && ${CHMOD} a+rx ${PREFIX}/share/examples/tkrunit - @${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${PREFIX}/share/examples/tkrunit +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/runit.tcl ${PREFIX}/bin/${PORTNAME} +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${EXAMPLESDIR}/${PORTNAME:L} + @${ECHO_MSG} " " + @${ECHO_MSG} "-------------------------------------------------------------------" + @${ECHO_MSG} "===> Installing runitrc.sample in ${EXAMPLESDIR}/${PORTNAME:L}" + @${ECHO_MSG} "===> Copy runitrc.sample to ~/.runitrc and modify if you wish" + @${ECHO_MSG} "-------------------------------------------------------------------" + @${ECHO_MSG} " " +.endif .include <bsd.port.mk> diff -urN /usr/ports/misc/tkrunit/files/patch-aa misc/tkrunit/files/patch-aa --- /usr/ports/misc/tkrunit/files/patch-aa 1999-11-29 03:32:16.000000000 +0900 +++ misc/tkrunit/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 @@ -1,10 +0,0 @@ ---- runit.tcl.bak Tue Apr 27 11:48:06 1999 -+++ runit.tcl Tue Apr 27 11:48:06 1999 -@@ -1,6 +1,6 @@ - #!/bin/sh - # the next line restarts using wish \ -- exec wish "$0" "$@" -+ exec wish8.2 "$0" "$@" - - #!/usr/local/bin/wish - ## runit (tkRunIt) 12/4/98 diff -urN /usr/ports/misc/tkrunit/pkg-descr misc/tkrunit/pkg-descr --- /usr/ports/misc/tkrunit/pkg-descr 1999-04-27 12:24:45.000000000 +0900 +++ misc/tkrunit/pkg-descr 2011-08-28 14:49:54.000000000 +0900 @@ -4,3 +4,5 @@ to allow extreme customizablility as I often find that personal workspace tools/shortcuts are seldom workflow compatible across users. + +WWW: http://thaumaturgy.net/~etgold/software/tkRunIt/ diff -urN /usr/ports/misc/tkrunit/pkg-plist misc/tkrunit/pkg-plist --- /usr/ports/misc/tkrunit/pkg-plist 1999-04-27 12:24:45.000000000 +0900 +++ misc/tkrunit/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,3 +0,0 @@ -bin/runit.tcl -share/examples/tkrunit/runitrc.sample -@dirrm share/examples/tkrunit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111015025854.de8f6aa1.tkato432>