# New ports collection makefile for:   instead
# Date created:            19 Dec 2010
# Whom:                neuroworker@gmail.com
#
# $FreeBSD: ports/games/instead/Makefile,v 1.5 2012/02/22 21:43:33 amdmi3 Exp $

PORTNAME=	instead
PORTVERSION=	1.6.2
CATEGORIES=	games
MASTER_SITES=	GOOGLE_CODE \
		http://mirror.amdmi3.ru/distfiles/
DISTNAME=	instead_${PORTVERSION}

MAINTAINER=	neuroworker@gmail.com
COMMENT=	Simple Text Adventure, The Interpreter

HAS_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	pkgconfig gtk20
USE_LUA=	5.1
USE_SDL=	sdl image ttf mixer
USE_ICONV=	yes

CONFIGURE_SCRIPT=	configure.sh
CONFIGURE_ENV=	PREFIX="${PREFIX}"

WRKSRC=		${WRKDIR}/instead-${PORTVERSION}
MAN6=		instead.6

PORTDOCS=	*

.if defined(NOPORTDOCS)
post-patch:
	@${REINPLACE_CMD} -e '/INSTALL.*DOCPATH/ d' ${WRKSRC}/doc/Makefile
.endif

.include <bsd.port.mk>
