ports/110571: [PATCH] misc/ewipe - Update to TCL/TK8.4, Take maintainership

Martin Tournoij carpetsmoker at xs4all.nl
Tue Mar 20 11:50:14 UTC 2007


>Number:         110571
>Category:       ports
>Synopsis:       [PATCH] misc/ewipe - Update to TCL/TK8.4, Take maintainership
>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:   Tue Mar 20 11:50:13 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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 at FreeBSD.org
+MAINTAINER?=	carpetsmoker at 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:
>Unformatted:
 



More information about the freebsd-ports-bugs mailing list