freebsd-ports/games/devilutionX/Makefile
Fernando Apesteguía 82c708b120 games/devilutionX: change MAINTAINER
ed.arrakis@gmail.com takes maintainership

PR:	251397
Submitted by:	ed.arrakis@gmail.com
Approved by:	benny.goemans@gmail.com (maintainer)
2020-11-30 17:31:26 +00:00

40 lines
1,016 B
Makefile

# $FreeBSD$
PORTNAME= devilutionX
PORTVERSION= 1.1.0
CATEGORIES= games
MAINTAINER= ed.arrakis@gmail.com
COMMENT= Diablo I engine for modern operating systems
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
MY_DEPENDS= ${LOCALBASE}/share/fonts/CharisSIL/CharisSIL-B.ttf:x11-fonts/charis
BUILD_DEPENDS= ${MY_DEPENDS}
LIB_DEPENDS= libsodium.so:security/libsodium
RUN_DEPENDS= ${MY_DEPENDS}
USES= cmake compiler:c++11-lang dos2unix sdl
DOS2UNIX_GLOB= *.c *.h CMakeLists.txt
USE_GITHUB= yes
GH_ACCOUNT= diasurgical
USE_SDL= mixer2 sdl2 ttf2
CMAKE_ARGS= -DCMAKE_INSTALL_SHAREDIR:PATH=${PREFIX}/share \
-DGIT_TAG=${PORTVERSION}
.if defined(WITH_DEBUG)
CMAKE_ON= NIGHTLY_BUILD
.else
CMAKE_ON= BINARY_RELEASE
.endif
CXXFLAGS+= -DTTF_FONT_PATH=\\\"${LOCALBASE}/share/fonts/CharisSIL/CharisSIL-B.ttf\\\"
PLIST_FILES= bin/devilutionx \
share/applications/devilutionx.desktop \
share/icons/hicolor/512x512/apps/devilutionx.png \
share/icons/hicolor/512x512/apps/devilutionx_solid.png
.include <bsd.port.mk>