2011-09-13 06:28:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/09/13 10:28:38 edd Exp $
|
2001-08-08 19:36:28 -04:00
|
|
|
# Original from: Robert Ruehlmann
|
2000-04-16 17:03:12 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= rogue-like game with X11 support
|
|
|
|
COMMENT-no_x11= rogue-like game
|
2001-05-05 21:06:09 -04:00
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
V = 3.3.0
|
|
|
|
V_DLDIR = ${V:C/\.[0-9]$//}
|
|
|
|
DISTNAME= angband-v${V}
|
|
|
|
PKGNAME= angband-${V}
|
2001-08-08 19:36:28 -04:00
|
|
|
CATEGORIES= games
|
2000-04-16 17:03:12 -04:00
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
HOMEPAGE= http://rephial.org
|
2000-08-06 17:41:50 -04:00
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
MAINTAINER = Edd Barrett <edd@openbsd.org>
|
2000-04-16 17:03:12 -04:00
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
# Multi license, including GPLv2, angband license, CC, freeware...
|
|
|
|
# The angband license contains the line "other copyrights may also apply"
|
2007-09-15 14:01:00 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= unclear license
|
2000-08-06 17:41:50 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 14:01:00 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= unclear license
|
2000-08-06 17:41:50 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
WANTLIB= c m ncurses
|
2000-04-16 17:03:12 -04:00
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}/downloads/${V_DLDIR}/
|
|
|
|
|
2001-08-08 19:36:28 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-09-13 06:28:38 -04:00
|
|
|
CONFIGURE_ARGS+= --with-setgid=games \
|
|
|
|
--with-varpath=/var/games/angband/ \
|
|
|
|
--with-configpath=${PREFIX}/share/angband \
|
|
|
|
--bindir=${PREFIX}/bin \
|
|
|
|
--disable-sdl-mixer # defaults to ON
|
|
|
|
|
2001-08-11 13:18:50 -04:00
|
|
|
CONFIGURE_ENV= TRUEPREFIX="${TRUEPREFIX}"
|
2011-09-13 06:28:38 -04:00
|
|
|
USE_GMAKE = Yes
|
2000-04-16 17:03:12 -04:00
|
|
|
|
2011-09-13 06:28:38 -04:00
|
|
|
FLAVORS= no_x11 # eventually add SDL
|
2000-04-18 20:17:18 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-08-08 19:36:28 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-x
|
2011-09-13 06:28:38 -04:00
|
|
|
WANTLIB+= ICE SM X11
|
2000-04-18 20:17:18 -04:00
|
|
|
.endif
|
|
|
|
|
2000-04-16 17:03:12 -04:00
|
|
|
.include <bsd.port.mk>
|