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