lebel 5a41929849 initial import of zangband-2.6.1:
--
The game of Zangband is a single player dungeon simulation. A player
may choose from a number of races, classes and magic realms when
creating a character (see charattr.txt [3]), and then "run" that
character over a period of days, weeks, even months. Deep down
inside, the real objective of the game is to increase your experience,
and certain other characteristics, and also to collect useful items,
to give you a decent chance against the great Serpent of Chaos, who
lurks somewhere in the depths of the dungeon.

The player will begin his adventure on the town level where he may
acquire supplies, weapons, armor, and magical devices by bartering
with various shop owners. After preparing for his adventure, the
player can descend into the dungeon where fantastic adventures await
his coming!

Flavors:
	no_x11	- build without X11 support

WWW: http://www.zangband.org/
2001-07-28 16:33:39 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/07/28 16:33:39 lebel Exp $
COMMENT= "Zangband (Zelazny Angband) with color, X11 support"
VERSION= 2.6.1
DISTNAME= zangband-${VERSION}
CATEGORIES= games
MASTER_SITES= ftp://clockwork.dementia.org/angband/Variant/ZAngband/
NEED_VERSION= 1.402
MAINTAINER= David Lebel <lebel@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
HOMEPAGE= http://www.zangband.org/
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= TRUEPREFIX="${TRUEPREFIX}"
FLAVORS= no_x11
FLAVOR?=
.if !${FLAVOR:L:Mno_x11}
USE_X11= Yes
CONFIGURE_ARGS+= --with-x
.else
CONFIGURE_ARGS+= --without-x
.endif
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/zangband
(cd ${WRKDIST}/lib && tar -cf - * ) | \
(cd ${PREFIX}/share/zangband && tar -xf - )
@chown -R ${SHAREOWN}:games ${PREFIX}/share/zangband
@find ${PREFIX} \( -name Makefile\* -o -name delete.me \) \
-exec rm "{}" \;
${INSTALL} -s -o ${BINOWN} -g games -m 2555 ${WRKSRC}/src/zangband \
${PREFIX}/bin
.include <bsd.port.mk>