pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-mgba



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Sep 22 15:19:15 UTC 2019

Modified Files:
        pkgsrc/emulators/libretro-mgba: Makefile

Log Message:
libretro-mgba: Avoid conflicting with mGBA


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-mgba/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-mgba/Makefile
diff -u pkgsrc/emulators/libretro-mgba/Makefile:1.6 pkgsrc/emulators/libretro-mgba/Makefile:1.7
--- pkgsrc/emulators/libretro-mgba/Makefile:1.6 Sun Sep 22 13:06:39 2019
+++ pkgsrc/emulators/libretro-mgba/Makefile     Sun Sep 22 15:19:15 2019
@@ -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 @@ CMAKE_ARGS+= -DLIBRETRO_LIBDIR=${PREFIX}
 
 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