author | unc0rr |
Sun, 06 Jul 2008 20:02:42 +0000 | |
changeset 1056 | bb33a634a4b0 |
parent 779 | cb18225a150a |
permissions | -rwxr-xr-x |
778
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
1 |
# Ports collection makefile for: hedgewars |
779 | 2 |
# Date created: 31 January 2008 |
778
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
3 |
# Whom: Andrey Korotaev <unC0Rr@gmail.com> |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
4 |
# |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
5 |
# $FreeBSD$ |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
6 |
# |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
7 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
8 |
PORTNAME= hedgewars |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
9 |
PORTVERSION= 0.9.2 |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
10 |
CATEGORIES= games |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
11 |
MASTER_SITES= http://www.hedgewars.org/download/ |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
12 |
DISTNAME= ${PORTNAME}-src-${PORTVERSION} |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
13 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
14 |
MAINTAINER= unC0Rr@gmail.com |
779 | 15 |
COMMENT= Free Worms-like turn based strategy game |
778
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
16 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
17 |
USE_BZIP2= yes |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
18 |
USE_SDL= sdl image ttf mixer net |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
19 |
USE_QT_VER= 4 |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
20 |
QT_COMPONENTS= gui corelib network xml svg moc_build rcc_build |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
21 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
22 |
BUILD_DEPENDS+= fpc:${PORTSDIR}/lang/fpc \ |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
23 |
${CMAKE}:${PORTSDIR}/devel/cmake |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
24 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
25 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
26 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
27 |
CMAKE?= ${LOCALBASE}/bin/cmake |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
28 |
CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
29 |
-DCMAKE_CXX_COMPILER:STRING="${CXX}" \ |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
30 |
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
31 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
32 |
do-configure: |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
33 |
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} . |
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
34 |
|
4b83b38066c8
Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff
changeset
|
35 |
.include <bsd.port.mk> |