pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-mgba libretro-mgba: Avoid conflicti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e80a3f7ecf2d
branches:  trunk
changeset: 401698:e80a3f7ecf2d
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Sep 22 15:19:15 2019 +0000

description:
libretro-mgba: Avoid conflicting with mGBA

diffstat:

 emulators/libretro-mgba/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r b26224d38a83 -r e80a3f7ecf2d emulators/libretro-mgba/Makefile
--- a/emulators/libretro-mgba/Makefile  Sun Sep 22 15:16:26 2019 +0000
+++ b/emulators/libretro-mgba/Makefile  Sun Sep 22 15:19:15 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2019/09/22 13:06:39 nia Exp $
+# $NetBSD: Makefile,v 1.7 2019/09/22 15:19:15 nia Exp $
 
 DISTNAME=      libretro-mgba-0.7.3
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
 GITHUB_PROJECT=        mgba
@@ -40,6 +41,11 @@
 
 INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
 
+# Avoid conflicting with emulators/mgba.
+post-install:
+       ${RM} -rf ${DESTDIR}${PREFIX}/include/mgba
+       ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/mGBA
+
 .include "../../devel/libelf/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index