pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-busted



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jul 11 15:22:54 UTC 2020

Modified Files:
        pkgsrc/devel/lua-busted: Makefile

Log Message:
lua-bustted: Use INSTALL_SCRIPT to install non-binaries


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/lua-busted/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lua-busted/Makefile
diff -u pkgsrc/devel/lua-busted/Makefile:1.2 pkgsrc/devel/lua-busted/Makefile:1.3
--- pkgsrc/devel/lua-busted/Makefile:1.2        Fri Jul 10 10:24:31 2020
+++ pkgsrc/devel/lua-busted/Makefile    Sat Jul 11 15:22:54 2020
@@ -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/o
 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 @@ do-install:
                ${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