aboutsummaryrefslogtreecommitdiffstats
path: root/games/vultures-eye/Makefile
blob: f08427c61b45e69a0fec48540b91a48ed19118c3 (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
33
34
35
# Created by: Leland Wang <llwang@infor.org>
# $FreeBSD$

PORTNAME=   vultures
PORTVERSION=    2.1.0
PORTREVISION=   10
CATEGORIES= games
MASTER_SITES=   http://www.darkarts.co.za/projects/vultures/attachment/wiki/downloads/${PORTVERSION}/
PKGNAMESUFFIX=  -eye
DISTFILES=  ${DISTNAME}-full${EXTRACT_SUFX}?format=raw

MAINTAINER= ports@FreeBSD.org
COMMENT=    A graphical interface for NetHack 3.4.3 forked from Falcon's Eye

LIB_DEPENDS=    png15:${PORTSDIR}/graphics/png

LATEST_LINK=    ${PORTNAME}${PKGNAMESUFFIX}


USE_SDL=    sdl mixer ttf
USES=       gmake tar:bzip2
WRKSRC=     ${WRKDIR}/${DISTNAME}/nethack
HAS_CONFIGURE=  yes
CONFIGURE_WRKSRC=   ${WRKSRC}/sys/unix
CONFIGURE_SCRIPT=   setup.sh
DATADIR=    ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
CFLAGS+=    -I${LOCALBASE}/include/libpng15
MAKE_ENV+=  DATADIR="${DATADIR}" MAKE="${GMAKE}" BASECFLAGS="${CFLAGS}"
MAKE_JOBS_UNSAFE=   yes

NO_STAGE=   yes
pre-configure:
    @${CHMOD} 755 ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>