summaryrefslogtreecommitdiff
path: root/games/supertuxkart/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2014-01-01 02:46:49 +0000
committerryoon <ryoon>2014-01-01 02:46:49 +0000
commitd44d1e153aee855f6826a0ad2084ea1627a48425 (patch)
treea0a00ee58de6532818e71fec22bac3d28a94ad70 /games/supertuxkart/Makefile
parent64dfc70a7f3e737f4dd69c835079260cc3d6c688 (diff)
downloadpkgsrc-d44d1e153aee855f6826a0ad2084ea1627a48425.tar.gz
Update to 0.8.1
* Non-OpenGL drawing is not supported anymore * Disable wiimote support * I have tested on Fedora 22 with xf86-video-nv Changelog: SuperTuxkart 0.8.1 ~~~~~~~~~~~~~~~~~~ * New track STK Enterprise * Updated track The old mines * Updated Lighthouse track * Updated Zen Garden track * New Soccer mode * New Egg Hunt mode * New karts Xue and Sara * Updated Beastie kart * Added Tutorial * Added new Supertux difficulty * New bubblegum shield weapon * New Speeodmeter and nitro meter * Add ability to filter addons * Updated nitro models * Add ability to save and resume Grand Prix * Improve skid marks and nitro effects * Wiimote support
Diffstat (limited to 'games/supertuxkart/Makefile')
-rw-r--r--games/supertuxkart/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile
index 298ea2444e9..c7622e9fd17 100644
--- a/games/supertuxkart/Makefile
+++ b/games/supertuxkart/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2013/02/16 11:21:28 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2014/01/01 02:46:49 ryoon Exp $
#
-DISTNAME= supertuxkart-0.8-src
+DISTNAME= supertuxkart-0.8.1-src
PKGNAME= ${DISTNAME:S/-src//}
-PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=supertuxkart/}
EXTRACT_SUFX= .tar.bz2
@@ -13,13 +12,12 @@ HOMEPAGE= http://supertuxkart.sourceforge.net/
COMMENT= Free 3D kart racing game
#LICENSE= gnu-gpl-v3 AND Creative-Commons-Attribution AND Creative-Commons-BY-SA AND Creative-Commons-Sampling+ AND FreeArt License AND SoundSnap license AND Public Domain AND Image*After terms
-WRKSRC= ${WRKDIR}/SuperTuxKart-0.8
+WRKSRC= ${WRKDIR}/SuperTuxKart-0.8.1
USE_CMAKE= yes
#USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
-CXXFLAGS+= -DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_JPEG_LIB_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_LIB_PNG_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_ZLIB_=1
@@ -34,8 +32,19 @@ SUBST_STAGE.dos_eol= post-extract
SUBST_FILES.dos_eol= lib/irrlicht/source/Irrlicht/Makefile
SUBST_FILES.dos_eol+= lib/irrlicht/source/Irrlicht/os.cpp
SUBST_FILES.dos_eol+= lib/irrlicht/source/Irrlicht/COSOperator.cpp
+SUBST_FILES.dos_eol+= lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp
SUBST_FILTER_CMD.dos_eol= ${TR} -d '\r'
+CMAKE_ARGS+= -DUSE_WIIUSE=OFF
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Linux"
+SUBST_CLASSES+= js
+SUBST_STAGE.js= pre-configure
+SUBST_MESSAGE.js= Disable Linux joystick support.
+SUBST_FILES.js+= lib/irrlicht/include/IrrCompileConfig.h
+SUBST_SED.js+= -e '/define.*_IRR_COMPILE_WITH_JOYSTICK_EVENTS_/d'
+.endif
+
# for irrlicht debugging
#pre-build:
# cd ${WRKSRC}/lib/irrlicht/source/Irrlicht && \