misc/fbsd-port/Makefile
author unc0rr
Fri, 08 Aug 2008 19:34:55 +0000
changeset 1180 e56317fdf78d
parent 779 cb18225a150a
permissions -rwxr-xr-x
Start implementing support for 32bit sprites concerned in map generation process. Step 1: forts are loading correctly. Everything else is broken

# Ports collection makefile for:  hedgewars
# Date created:			  31 January 2008
# Whom:				  Andrey Korotaev <unC0Rr@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	hedgewars
PORTVERSION=	0.9.2
CATEGORIES=	games
MASTER_SITES=	http://www.hedgewars.org/download/
DISTNAME=	${PORTNAME}-src-${PORTVERSION}

MAINTAINER=	unC0Rr@gmail.com
COMMENT=	Free Worms-like turn based strategy game

USE_BZIP2=	yes
USE_SDL=	sdl image ttf mixer net
USE_QT_VER=	4
QT_COMPONENTS=	gui corelib network xml svg moc_build rcc_build

BUILD_DEPENDS+=	fpc:${PORTSDIR}/lang/fpc \
		${CMAKE}:${PORTSDIR}/devel/cmake

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

CMAKE?=		${LOCALBASE}/bin/cmake
CMAKE_ARGS=	-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
		-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
		-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"

do-configure:
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .

.include <bsd.port.mk>