Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-busted lua-bustted: Use INSTALL_SCRIPT to in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8133e6df4ea5
branches:  trunk
changeset: 435676:8133e6df4ea5
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jul 11 15:22:54 2020 +0000

description:
lua-bustted: Use INSTALL_SCRIPT to install non-binaries

diffstat:

 devel/lua-busted/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ec812ba3ba93 -r 8133e6df4ea5 devel/lua-busted/Makefile
--- a/devel/lua-busted/Makefile Sat Jul 11 15:21:23 2020 +0000
+++ b/devel/lua-busted/Makefile Sat Jul 11 15:22:54 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/10 10:24:31 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/11 15:22:54 nia Exp $
 
 DISTNAME=      busted-2.0.0
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
@@ -37,6 +37,8 @@
 INSTALLATION_DIRS+=    ${LUA_LDIR}/busted/languages
 
 do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/busted \
+               ${DESTDIR}${PREFIX}/bin/busted${_LUA_DOT_VERSION}
        ${INSTALL_DATA} ${WRKSRC}/busted/*.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted
        ${INSTALL_DATA} ${WRKSRC}/busted/modules/*.lua \
@@ -47,8 +49,6 @@
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/outputHandlers
        ${INSTALL_DATA} ${WRKSRC}/busted/languages/*.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/languages
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/busted \
-               ${DESTDIR}${PREFIX}/bin/busted${_LUA_DOT_VERSION}
 
 .include "../../lang/lua/application.mk"
 .include "../../lang/lua/module.mk"



Home | Main Index | Thread Index | Old Index