summaryrefslogtreecommitdiff
path: root/games/quakeforge
diff options
context:
space:
mode:
authorsnj <snj>2009-05-22 16:50:00 +0000
committersnj <snj>2009-05-22 16:50:00 +0000
commit4f0e90a319da61837b9333cd7fd7a517ec78718f (patch)
tree08f6f2cc87b5926cb1689b23a05a3f8c36912b25 /games/quakeforge
parent1f0ce1294ed77a58fa10d31d9fbfb35c0c43d42f (diff)
downloadpkgsrc-4f0e90a319da61837b9333cd7fd7a517ec78718f.tar.gz
Conditionally add some Linux files to the PLIST. Fixes PR pkg/37690.
PKGREVISION not bumped as a binary package would not have been generated before, and all other operating systems are unchanged.
Diffstat (limited to 'games/quakeforge')
-rw-r--r--games/quakeforge/Makefile8
-rw-r--r--games/quakeforge/PLIST5
2 files changed, 10 insertions, 3 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index b8dd6b70b44..6007c5f4615 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:20 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/05/22 16:50:00 snj Exp $
DISTNAME= quakeforge-0.5.5
PKGREVISION= 7
@@ -36,11 +36,15 @@ CONFIGURE_ARGS+= --with-ipv6
CONFIGURE_ARGS+= --without-ipv6
.endif
-PLIST_VARS+= sunaudio
+PLIST_VARS+= sunaudio linux
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
PLIST.sunaudio= yes
.endif
+.if ${OPSYS} == "Linux"
+PLIST.linux= yes
+.endif
+
INSTALLATION_DIRS= include/QF/GL include/QF/plugin include/QF/ruamoko/gui
.include "../../devel/SDL/buildlink3.mk"
diff --git a/games/quakeforge/PLIST b/games/quakeforge/PLIST
index adc74bc49b7..891ad34105f 100644
--- a/games/quakeforge/PLIST
+++ b/games/quakeforge/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.7 2008/04/12 22:43:01 jlam Exp $
+@comment $NetBSD: PLIST,v 1.8 2009/05/22 16:50:00 snj Exp $
bin/bsp2img
bin/hw-master
+${PLIST.linux}bin/nq-fbdev
bin/nq-glx
bin/nq-sdl
bin/nq-sdl32
@@ -17,6 +18,7 @@ bin/qfprogs
bin/qfvis
bin/qfwavinfo
bin/qtv
+${PLIST.linux}/bin/qw-client-fbdev
bin/qw-client-glx
bin/qw-client-sdl
bin/qw-client-sdl32
@@ -173,6 +175,7 @@ lib/libQFruamoko.la
lib/libQFsound.la
lib/libQFutil.la
lib/quakeforge/cd_file.la
+${PLIST.linux}lib/quakeforge/cd_linux.la
lib/quakeforge/cd_sdl.la
lib/quakeforge/console_client.la
lib/quakeforge/console_server.la