avoid a two-step SUBST_CMD/INSTALL_SCRIPT process by using new(ish)

SUBST_CMD -m to set the mode while copying.
This commit is contained in:
sthen 2013-05-04 10:00:52 +00:00
parent f6557d420a
commit bb76377f69

View File

@ -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