freebsd-ports/games/thevalley/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

33 lines
807 B
Makefile

# New ports collection makefile for: thevalley
# Date created: 28 March 2004
# Whom: Edwin Groothuis
#
# $FreeBSD$
PORTNAME= thevalley
PORTVERSION= 0.98
PORTREVISION= 3
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_AUTOTOOLS= libtool
HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_SDL= sdl
USE_PERL5_BUILD=yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/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>