From bb76377f69dde7f6120f62953b6e53ea2bd58eb0 Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 4 May 2013 10:00:52 +0000 Subject: [PATCH] avoid a two-step SUBST_CMD/INSTALL_SCRIPT process by using new(ish) SUBST_CMD -m to set the mode while copying. --- devel/vtcl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devel/vtcl/Makefile b/devel/vtcl/Makefile index 52802a07db4..e2901726433 100644 --- a/devel/vtcl/Makefile +++ b/devel/vtcl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2013/03/11 10:50:31 espie Exp $ +# $OpenBSD: Makefile,v 1.10 2013/05/04 10:00:52 sthen Exp $ COMMENT= Visual Tcl development environment @@ -30,8 +30,8 @@ do-install: ${WRKSRC}/demo ${PREFIX}/lib/vtcl cp -R ${WRKSRC}/sample ${PREFIX}/share/examples/vtcl cp -R ${WRKSRC}/doc ${PREFIX}/share/doc/vtcl - ${SUBST_CMD} -c ${FILESDIR}/vtcl ${WRKDIST}/vtcl - ${INSTALL_SCRIPT} ${WRKDIST}/vtcl ${PREFIX}/bin + ${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} -c \ + ${FILESDIR}/vtcl ${PREFIX}/bin/vtcl NO_TEST= Yes