# New ports collection makefile for:   xlogical
# Date created:        8 August 2007
# Whom:                Aaron Baugher
#
# $FreeBSD: ports/games/xlogical/Makefile,v 1.3 2007/11/06 10:26:13 miwi Exp $
#

PORTNAME=	xlogical
PORTVERSION=	1.0p8
CATEGORIES=	games
MASTER_SITES=	http://changeling.ixionstudios.com/xlogical/downloads/ \
		http://freebsd.portsreview.info/downloads/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/p/-/}

MAINTAINER=	aaron@baugher.biz
COMMENT=	Remake of the classic puzzle game Logical

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_SDL=	sdl image mixer
GNU_CONFIGURE=	yes

CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

post-extract:
	${CHMOD} 755 ${WRKSRC}/missing

post-install:
	${MKDIR} ${DOCSDIR}
	${RM} ${WRKSRC}/LICENSE
	${CP} ${WRKSRC}/[A-Z][A-Z]* ${DOCSDIR}

.include <bsd.port.mk>
