summaryrefslogtreecommitdiff
path: root/games/tyrquake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/tyrquake/Makefile')
-rw-r--r--games/tyrquake/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/games/tyrquake/Makefile b/games/tyrquake/Makefile
new file mode 100644
index 00000000000..8a75647038b
--- /dev/null
+++ b/games/tyrquake/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/09 23:20:01 snj Exp $
+
+DISTNAME= tyrquake-0.61
+CATEGORIES= games x11
+MASTER_SITES= http://disenchant.net/files/engine/
+
+MAINTAINER= snj@NetBSD.org
+HOMEPAGE= http://disenchant.net/engine.html
+COMMENT= Conservative branch of Quake
+
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake
+
+LDFLAGS+= ${LIBOSSAUDIO}
+
+SUBST_CLASSES+= audio
+SUBST_STAGE.audio= post-patch
+SUBST_MESSAGE.audio= Fixing path to the audio device.
+SUBST_FILES.audio= common/snd_linux.c
+SUBST_SED.audio= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tyr-* ${DESTDIR}${PREFIX}/bin
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXxf86dga/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"