aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/stopwatch
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-01-10 17:05:46 +0800
committergahr <gahr@FreeBSD.org>2014-01-10 17:05:46 +0800
commitcb0aa0be394fd94c4dce28488574eca4686f4223 (patch)
treebb94f87e742098e68be25d80f7240e5e128ff58c /x11-clocks/stopwatch
parent403243a22c81a06bb20a7a638b5299eceab99705 (diff)
downloadfreebsd-ports-gnome-cb0aa0be394fd94c4dce28488574eca4686f4223.tar.gz
freebsd-ports-gnome-cb0aa0be394fd94c4dce28488574eca4686f4223.tar.zst
freebsd-ports-gnome-cb0aa0be394fd94c4dce28488574eca4686f4223.zip
- Convert to USES=tk
- STAGE-clean - Do not require tk-wrapper
Diffstat (limited to 'x11-clocks/stopwatch')
-rw-r--r--x11-clocks/stopwatch/Makefile8
-rw-r--r--x11-clocks/stopwatch/files/patch-stopwatch8
2 files changed, 3 insertions, 13 deletions
diff --git a/x11-clocks/stopwatch/Makefile b/x11-clocks/stopwatch/Makefile
index a6bae4d7617a..da186321f64f 100644
--- a/x11-clocks/stopwatch/Makefile
+++ b/x11-clocks/stopwatch/Makefile
@@ -12,17 +12,15 @@ MAINTAINER= edwin@mavetju.org
COMMENT= Stopwatch enables hand timing much like a physical stopwatch
WRKSRC= ${WRKDIR}/${PORTNAME}-3.4
-USE_TK_RUN= yes
-USE_TK_WRAPPER= yes
+USES= tk:run
NO_BUILD= yes
PLIST_FILES= bin/stopwatch
-NO_STAGE= yes
post-patch:
- ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/stopwatch
+ ${REINPLACE_CMD} -e "s,/depot/path/wish,${WISH}," ${WRKSRC}/stopwatch
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/stopwatch ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/stopwatch ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/x11-clocks/stopwatch/files/patch-stopwatch b/x11-clocks/stopwatch/files/patch-stopwatch
deleted file mode 100644
index 5fbfabbac6e4..000000000000
--- a/x11-clocks/stopwatch/files/patch-stopwatch
+++ /dev/null
@@ -1,8 +0,0 @@
---- stopwatch.orig 2008-08-28 11:19:38.000000000 +1000
-+++ stopwatch 2008-08-28 11:19:54.000000000 +1000
-@@ -1,4 +1,4 @@
--#!/depot/path/wish -f
-+#!%%LOCALBASE%%/bin/wish -f
- ######################################################################
- # Name: Stopwatch
- # Author: Don Libes <libes@nist.gov>