mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Convert to USES=tk
- STAGE-clean - Do not require tk-wrapper
This commit is contained in:
parent
1a5c87a599
commit
d420ebc17b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339336
@ -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>
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user