1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/residualvm/Makefile
Piotr Kubaj 8b30e1dd2c games/residualvm: fix build on GCC architectures
Use newer GCC:
./engines/grim/gfx_opengl_shaders.h:269: error: declaration of 'struct Grim::GfxOpenGLS::Light'
./engines/grim/gfx_base.h:42: error: changes meaning of 'Light' from 'struct Grim::Light'
2020-05-17 10:05:14 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Alexander Yerenkow <yerenkow@gmail.com>
# $FreeBSD$
PORTNAME= residualvm
PORTVERSION= 0.3.1
CATEGORIES= games
MAINTAINER= yerenkow@gmail.com
COMMENT= ResidualVM allows you to indulge with classic games like Grim Fandango and Myst III
LICENSE= BSD3CLAUSE GPLv2 GPLv3 ISCL LGPL21 MIT ZLIB
LICENSE_COMB= multi
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING.BSD
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.FREEFONT
LICENSE_FILE_ISCL= ${WRKSRC}/COPYING.ISC
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL
LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT
LICENSE_FILE_ZLIB= ${WRKSRC}/COPYING.TINYGL
BROKEN_armv6= fails to link: ld: libgrim.a has EABI version 0, but target residualvm has EABI version 5
BROKEN_armv7= fails to link: ld: libgrim.a has EABI version 0, but target residualvm has EABI version 5
LIB_DEPENDS= libmad.so:audio/libmad \
libogg.so:audio/libogg \
libvorbisfile.so:audio/libvorbis \
libpng16.so:graphics/png \
libmpeg2.so:multimedia/libmpeg2 \
libtheoradec.so:multimedia/libtheora \
libfreetype.so:print/freetype2
USES= compiler:c++11-lang gmake gl iconv jpeg sdl
USE_GITHUB= yes
USE_GL= glu glew gl
USE_SDL= sdl2
HAS_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|{datarootdir}/man|{prefix}/man|' ${WRKSRC}/configure
.include <bsd.port.mk>