pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-glsl-shaders



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct  3 23:52:35 UTC 2018

Modified Files:
        pkgsrc/emulators/libretro-glsl-shaders: Makefile

Log Message:
libretro-glsl-shaders: Make do-install more portable.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-glsl-shaders/Makefile

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

Modified files:

Index: pkgsrc/emulators/libretro-glsl-shaders/Makefile
diff -u pkgsrc/emulators/libretro-glsl-shaders/Makefile:1.3 pkgsrc/emulators/libretro-glsl-shaders/Makefile:1.4
--- pkgsrc/emulators/libretro-glsl-shaders/Makefile:1.3 Thu Sep  6 09:33:38 2018
+++ pkgsrc/emulators/libretro-glsl-shaders/Makefile     Wed Oct  3 23:52:35 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/09/06 09:33:38 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/10/03 23:52:35 nia Exp $
 
 DISTNAME=      libretro-glsl-shaders-20180828
 CATEGORIES=    emulators
@@ -16,9 +16,9 @@ USE_LANGUAGES=        # none
 NO_BUILD=      yes
 
 do-install:
-       cd ${WRKSRC} && ${FIND} * -type d -exec ${INSTALL_DATA_DIR} \
-           ${DESTDIR}${PREFIX}/share/libretro/shaders/{} \;
-       cd ${WRKSRC} && ${FIND} * -type f -exec ${INSTALL_DATA} {} \
-           ${DESTDIR}${PREFIX}/share/libretro/shaders/{} \;
+       cd ${WRKSRC} && ${FIND} * -type d -print0 | ${XARGS} -0 -I % \
+           ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/libretro/shaders/%
+       cd ${WRKSRC} && ${FIND} * -type f -print0 | ${XARGS} -0 -I % \
+           ${INSTALL_DATA} % ${DESTDIR}${PREFIX}/share/libretro/shaders/%
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index