mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
bc6d0887a0
- in general, if we think that the code is not architecture-specific, and instead just enables x86 assembler by default, those should use BROKEN rather than IGNORE. This will allow them to be attempted with TRYBROKEN. - spell i386 as x86. - spell asm as assembler. - pet portlint. These changes should have no effect on tier-1 builds. Approved by: portmgr (tier-2 blanket)
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= supertuxkart
|
|
PORTVERSION= 0.9.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/supertuxkart/SuperTuxKart/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Free 3D kart racing game
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
|
|
libogg.so:audio/libogg \
|
|
libcurl.so:ftp/curl \
|
|
libpng.so:graphics/png \
|
|
libfreetype.so:print/freetype2
|
|
|
|
BROKEN_aarch64= invokes x86 assembler
|
|
BROKEN_armv6= invokes x86 assembler
|
|
BROKEN_armv7= invokes x86 assembler
|
|
BROKEN_mips= invokes x86 assembler
|
|
BROKEN_mips64= invokes x86 assembler
|
|
BROKEN_sparc64= invokes x86 assembler
|
|
BROKEN_powerpc64= invokes x86 assembler
|
|
|
|
USES= alias cmake compiler:c++11-lib dos2unix gettext \
|
|
jpeg openal:al pkgconfig tar:xz
|
|
USE_GL= gl glu
|
|
USE_SDL= sdl
|
|
USE_XORG= x11 xext sm ice
|
|
DOS2UNIX_FILES= lib/irrlicht/source/Irrlicht/Makefile \
|
|
lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h
|
|
CMAKE_ARGS= -DUSE_WIIUSE=NO \
|
|
-DUSE_XRANDR=NO
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PORTDATA= *
|
|
|
|
CXXFLAGS+= -DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_ \
|
|
-D__FREE_BSD_
|
|
|
|
OPTIONS_DEFINE= FRIBIDI XRANDR
|
|
OPTIONS_DEFAULT=FRIBIDI XRANDR
|
|
|
|
FRIBIDI_DESC= Support for right-to-left languages
|
|
FRIBIDI_CMAKE_BOOL= USE_FRIBIDI
|
|
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
|
|
|
|
XRANDR_DESC= Use xrandr instead of vidmode
|
|
XRANDR_CMAKE_BOOL= USE_XRANDR
|
|
XRANDR_USE= XORG=xrandr
|
|
XRANDR_USE_OFF= XORG=xxf86vm
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6/include|${LOCALBASE}/include|' \
|
|
${WRKSRC}/lib/irrlicht/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e 's|Icon=.*|Icon=${PREFIX}/share/icons/hicolor/128x128/apps/supertuxkart.png|' \
|
|
${WRKSRC}/data/${PORTNAME}.desktop
|
|
|
|
.include <bsd.port.mk>
|