pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-glsl-shaders libretro-glsl-shaders:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b6b3ee4ebad
branches:  trunk
changeset: 385983:4b6b3ee4ebad
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 03 23:52:35 2018 +0000

description:
libretro-glsl-shaders: Make do-install more portable.

diffstat:

 emulators/libretro-glsl-shaders/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r c2c07d3467d7 -r 4b6b3ee4ebad emulators/libretro-glsl-shaders/Makefile
--- a/emulators/libretro-glsl-shaders/Makefile  Wed Oct 03 23:31:06 2018 +0000
+++ b/emulators/libretro-glsl-shaders/Makefile  Wed Oct 03 23:52:35 2018 +0000
@@ -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 @@
 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