pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/xonotic



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri May 14 09:48:59 UTC 2021

Modified Files:
        pkgsrc/games/xonotic: Makefile PLIST

Log Message:
xonotic: work around silly PLIST


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/xonotic/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/xonotic/PLIST

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

Modified files:

Index: pkgsrc/games/xonotic/Makefile
diff -u pkgsrc/games/xonotic/Makefile:1.7 pkgsrc/games/xonotic/Makefile:1.8
--- pkgsrc/games/xonotic/Makefile:1.7   Mon Oct  5 18:53:37 2020
+++ pkgsrc/games/xonotic/Makefile       Fri May 14 09:48:59 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/10/05 18:53:37 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/05/14 09:48:59 nia Exp $
 
 DISTNAME=      xonotic-0.8.2
 PKGREVISION=   3
@@ -24,6 +24,14 @@ INSTALL_ENV+=        LIBDIR=${PREFIX}/share/xon
 
 ICON_SIZES=    16 24 32 64 128 256 512
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
+PLIST_SUBST+=  FAKE_PLATFORM="linux64"
+.else
+PLIST_SUBST+=  FAKE_PLATFORM="linux32"
+.endif
+
 INSTALLATION_DIRS+=    share/applications
 .for s in ${ICON_SIZES}
 INSTALLATION_DIRS+=    share/icons/hicolor/${s}x${s}/apps
@@ -37,7 +45,6 @@ post-install:
            ${DESTDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/xonotic.png
 .endfor
 
-.include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Linux"
 .  include "../../audio/alsa-lib/buildlink3.mk"
 .endif

Index: pkgsrc/games/xonotic/PLIST
diff -u pkgsrc/games/xonotic/PLIST:1.1 pkgsrc/games/xonotic/PLIST:1.2
--- pkgsrc/games/xonotic/PLIST:1.1      Tue Oct  1 12:32:26 2019
+++ pkgsrc/games/xonotic/PLIST  Fri May 14 09:48:59 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/10/01 12:32:26 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/05/14 09:48:59 nia Exp $
 bin/xonotic-dedicated
 bin/xonotic-glx
 bin/xonotic-sdl
@@ -19,6 +19,6 @@ share/xonotic/data/xonotic-20170401-nexc
 share/xonotic/xonotic-linux-dedicated.sh
 share/xonotic/xonotic-linux-glx.sh
 share/xonotic/xonotic-linux-sdl.sh
-share/xonotic/xonotic-linux32-dedicated
-share/xonotic/xonotic-linux32-glx
-share/xonotic/xonotic-linux32-sdl
+share/xonotic/xonotic-${FAKE_PLATFORM}-dedicated
+share/xonotic/xonotic-${FAKE_PLATFORM}-glx
+share/xonotic/xonotic-${FAKE_PLATFORM}-sdl



Home | Main Index | Thread Index | Old Index