summaryrefslogtreecommitdiff
path: root/games/crossfire-client/Makefile.common
blob: 6ff64b8f42f1fbd11f9722c97e0183d7642e2bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile.common,v 1.3 2008/11/04 08:36:34 adam Exp $

DISTNAME=	crossfire-client-${CROSSFIRE_VERSION}
CATEGORIES=	games x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=crossfire/}

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://crossfire.real-time.com/

CROSSFIRE_VERSION=	1.11.0

DISTINFO_FILE=		${.CURDIR}/../../games/crossfire-client/distinfo
PATCHDIR=		${.CURDIR}/../../games/crossfire-client/patches

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=		gmake perl:run
GNU_CONFIGURE=		yes

REPLACE_PERL+=		common/items.pl utils/deftoheader.pl

SUBST_CLASSES+=		dsp
SUBST_STAGE.dsp=	post-patch
SUBST_MESSAGE.dsp=	Adjusting path to sound device.
SUBST_FILES.dsp=	sound-src/cfsndserv.c
SUBST_SED.dsp=		-e "s|/dev/dsp|${DEVOSSAUDIO}|"

.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"