# New ports collection makefile for:   Brutalchess
# Date created:         2005-02-07
# Whom:                 Gustavo Perez Querol <gustau.perez@gmail.com>
#
# $FreeBSD: ports/games/brutalchess/Makefile,v 1.7 2009/01/23 16:27:24 flz Exp $
#

PORTNAME=		brutalchess
PORTVERSION=		0.5.2
PORTREVISION=		4
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
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:15

USE_GL=			yes
USE_SDL=		sdl image

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

MANCOMPRESSED=		yes

.include <bsd.port.mk>
