freebsd-ports/devel/fifechan/Makefile
Piotr Kubaj 107e31ae45 devel/fifechan: update to 0.1.5
- Update to 0.1.5
- Fix license
- Set default options to correspond upstream settings

Needed for unknown-horizons update

PR:             242454
Submitted by:   amdmi3
Approved by:    fiziologus@gmail.com (maintainer timeout)
2020-01-14 15:26:21 +00:00

53 lines
1.2 KiB
Makefile

# Created by: Green Dog <fiziologus@gmail.com>
# $FreeBSD$
PORTNAME= fifechan
PORTVERSION= 0.1.5
CATEGORIES= devel games
MAINTAINER= fiziologus@gmail.com
COMMENT= Small, efficient C++ GUI library designed for games
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= cmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= fifengine
CMAKE_ON= BUILD_FIFECHAN_ALLEGRO_SHARED BUILD_FIFECHAN_IRRLICHT_SHARED
PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= ALLEGRO IRRLICHT OPENGL SDL SDL_CONTRIB
ALLEGRO_DESC= Allegro extension
IRRLICHT_DESC= Irrlicht extension
OPENGL_DESC= OpenGL extension (need for FIFE)
SDL_DESC= SDL extension (need for FIFE)
SDL_CONTRIB_DESC= SDL contrib extension (need SDL)
OPTIONS_DEFAULT= OPENGL SDL
OPTIONS_SUB= yes
ALLEGRO_CMAKE_BOOL= ENABLE_ALLEGRO
ALLEGRO_LIB_DEPENDS= liballeg.so:devel/allegro
IRRLICHT_CMAKE_BOOL= ENABLE_IRRLICHT
IRRLICHT_LIB_DEPENDS= libIrrlicht.so:x11-toolkits/irrlicht
OPENGL_CMAKE_BOOL= ENABLE_OPENGL
OPENGL_USES= gl
OPENGL_USE= gl=gl,glu
SDL_CMAKE_BOOL= ENABLE_SDL
SDL_USES= sdl
SDL_USE= sdl=sdl2,image2
SDL_CONTRIB_CMAKE_BOOL= ENABLE_SDL_CONTRIB
SDL_CONTRIB_USE= sdl=ttf2
SDL_CONTRIB_IMPLIES= SDL
.include <bsd.port.mk>