summaryrefslogtreecommitdiffstats
path: root/games/thevalley/Makefile
blob: e0c9666281d49df54fe1aeecfe2259a83334dc71 (plain)
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
# New ports collection makefile for:	thevalley
# Date created:				28 March 2004
# Whom:					Edwin Groothuis
#
# $FreeBSD$

PORTNAME=	thevalley
PORTVERSION=	0.98
CATEGORIES=	games
MASTER_SITES=	http://www.autismuk.freeserve.co.uk/
DISTNAME=	valley-${PORTVERSION}

MAINTAINER=	edwin@mavetju.org
COMMENT=	The Valley is a rewrite of an old RPG from the early 1980s

USE_LIBTOOL=	yes
USE_X=		yes
HAS_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}
USE_SDL=	sdl
USE_REINPLACE=	yes
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"

PLIST_FILES=	bin/valley

post-configure:
	${REINPLACE_CMD} \
		-e 's,^LIBTOOL =.*,LIBTOOL= $$(SHELL) ${LIBTOOL} --silent,' \
		-e 's,^transform =.*,transform = s\,^\,\,,' \
		${WRKSRC}/valley/Makefile

.include <bsd.port.mk>
OpenPOWER on IntegriCloud