svn commit: r340598 - in head/misc/tkcron: . files
Pietro Cerutti
gahr at FreeBSD.org
Tue Jan 21 10:58:53 UTC 2014
Author: gahr
Date: Tue Jan 21 10:58:52 2014
New Revision: 340598
URL: http://svnweb.freebsd.org/changeset/ports/340598
QAT: https://qat.redports.org/buildarchive/r340598/
Log:
- Convert to USES=tk
- STAGE-clean
- Simplify install procedure
Deleted:
head/misc/tkcron/files/Makefile
Modified:
head/misc/tkcron/Makefile (contents, props changed)
head/misc/tkcron/files/patch-aa (contents, props changed)
Modified: head/misc/tkcron/Makefile
==============================================================================
--- head/misc/tkcron/Makefile Tue Jan 21 10:53:40 2014 (r340597)
+++ head/misc/tkcron/Makefile Tue Jan 21 10:58:52 2014 (r340598)
@@ -15,16 +15,19 @@ EXTRACT_SUFX= .tcl.gz
MAINTAINER= cy at FreeBSD.org
COMMENT= A frontend to crontab
-USE_TK_RUN= 85
+USES= tk:85,run
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -cd
EXTRACT_AFTER_ARGS= > tkcron.tcl
+NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/tkcron
-NO_STAGE= yes
-post-extract:
- @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%WISH%%|${WISH}|' ${WRKSRC}/tkcron.tcl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkcron.tcl ${STAGEDIR}${PREFIX}/bin/tkcron
.include <bsd.port.mk>
Modified: head/misc/tkcron/files/patch-aa
==============================================================================
--- head/misc/tkcron/files/patch-aa Tue Jan 21 10:53:40 2014 (r340597)
+++ head/misc/tkcron/files/patch-aa Tue Jan 21 10:58:52 2014 (r340598)
@@ -4,7 +4,7 @@
-#!/usr/local/bin/wish
+#! /bin/sh
+# the next line restarts using wish \
-+exec /usr/local/bin/wish8.5 $0 ${1+"$@"}
++exec %%WISH%% $0 ${1+"$@"}
# A simple interface to ease the creation of crontab jobs
# Cedric BEUST (beust at sophia.inria.fr)
More information about the svn-ports-all
mailing list