misc/fbsd-port/Makefile
author unc0rr
Wed, 30 Jan 2008 18:41:01 +0000
changeset 778 4b83b38066c8
child 779 cb18225a150a
permissions -rwxr-xr-x
Try to prepare freebsd port for 0.9.2. Not finished yet.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
778
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
     1
# Ports collection makefile for:  hedgewars
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
     2
# Date created:			  30 January 2008
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
PORTREVISION=	1
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    11
CATEGORIES=	games
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    12
MASTER_SITES=	http://www.hedgewars.org/download/
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    13
DISTNAME=	${PORTNAME}-src-${PORTVERSION}
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    14
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    15
MAINTAINER=	unC0Rr@gmail.com
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    16
COMMENT=	Turn-based Worms-like strategy game
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    17
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    18
USE_BZIP2=	yes
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    19
USE_SDL=	sdl image ttf mixer net
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    20
USE_QT_VER=	4
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    21
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
    22
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    23
BUILD_DEPENDS+=	fpc:${PORTSDIR}/lang/fpc \
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    24
		${CMAKE}:${PORTSDIR}/devel/cmake
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    25
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    26
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    27
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    28
PLIST_FILES=	bin/hedgewars bin/hwengine
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    29
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    30
HAS_CONFIGURE=	yes
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
CMAKE?=		${LOCALBASE}/bin/cmake
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    33
CMAKE_ARGS=	-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    34
		-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    35
		-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    36
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    37
do-configure:
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    38
	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
    39
4b83b38066c8 Try to prepare freebsd port for 0.9.2. Not finished yet.
unc0rr
parents:
diff changeset
    40
.include <bsd.port.mk>