pkgsrc/games/crossfire-server/Makefile
2008-06-12 02:14:13 +00:00

48 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:30 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
PKG_DESTDIR_SUPPORT= user-destdir
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"