Bug 9939

Summary: NEW port for tkRunIt
Product: Ports & Packages Reporter: stephen farrell <sfarrell>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description stephen farrell 1999-02-07 02:20:01 UTC
	new port for tkRunIt, a simple and nice tk-based pop-up 
	that can run programs (e.g., in lieu of lauching an xterm)
Comment 1 jim 1999-03-28 11:07:22 UTC
The following patch fixes the Makefile (it now passes portlint without
errors or warnings) and updates tkRunIt to 0.94.1.  It also installs
the runitrc.sample into ${PREFIX}/share/examples/tkrunit.

diff -ruN tkrunit.orig/Makefile tkrunit/Makefile
--- tkrunit.orig/Makefile	Sun Mar 28 19:35:28 1999
+++ tkrunit/Makefile	Sun Mar 28 20:02:37 1999
@@ -1,24 +1,38 @@
-# New port makefile for:       tkrunnit
-# Version required:            0.92
-# Date created:                        6 February, 1999
-# Whom:                                
+# New ports collection makefile for:	tkrunnit
+# Version required:		0.94.1
+# Date created:			6 February, 1999
+# Whom:				Stephen Farrell
 #
 # $Id$
 #
 
-PKGNAME=       tkRunIt-0.92
-DISTNAME=      tkRunIt-092
-CATEGORIES=    misc
-MASTER_SITES=   http://www.cs.columbia.edu/~etgold/software/tkRunIt/
+DISTNAME=	tkRunIt-0941
+PKGNAME=	tkRunIt-0.94.1
+CATEGORIES=	misc
+MASTER_SITES=	http://www.cs.columbia.edu/~etgold/software/tkRunIt/
 
-MAINTAINER=    steve@farrell.org
-NO_BUILD=      yes
+MAINTAINER=	steve@farrell.org
 
-RUN_DEPENDS=   wish8.0:${PORTSDIR}/x11-toolkits/tk80
+RUN_DEPENDS=	wish8.0:${PORTSDIR}/x11-toolkits/tk80
+
+NO_BUILD=	yes
 
 post-extract:
-       @(cd ${WRKDIR} ; mv tkRunIt ${DISTNAME}) 
+	@(cd ${WRKDIR} ; ${MV} tkRunIt ${DISTNAME})
+
 do-install:
-       @(cd ${WRKSRC} ; ${INSTALL_SCRIPT} runit.tcl ${PREFIX}/bin)
+	@(cd ${WRKSRC} ; ${INSTALL_SCRIPT} runit.tcl ${PREFIX}/bin)
+
+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} "===> Run the program with the following command:"
+	@${ECHO} "===> wish8.0 ${PREFIX}/bin/runit.tcl"
+	@${ECHO} "-------------------------------------------------------------------"
+	@${ECHO} "		"
+	@${MKDIR} ${PREFIX}/share/examples/tkrunit && chmod a+rx ${PREFIX}/share/examples/tkrunit
+	@${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${PREFIX}/share/examples/tkrunit
 
 .include <bsd.port.mk>
diff -ruN tkrunit.orig/files/md5 tkrunit/files/md5
--- tkrunit.orig/files/md5	Sun Mar 28 19:35:28 1999
+++ tkrunit/files/md5	Sun Mar 28 19:41:17 1999
@@ -1 +1 @@
-MD5 (tkRunIt-092.tar.gz) = 60fbc223e88f618b4218425080b58860
+MD5 (tkRunIt-0941.tar.gz) = 350ed155295f8ae81519c2215aadc72c
diff -ruN tkrunit.orig/pkg/PLIST tkrunit/pkg/PLIST
--- tkrunit.orig/pkg/PLIST	Sun Mar 28 19:35:28 1999
+++ tkrunit/pkg/PLIST	Sun Mar 28 19:57:56 1999
@@ -1 +1,3 @@
 bin/runit.tcl
+share/examples/tkrunit/runitrc.sample
+@dirrm share/examples/tkrunit

-- 
Jim Mock  System Administrator  jim@corp.au.triax.com  ,-._|\  FreeBSD
work:  Triax Internet Services  http://www.triax.com/ /      \ The
personal:  http://www.triax.com/~jim/                 \_,--._/ Power To
The FreeBSD 'zine  http://www.freebsdzine.org/              v  Serve!
Comment 2 taoka freebsd_committer freebsd_triage 1999-04-27 04:27:11 UTC
State Changed
From-To: open->closed

Committed, thanks!