misc/fbsd-port/Makefile
changeset 1302 4290ba4a14ca
parent 1301 c6fe8a4bfd34
child 1303 f90bf2276639
equal deleted inserted replaced
1301:c6fe8a4bfd34 1302:4290ba4a14ca
     1 # Ports collection makefile for:  hedgewars
       
     2 # Date created:			  31 January 2008
       
     3 # Whom:				  Andrey Korotaev <unC0Rr@gmail.com>
       
     4 #
       
     5 # $FreeBSD$
       
     6 #
       
     7 
       
     8 PORTNAME=	hedgewars
       
     9 PORTVERSION=	0.9.2
       
    10 CATEGORIES=	games
       
    11 MASTER_SITES=	http://www.hedgewars.org/download/
       
    12 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
       
    13 
       
    14 MAINTAINER=	unC0Rr@gmail.com
       
    15 COMMENT=	Free Worms-like turn based strategy game
       
    16 
       
    17 USE_BZIP2=	yes
       
    18 USE_SDL=	sdl image ttf mixer net
       
    19 USE_QT_VER=	4
       
    20 QT_COMPONENTS=	gui corelib network xml svg moc_build rcc_build
       
    21 
       
    22 BUILD_DEPENDS+=	fpc:${PORTSDIR}/lang/fpc \
       
    23 		${CMAKE}:${PORTSDIR}/devel/cmake
       
    24 
       
    25 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
       
    26 
       
    27 CMAKE?=		${LOCALBASE}/bin/cmake
       
    28 CMAKE_ARGS=	-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
       
    29 		-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
       
    30 		-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
       
    31 
       
    32 do-configure:
       
    33 	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .
       
    34 
       
    35 .include <bsd.port.mk>