# Created by: Kai Wang <kaiwang27@gmail.com>
# $FreeBSD: tags/RELEASE_10_1_0/games/frobtads/Makefile 361727 2014-07-13 23:23:25Z bapt $

PORTNAME=	frobtads
PORTVERSION=	1.2.2
PORTREVISION=	1
CATEGORIES=	games lang
MASTER_SITES=	http://www.tads.org/${PORTNAME}/ \
		http://www.ifarchive.org/if-archive/programming/tads3/source/

MAINTAINER=	kaiwang27@gmail.com
COMMENT=	TADS interpreter and the compilers for both TADS 2 and 3

LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
		libexecinfo.so:${PORTSDIR}/devel/libexecinfo

CONFLICTS=	tads-2.*

USES=		gmake
USE_AUTOTOOLS=	automake autoconf
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lcompat

pre-configure:
	(cd ${WRKSRC}; ${SH} bootstrap)

.include <bsd.port.mk>
