pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gng



Module Name:    pkgsrc
Committed By:   abs
Date:           Tue Dec 27 16:59:26 UTC 2022

Modified Files:
        pkgsrc/devel/gng: Makefile

Log Message:
Do not try to strip bash scripts

gng & gradlew are scripts, use INSTALL_SCRIPT rather than INSTALL_PROGRAM


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/gng/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/gng/Makefile
diff -u pkgsrc/devel/gng/Makefile:1.1 pkgsrc/devel/gng/Makefile:1.2
--- pkgsrc/devel/gng/Makefile:1.1       Tue Dec 27 16:14:03 2022
+++ pkgsrc/devel/gng/Makefile   Tue Dec 27 16:59:26 2022
@@ -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 @@ SUBST_VARS.paths=     PREFIX
 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 @@ do-install:
                ${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