summaryrefslogtreecommitdiff
path: root/x11/tkcron/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/tkcron/files/Makefile')
-rw-r--r--x11/tkcron/files/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/tkcron/files/Makefile b/x11/tkcron/files/Makefile
new file mode 100644
index 00000000000..c9903f00c0f
--- /dev/null
+++ b/x11/tkcron/files/Makefile
@@ -0,0 +1,12 @@
+BINDIR= ${PREFIX}/bin
+WISHDIR?= ${BINDIR}
+
+all: tkcron
+
+tkcron:
+ sed -e "\:/usr/local/bin/wish: s;;${BINDIR}/wish4.1;g" tkcron.tcl > tkcron
+
+install: all
+ install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} tkcron ${BINDIR}
+
+.include <bsd.own.mk>