# New ports collection makefile for:	belooted
# Date created:				1 August 2007
# Whom:					Yinghong Liu <relaxbsd@gmail.com>
#
# $FreeBSD: ports/games/belooted/Makefile,v 1.5 2009/07/31 13:51:07 dinoex Exp $
#

PORTNAME=	belooted
PORTVERSION=	0.1.4.1
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://boby.joe.free.fr/dev/belooted/files/

MAINTAINER=	ganael.laplanche@martymac.com
COMMENT=	A popular 32-card trick-taking game played in France

USE_GNOME=	gtk20 desktopfileutils
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
	@-update-desktop-database
.endif

.include <bsd.port.mk>
