freebsd-ports/games/freedroidrpg/Makefile
Daniel Engberg 664a2fa1e5 */*: Bump jpeg-turbo users treewide
New major version 3.0.0
2023-07-28 19:13:17 +02:00

53 lines
1.4 KiB
Makefile

PORTNAME= freedroidrpg
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION}/
DISTNAME= freedroidRPG-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Modification of the classical Freedroid engine into an RPG
WWW= https://www.freedroid.org/ \
https://codeberg.org/freedroid/freedroid-src
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
USES= cpe jpeg gmake localbase lua:53 pkgconfig python sdl xorg
GNU_CONFIGURE= yes
CPE_VENDOR= freedroid
USE_XORG= x11
USE_SDL= sdl image gfx
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND DOCS
OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND
OPTIONS_SUB= yes
BACKTRACE_DESC= Use backtrace() to generate nice bug reports
BACKTRACE_CONFIGURE_ENABLE=backtrace
BACKTRACE_VARS= STRIP= # empty
OPENGL_USES= gl
OPENGL_USE= GL=gl,glu,glew
OPENGL_CONFIGURE_ENABLE=opengl
SOUND_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
SOUND_CONFIGURE_ENABLE= sound
SOUND_USE= SDL=mixer
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
# does not build with disabled NLS, following 2 lines to hack this
NLS_CONFIGURE_ENABLE= # empty
NLS_USES_OFF= gettext
.include <bsd.port.mk>