summaryrefslogtreecommitdiff
path: root/games/supertux-devel/Makefile
blob: ba030185eb1309dfe882f6d575e3fa92d302abed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

PORTNAME=	supertux
PORTVERSION=	0.3.3
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
PKGNAMESUFFIX=	-devel

MAINTAINER=	makc@FreeBSD.org
COMMENT=	SuperTux is a side-scroller similar to Super Mario Brothers

BUILD_DEPENDS=	${LOCALBASE}/include/boost/smart_ptr.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=	physfs.1:${PORTSDIR}/devel/physfs \
		curl:${PORTSDIR}/ftp/curl \
		vorbis.4:${PORTSDIR}/audio/libvorbis

USE_BZIP2=	yes
USE_SDL=	image mixer
USE_OPENAL=	al
USE_GL=		glew
USES=		cmake
MAKE_JOBS_SAFE=	yes

post-patch:
	${REINPLACE_CMD} -e '/^#.*<curl\/types.h>/d' \
		${WRKSRC}/src/addon/addon_manager.cpp
	${REINPLACE_CMD} -e '/^Icon=/s,supertux.png,supertux2.png,' \
		${WRKSRC}/supertux2.desktop

.include <bsd.port.mk>