freebsd-ports/games/angband/Makefile

46 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: angband
# Date created: 21 Feb 1997
# Whom: Matthew Hunt <mph@pobox.com>
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
#
PORTNAME= angband
2010-05-04 16:59:54 +02:00
DISTVERSION= 3.1.2v2
CATEGORIES= games
2009-10-01 17:26:53 +02:00
MASTER_SITES= http://rephial.org/downloads/3.1/
2010-05-04 16:59:54 +02:00
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
2006-04-15 16:16:30 +02:00
MAINTAINER= pav@FreeBSD.org
COMMENT= Rogue-like game with color, X11 support
2007-07-10 22:47:54 +02:00
USE_GMAKE= yes
2007-07-28 19:50:26 +02:00
ALL_TARGET= #
2002-10-28 23:27:32 +01:00
GNU_CONFIGURE= yes
2010-05-04 16:59:54 +02:00
CONFIGURE_ARGS= --with-setgid=games --disable-sdl --disable-sdl-mixer --with-varpath=/var/games/angband
.if !defined(WITHOUT_X11)
2007-07-10 22:47:54 +02:00
USE_XORG= sm x11
CONFIGURE_ARGS+= --with-x
.else
CONFIGURE_ARGS+= --with-x=no
.endif
2010-05-04 16:59:54 +02:00
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
2009-10-01 17:26:53 +02:00
CONFIGURE_ENV= ac_cv_path_mkdir=mkdir
SUB_FILES= pkg-message
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
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-missing-field-initializers ||' ${WRKSRC}/configure
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>