xonotic: work around silly PLIST
This commit is contained in:
parent
1ec2284415
commit
d218bc0678
2 changed files with 13 additions and 6 deletions
|
@ -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/xonotic
|
|||
|
||||
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
|
||||
|
|
|
@ -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-nexcompat.pk3
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue