aboutsummaryrefslogtreecommitdiffstats
path: root/games/angband/Makefile
blob: d9f2c0ceb78fdd5c06df1a62ecf82341727d20d3 (plain) (blame)
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
# New ports collection makefile for:   angband
# Date created:        21 Feb 1997
# Whom:                Matthew Hunt <mph@pobox.com>
#
# $FreeBSD$
#

PORTNAME=   angband
PORTVERSION=    3.0.5
CATEGORIES= games
MASTER_SITES=   ftp://ftp.sunet.se/pub/games/Angband/Source/ \
        ftp://ftp.planetmirror.com/pub/angband/Source/

MAINTAINER= mph@freebsd.org
COMMENT=    Rogue-like game with color, X11 support

GNU_CONFIGURE=  yes
.if !defined(WITHOUT_X11)
USE_XLIB=   yes
CONFIGURE_ARGS= --with-setgid=games --with-x
.else
CONFIGURE_ARGS= --with-setgid=games --with-x=no
.endif

pre-fetch:
.if !defined(WITHOUT_X11)
    @${ECHO_MSG} "You could define WITHOUT_X11, if you don't want X support"
.else
    @${ECHO_MSG} "Building without X support"
.endif

.include <bsd.port.mk>