pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gng Do not try to strip bash scripts



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41ee04aa0ea7
branches:  trunk
changeset: 390709:41ee04aa0ea7
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Dec 27 16:59:26 2022 +0000

description:
Do not try to strip bash scripts

gng & gradlew are scripts, use INSTALL_SCRIPT rather than INSTALL_PROGRAM

diffstat:

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

diffs (27 lines):

diff -r 2a6f892fac2f -r 41ee04aa0ea7 devel/gng/Makefile
--- a/devel/gng/Makefile        Tue Dec 27 16:57:21 2022 +0000
+++ b/devel/gng/Makefile        Tue Dec 27 16:59:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/12/27 16:14:03 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2022/12/27 16:59:26 abs Exp $
 
 DISTNAME=              gng-1.0.3
 CATEGORIES=            devel
@@ -24,7 +24,7 @@
 INSTALLATION_DIRS=     bin share/${PKGBASE}/gradle/wrapper
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/bin/gng \
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/gng \
                ${DESTDIR}${PREFIX}/bin/gng
        ${LN} -fs gng ${DESTDIR}${PREFIX}/bin/gw
        ${INSTALL_DATA} ${WRKSRC}/lib/common.sh \
@@ -33,7 +33,7 @@
                ${DESTDIR}${PREFIX}/share/${PKGBASE}/gradle
        ${INSTALL_DATA} ${WRKSRC}/gradle/gng.cfg \
                ${DESTDIR}${PREFIX}/share/${PKGBASE}/gradle
-       ${INSTALL_PROGRAM} ${WRKSRC}/gradle/gradlew \
+       ${INSTALL_SCRIPT} ${WRKSRC}/gradle/gradlew \
                ${DESTDIR}${PREFIX}/share/${PKGBASE}/gradle
        ${INSTALL_DATA} ${WRKSRC}/gradle/gradlew.bat \
                ${DESTDIR}${PREFIX}/share/${PKGBASE}/gradle



Home | Main Index | Thread Index | Old Index