Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / games / tyrquake / Makefile
blobcaa35be6461afaf7a6c7d59dd5993b63c56bb01b
1 # $NetBSD: Makefile,v 1.3 2012/10/06 11:54:57 asau Exp $
3 DISTNAME= tyrquake-0.61
4 CATEGORIES= games x11
5 MASTER_SITES= http://disenchant.net/files/engine/
7 MAINTAINER= snj@NetBSD.org
8 HOMEPAGE= http://disenchant.net/engine.html
9 COMMENT= Conservative branch of Quake
11 LICENSE= gnu-gpl-v2
13 USE_TOOLS+= gmake
15 LDFLAGS+= ${LIBOSSAUDIO}
17 SUBST_CLASSES+= audio
18 SUBST_STAGE.audio= post-patch
19 SUBST_MESSAGE.audio= Fixing path to the audio device.
20 SUBST_FILES.audio= common/snd_linux.c
21 SUBST_SED.audio= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
23 INSTALLATION_DIRS= bin
25 do-install:
26 ${INSTALL_PROGRAM} ${WRKSRC}/tyr-* ${DESTDIR}${PREFIX}/bin
28 .include "../../graphics/MesaLib/buildlink3.mk"
29 .include "../../x11/libXext/buildlink3.mk"
30 .include "../../x11/libXxf86dga/buildlink3.mk"
31 .include "../../x11/libXxf86vm/buildlink3.mk"
32 .include "../../x11/xf86dgaproto/buildlink3.mk"
33 .include "../../mk/oss.buildlink3.mk"
35 .include "../../mk/bsd.pkg.mk"