- Convert to USES=tk
- STAGE-clean - Simplify install procedure
This commit is contained in:
parent
dd94852c98
commit
78d1217082
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340598
@ -15,16 +15,19 @@ EXTRACT_SUFX= .tcl.gz
|
||||
MAINTAINER= cy@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>
|
||||
|
@ -1,16 +0,0 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
WISHDIR?= ${BINDIR}
|
||||
|
||||
all: tkcron
|
||||
|
||||
tkcron:
|
||||
cp tkcron.tcl tkcron
|
||||
|
||||
install: all
|
||||
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} tkcron ${BINDIR}
|
||||
|
||||
.include <bsd.own.mk>
|
@ -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@sophia.inria.fr)
|
||||
|
Loading…
Reference in New Issue
Block a user