summaryrefslogtreecommitdiff
path: root/games/crossfire-server/Makefile
blob: 5c86f7326ea0cdd09fb076adbb35659e9ca0fc47 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# $NetBSD: Makefile,v 1.5 2007/07/30 12:22:51 joerg Exp $

DISTNAME=	crossfire-1.9.0
PKGNAME=	crossfire-server-1.9.0
PKGREVISION=	4
CATEGORIES=	games x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=crossfire/}

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://crossfire.real-time.com/
COMMENT=	X11 multi/single player game similar to gauntlet and nethack

USE_LIBTOOL=		yes
USE_TOOLS+=		gmake perl:run bash:run
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}/games
CONFIGURE_ENV+=		ac_cv_path_GZIP=${GZIP_CMD:Q}

REPLACE_BASH+=	utils/crossloop.web.in

REPLACE_PERL+=	doc/include_html.pl doc/playbook/make_index.pl
REPLACE_PERL+=	doc/scripts/items-extract.pl doc/scripts/makeps.pl
REPLACE_PERL+=	doc/scripts/monster-extract.pl lib/adm/archsearch.pl
REPLACE_PERL+=	lib/adm/collect_images.pl lib/adm/map_expand.pl
REPLACE_PERL+=	lib/adm/mapslitter.pl lib/checkarch.pl
REPLACE_PERL+=	lib/collect.pl lib/util.pl utils/metaserver.pl
REPLACE_PERL+=	utils/player_dl.pl.in utils/metaserver.pl.in
REPLACE_PERL+=	utils/mktable.script lib/adm/map_info

EGDIR=		${PREFIX}/share/examples/crossfire
CONF_FILES+=	${EGDIR:Q}/ban_file ${PKG_SYSCONFDIR:Q}/crossfire/ban_file
CONF_FILES+=	${EGDIR:Q}/dm_file ${PKG_SYSCONFDIR:Q}/crossfire/dm_file
CONF_FILES+=	${EGDIR:Q}/exp_table ${PKG_SYSCONFDIR:Q}/crossfire/exp_table
CONF_FILES+=	${EGDIR:Q}/forbid ${PKG_SYSCONFDIR:Q}/crossfire/forbid
CONF_FILES+=	${EGDIR:Q}/motd ${PKG_SYSCONFDIR:Q}/crossfire/motd
CONF_FILES+=	${EGDIR:Q}/news ${PKG_SYSCONFDIR:Q}/crossfire/news
CONF_FILES+=	${EGDIR:Q}/rules ${PKG_SYSCONFDIR:Q}/crossfire/rules
CONF_FILES+=	${EGDIR:Q}/settings ${PKG_SYSCONFDIR:Q}/crossfire/settings

.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"