From carpetsmoker@mail.rwxrwxrwx.net  Tue Mar 20 11:45:12 2007
Return-Path: <carpetsmoker@mail.rwxrwxrwx.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B36E916A405
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Mar 2007 11:45:12 +0000 (UTC)
	(envelope-from carpetsmoker@mail.rwxrwxrwx.net)
Received: from mail.rwxrwxrwx.net (carpetsmoker.xs4all.nl [82.93.23.199])
	by mx1.freebsd.org (Postfix) with ESMTP id 6FC6213C4EB
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Mar 2007 11:45:10 +0000 (UTC)
	(envelope-from carpetsmoker@mail.rwxrwxrwx.net)
Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001)
	id B6052B82A; Tue, 20 Mar 2007 12:45:11 +0100 (CET)
Message-Id: <20070320114511.B6052B82A@mail.rwxrwxrwx.net>
Date: Tue, 20 Mar 2007 12:45:11 +0100 (CET)
From: Martin Tournoij <carpetsmoker@xs4all.nl>
Reply-To: Martin Tournoij <carpetsmoker@xs4all.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] misc/ewipe - Update to TCL/TK8.4, Take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110571
>Category:       ports
>Synopsis:       [PATCH] misc/ewipe - Update to TCL/TK8.4, Take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 20 11:50:13 GMT 2007
>Closed-Date:    Wed Mar 21 12:33:11 GMT 2007
>Last-Modified:  Wed Mar 21 12:40:23 GMT 2007
>Originator:     Martin Tournoij
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker@glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERICri386

>Description:

- Update to TCL/TK 8.4
- Take maintainership

>How-To-Repeat:

>Fix:

--- patch-ewipe begins here ---
diff -urN /ports/misc/ewipe/Makefile ./Makefile
--- /ports/misc/ewipe/Makefile	Thu May 11 00:37:17 2006
+++ ./Makefile	Tue Mar 20 10:38:23 2007
@@ -7,19 +7,22 @@
 
 PORTNAME=	ewipe
 PORTVERSION=	1.2.0
-CATEGORIES?=	misc tk82
-MASTER_SITES=	http://www.jnet-jp.to/~sekisita/ewipe/
+PORTREVISION=	1
+CATEGORIES?=	misc tk84
+MASTER_SITES=	http://www.jnet-jp.to/~sekisita/ewipe/ \
+		http://www.carpetsmoker.net/distfiles/ \
+		http://www.xs4all.nl/~tournoij/distfiles/
 
-MAINTAINER?=	ports@FreeBSD.org
+MAINTAINER?=	carpetsmoker@xs4all.nl
 COMMENT?=	Tcl/tk-based presentation tool
 
 .if defined(KANJI)
 RUN_DEPENDS=	wish8.0jp:${PORTSDIR}/japanese/tk80
 .else
-RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
+USE_TK=		yes
 .endif
 
-NO_BUILD=	YES
+NO_BUILD=	yes
 TCLLIBS=	definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
 MYPORTDOCS=	Changes.jp README README.jp dot.ewipe
 EXAMPLES=	a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
@@ -27,14 +30,13 @@
 
 .if defined(KANJI)
 WISH=		${LOCALBASE}/bin/wish8.0jp
-.else
-WISH=		${LOCALBASE}/bin/wish8.2
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} \
-		-e "s|%%PREFIX%%|${PREFIX}|g;" \
-		-e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \
+		s|%%WISH%%|${WISH}|g; \
+		s|PATH \.|PATH ${DATADIR}|;' \
+			${WRKSRC}/ewipe
 
 do-install:
 	@${MKDIR} ${PREFIX}/share/ewipe
diff -urN /ports/misc/ewipe/files/patch-aa ./files/patch-aa
--- /ports/misc/ewipe/files/patch-aa	Tue Oct 17 22:12:13 2000
+++ ./files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,20 +0,0 @@
---- ewipe.orig	Sun Apr 12 10:59:29 1998
-+++ ewipe	Sun Apr 12 10:59:57 1998
-@@ -1,6 +1,6 @@
- #!/bin/sh
- # the next line restarts using wish \
--exec wish "$0" "--" "$@"
-+exec %%WISH%% "$0" "--" "$@"
- 
- #                                                 #
- #     EWIPE : Extended WIPE (Editor for WIPE)     #
-@@ -20,7 +20,8 @@
- #     set PATH /usr/local/lib/ewipe               #
- #                                                 #
- 
--set PATH .
-+#set PATH .
-+set PATH %%PREFIX%%/share/ewipe
- 
- ###################################################
- 
--- patch-ewipe ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Tue Mar 20 15:35:41 UTC 2007 
Responsible-Changed-Why:  
i handel tk stuff. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110571 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Mar 21 12:33:08 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110571 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/110571: commit references a PR
Date: Wed, 21 Mar 2007 12:33:13 +0000 (UTC)

 miwi        2007-03-21 12:32:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     misc/ewipe           Makefile 
   Removed files:
     misc/ewipe/files     patch-aa 
   Log:
   - Use TCL/TK 8.4
   - Pass maintainership to submitter
   
   PR:             110571
   Submitted by:   Martin Tournoij <carpetsmoker@xs4all.nl>
   
   Revision  Changes    Path
   1.30      +12 -10    ports/misc/ewipe/Makefile
   1.6       +0 -20     ports/misc/ewipe/files/patch-aa (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
 
