1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/games/py-fife/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

73 lines
1.8 KiB
Makefile

# Created by: GreenDog <fiziologus@gmail.com>
# $FreeBSD$
PORTNAME= fife
PORTVERSION= 0.4.1
PORTREVISION= 10
CATEGORIES= games
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= fiziologus@gmail.com
COMMENT= Flexible Isometric Free Engine
LICENSE= LGPL21
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
libtinyxml.so:textproc/tinyxml \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
BROKEN_powerpc64= fails to compile: fifePYTHON_wrap.cxx: relocation truncated to fit
USES= openal:al pkgconfig cmake:outsource
USE_GL= gl
USE_SDL= sdl2 ttf2 image2
USE_XORG= xcursor
USE_GITHUB= yes
GH_ACCOUNT= fifengine
GH_PROJECT= fifengine
OPTIONS_DEFINE= ZIP LOGGING
OPTIONS_MULTI= GUISS COMP
OPTIONS_SUB= yes
OPTIONS_MULTI_GUISS= FIFECHAN CEGUI
GUISS_DESC= GUI subsystem
FIFECHAN_DESC= Fifechan GUI subsystem
CEGUI_DESC= Crazy Eddi's GUI subsystem (must be build with OpenGL)
ZIP_DESC= ZIP archive support
LOGGING_DESC= Logging
OPTIONS_MULTI_COMP= PYTHON LIBRARY
COMP_DESC= Building components
PYTHON_DESC= Build python extension module (need for unknown-horizons)
LIBRARY_DESC= Build and install files for directly develop with C++
OPTIONS_DEFAULT= FIFECHAN ZIP LOGGING PYTHON
FIFECHAN_CMAKE_BOOL= fifechan
FIFECHAN_LIB_DEPENDS= libfifechan_sdl.so:devel/fifechan
CEGUI_CMAKE_BOOL= cegui
CEGUI_LIB_DEPENDS= libCEGUIBase-0.so:graphics/cegui
CEGUI_USE= gl=glew
ZIP_CMAKE_BOOL= zip
LOGGING_CMAKE_BOOL= logging
PYTHON_CMAKE_BOOL= build-python
PYTHON_USES= python:2.7
PYTHON_USE= python=flavors
PYTHON_BUILD_DEPENDS= ${LOCALBASE}/bin/swig3.0:devel/swig30
LIBRARY_CMAKE_BOOL= build-library
# For static library build
# LIBRARY_CMAKE_ON= -Dbuild-library=ON -DBUILD_SHARED_LIBS=OFF
# LIBRARY_CMAKE_OFF= -Dbuild-library=OFF
.include <bsd.port.mk>