mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
PORTNAME= arx-libertatis
|
|
PORTVERSION= 1.1.2
|
|
PORTREVISION= 18
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://downloads.sourceforge.net/arx/ \
|
|
http://arx-libertatis.org/files/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Cross-platform port of Arx Fatalis
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/ARX_PUBLIC_LICENSE.txt
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/foreach.hpp:devel/boost-libs
|
|
|
|
USES= cmake compiler:c++11-lang gl openal sdl tar:xz
|
|
USE_SDL= sdl
|
|
USE_GL= gl glew
|
|
CMAKE_ARGS= -DDATA_DIR=arx \
|
|
-DSTRICT_USE=ON \
|
|
-DBUILD_CRASHREPORTER=OFF
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= AUTHORS CHANGELOG README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
|
|
CFLAGS+= -mminimal-toc
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|