# New ports collection makefile for:	spacehulk
# Date created:			Mon May  5 14:21:44 CEST 2003
# Whom:				Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD: ports/games/spacehulk/Makefile,v 1.17 2005/03/12 10:53:49 marcus Exp $

PORTNAME=	spacehulk
PORTVERSION=	1.5.b1
PORTREVISION=	3
CATEGORIES=	games kde
MASTER_SITES=	http://r.vinot.free.fr/spacehulk/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.b1/-beta1/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Science-fiction board game in the world of Warhammer 40000

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_KDELIBS_VER=3
USE_REINPLACE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>
