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