1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Use TCL/TK 8.4

- Pass maintainership to submitter

PR:             110571
Submitted by:   Martin Tournoij <carpetsmoker@xs4all.nl>
This commit is contained in:
Martin Wilke 2007-03-21 12:32:50 +00:00
parent 0f865b7b6d
commit be32e6e4cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187882
2 changed files with 12 additions and 30 deletions

View File

@ -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 @@ EXAMPLES= a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
.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

View File

@ -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
###################################################