openbsd-ports/games/angband/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2001/08/11 17:18:50 lebel Exp $
# Original from: Robert Ruehlmann
2000-04-16 17:03:12 -04:00
COMMENT= "rogue-like game with X11 support"
COMMENT-no_x11= "rogue-like game"
DISTNAME= angband-2.9.3
CATEGORIES= games
NEED_VERSION= 1.433
2000-04-16 17:03:12 -04:00
HOMEPAGE= http://thangorodrim.angband.org/
2000-08-06 17:41:50 -04:00
MAINTAINER= Carsten Ilchmann <ci2@gmx.net>
2000-04-16 17:03:12 -04:00
PERMIT_PACKAGE_CDROM= "unclear license"
2000-08-06 17:41:50 -04:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "unclear license"
2000-08-06 17:41:50 -04:00
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://clockwork.dementia.org/angband/Source/ \
ftp://ftp.sunet.se/pub/games/Angband/Source/
2000-04-16 17:03:12 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-setgid=games
CONFIGURE_ENV= TRUEPREFIX="${TRUEPREFIX}"
2000-04-16 17:03:12 -04:00
FLAVORS= no_x11
2000-04-18 20:17:18 -04:00
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
CONFIGURE_ARGS+= --with-x
2000-04-18 20:17:18 -04:00
.endif
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/angband
(cd ${WRKDIST}/lib && tar -cf - * ) | \
(cd ${PREFIX}/share/angband && tar -xf - )
@chown -R ${SHAREOWN}:games ${PREFIX}/share/angband
@find ${PREFIX} \( -name Makefile\* -o -name delete.me \) \
-exec rm "{}" \;
${INSTALL} -s -o ${BINOWN} -g games -m 2555 ${WRKSRC}/src/angband \
${PREFIX}/bin
2000-04-16 17:03:12 -04:00
.include <bsd.port.mk>