# Created by: Gustavo Perez Querol <gustau.perez@gmail.com>
# $FreeBSD: games/brutalchess/Makefile 328996 2013-10-01 21:13:17Z marino $

PORTNAME=		brutalchess
PORTVERSION=		0.5.2
PORTREVISION=	10
CATEGORIES=		games
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}-alpha/${PORTNAME}-alpha-${PORTVERSION}
DISTNAME=		${PORTNAME}-alpha-${PORTVERSION}-src

LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2

MAINTAINER=		gustau.perez@gmail.com
COMMENT=		Nice looking OpenGL chess game

WRKSRC=			${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_XORG=		x11 xext xt xmu xi

USE_GMAKE=		yes
USE_AUTOTOOLS=		libtool
USE_DOS2UNIX=		yes
USE_GL=			yes
USE_SDL=		sdl image

NO_STAGE=	yes
pre-build:
	${CHMOD} 0755 ${WRKSRC}/install-sh

MANCOMPRESSED=		yes

.include <bsd.port.mk>
