From b93b137c4c230b40c450882a21d3d74a563637c7 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 26 Apr 2012 00:40:15 +0000 Subject: Arx Libertatis is a cross-platform, open source port of Arx Fatalis, a 2002 first-person role-playing game developed by Arkane Studios. WWW: http://arx-libertatis.org --- games/arx-libertatis/Makefile | 62 +++++++++++++++++++++++++++++++ games/arx-libertatis/distinfo | 2 + games/arx-libertatis/files/pkg-message.in | 14 +++++++ games/arx-libertatis/pkg-descr | 4 ++ games/arx-libertatis/pkg-plist | 7 ++++ 5 files changed, 89 insertions(+) create mode 100644 games/arx-libertatis/Makefile create mode 100644 games/arx-libertatis/distinfo create mode 100644 games/arx-libertatis/files/pkg-message.in create mode 100644 games/arx-libertatis/pkg-descr create mode 100644 games/arx-libertatis/pkg-plist (limited to 'games/arx-libertatis') diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile new file mode 100644 index 000000000000..0cf15e6f4652 --- /dev/null +++ b/games/arx-libertatis/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: arx-libertatis +# Date created: 24 Apr 2012 +# Whom: Dmitry Marakasov +# +# $FreeBSD$ +# + +PORTNAME= arx-libertatis +PORTVERSION= 1.0.1 +CATEGORIES= games +MASTER_SITES= http://cloud.github.com/downloads/arx/ArxLibertatis/ \ + http://mirror.amdmi3.ru/distfiles/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Cross-platform port of Arx Fatalis + +LICENSE= GPLv3 + +LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \ + GLEW.1:${PORTSDIR}/graphics/glew \ + freetype.9:${PORTSDIR}/print/freetype2 \ + boost_program_options.4:${PORTSDIR}/devel/boost-libs + +USE_XZ= yes +USE_OPENAL= yes +USE_SDL= sdl +USE_GL= gl glu +USE_CMAKE= yes +CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR="man" -DDATA_DIR=arx +MAKE_JOBS_SAFE= yes + +SUB_FILES= pkg-message + +MAN1= arxsavetool.1 arxunpak.1 +MAN6= arx.6 + +OPTIONS= CRASHREPORTER "Build crash reporter (requires Qt4)" off + +.include + +.if defined(WITH_CRASHREPORTER) +USE_QT_VER= 4 +QT_COMPONENTS= corelib gui network rcc_build moc_build uic_build qmake_build +CMAKE_ARGS+= -DBUILD_CRASHREPORTER=ON +PLIST_SUB+= CRASHREPORTER="" +.else +CMAKE_ARGS+= -DBUILD_CRASHREPORTER=OFF +PLIST_SUB+= CRASHREPORTER="@comment " +.endif + +PORTDOCS= AUTHORS CHANGELOG README.md + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ +.endfor +.endif + @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + +.include diff --git a/games/arx-libertatis/distinfo b/games/arx-libertatis/distinfo new file mode 100644 index 000000000000..d8301019387a --- /dev/null +++ b/games/arx-libertatis/distinfo @@ -0,0 +1,2 @@ +SHA256 (arx-libertatis-1.0.1.tar.xz) = a8cdcd3ca09af86166a4913c00e1e0a1b3d65be86d9685a3cd4a11ee498b5c26 +SIZE (arx-libertatis-1.0.1.tar.xz) = 910116 diff --git a/games/arx-libertatis/files/pkg-message.in b/games/arx-libertatis/files/pkg-message.in new file mode 100644 index 000000000000..d8b68d74c9fa --- /dev/null +++ b/games/arx-libertatis/files/pkg-message.in @@ -0,0 +1,14 @@ +========================================================================== + +Arx Libertatis requires data files from either full version or a demo +of Arx Fatalis. Copy the following files and directories to +either %%PREFIX%%/share/arx or ~/.local/share/arx: + + *.pak + graph/ + misc/ + +See http://arx.parpg.net/Getting_the_game_data for the information on +getting the game data. + +========================================================================== diff --git a/games/arx-libertatis/pkg-descr b/games/arx-libertatis/pkg-descr new file mode 100644 index 000000000000..a7ac59ac6437 --- /dev/null +++ b/games/arx-libertatis/pkg-descr @@ -0,0 +1,4 @@ +Arx Libertatis is a cross-platform, open source port of Arx Fatalis, +a 2002 first-person role-playing game developed by Arkane Studios. + +WWW: http://arx-libertatis.org diff --git a/games/arx-libertatis/pkg-plist b/games/arx-libertatis/pkg-plist new file mode 100644 index 000000000000..c737e95720c2 --- /dev/null +++ b/games/arx-libertatis/pkg-plist @@ -0,0 +1,7 @@ +bin/arx +bin/arxsavetool +bin/arxunpak +%%CRASHREPORTER%%libexec/arxcrashreporter +share/applications/arx-libertatis.desktop +share/pixmaps/arx-libertatis.png +@dirrmtry share/applications -- cgit v1.2.3