2013-03-11 07:02:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:07:40 espie Exp $
|
2010-10-06 13:05:42 -04:00
|
|
|
|
|
|
|
COMMENT = kart racing game with OSS mascots
|
|
|
|
|
2012-12-16 10:31:40 -05:00
|
|
|
V = 0.8
|
|
|
|
BASENAME = supertuxkart-${V}
|
2010-10-06 13:05:42 -04:00
|
|
|
DISTNAME = ${BASENAME}-src
|
|
|
|
PKGNAME = ${BASENAME}
|
|
|
|
|
|
|
|
CATEGORIES = games
|
|
|
|
|
|
|
|
HOMEPAGE = http://supertuxkart.sourceforge.net
|
|
|
|
|
2011-05-08 16:14:54 -04:00
|
|
|
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
|
2010-10-06 13:05:42 -04:00
|
|
|
|
2012-11-22 06:54:06 -05:00
|
|
|
# GPLv3+
|
2010-10-06 13:05:42 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2012-12-16 10:31:40 -05:00
|
|
|
WANTLIB += GL GLU ICE SM X11 Xext Xxf86vm c curl fribidi
|
2012-11-22 06:54:06 -05:00
|
|
|
WANTLIB += m ogg openal pthread stdc++ vorbis vorbisfile
|
2010-10-06 13:05:42 -04:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=supertuxkart/SuperTuxKart/}
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
2012-11-22 06:54:06 -05:00
|
|
|
MODULES = devel/cmake
|
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
2012-11-22 06:54:06 -05:00
|
|
|
LIB_DEPENDS = audio/openal>=0.0.8p7 \
|
2011-05-08 16:14:54 -04:00
|
|
|
audio/libvorbis \
|
2012-11-22 06:54:06 -05:00
|
|
|
devel/fribidi \
|
|
|
|
net/curl
|
2010-10-06 13:05:42 -04:00
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
2012-12-16 10:31:40 -05:00
|
|
|
WRKDIST = ${WRKDIR}/SuperTuxKart-${V}
|
|
|
|
|
2013-03-11 07:02:49 -04:00
|
|
|
NO_TEST = Yes
|
2012-12-16 10:31:40 -05:00
|
|
|
|
|
|
|
# now needs a modified, internal version of Irrlicht. glorious.
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/lib/irrlicht/source/Irrlicht && env -i \
|
|
|
|
CC="${CC}" \
|
|
|
|
CFLAGS="${CFLAGS}" \
|
|
|
|
CXX="${CXX}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
NDEBUG=1 \
|
|
|
|
CPPFLAGS="-DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_" \
|
|
|
|
${MAKE_PROGRAM}
|
2010-10-06 13:05:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|