freebsd-ports/games/supertux2/Makefile
2019-08-19 15:35:27 +00:00

39 lines
1,000 B
Makefile

# $FreeBSD$
PORTNAME= supertux
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.0
DISTVERSIONSUFFIX= -Source
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= https://github.com/SuperTux/supertux/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= 2
DISTNAME= SuperTux-${DISTVERSIONFULL}
MAINTAINER= makc@FreeBSD.org
COMMENT= Side-scroller game similar to Super Mario Brothers
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libfreetype.so:print/freetype2 \
libogg.so:audio/libogg \
libphysfs.so:devel/physfs \
libpng.so:graphics/png \
libcurl.so:ftp/curl \
libvorbis.so:audio/libvorbis
USES= cmake:noninja compiler:c++14-lang dos2unix gl iconv \
openal:al pkgconfig sdl
USE_GL= gl glew glu
USE_SDL= sdl2 image2 ttf2
CMAKE_ARGS= -DINSTALL_SUBDIR_BIN=bin \
-DBUILD_SHARED_LIBS=off
LLD_UNSAFE= yes
DOS2UNIX_FILES= external/squirrel/CMakeLists.txt \
external/squirrel/squirrel/sqvm.cpp
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>