Index: games/barony/Makefile =================================================================== --- /dev/null +++ games/barony/Makefile @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= barony +DISTVERSIONPREFIX= v +DISTVERSION= 3.1.4 +CATEGORIES= games + +MAINTAINER= devnexen@gmail.com +COMMENT= 3D roguelike game + +LICENSE= GPLv3 + +LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ + libpng.so:graphics/png + +USES= cmake compiler:c++11-lib openal:al localbase:ldflags pkgconfig +USE_GL= gl glu +USE_SDL= sdl2 image2 mixer2 ttf2 + +USE_GITHUB= yes +GH_ACCOUNT= TurningWheel +GH_PROJECT= Barony + +CMAKE_ARGS= -DOPENAL_ENABLED=ON \ + -DEDITOR_EXE_NAME="barony-editor" \ + -DDATA_DIR=ON + +SUB_FILES= barony.sh + +PLIST_FILES= bin/barony \ + bin/barony-editor \ + libexec/barony \ + share/barony/lang/en.ttf \ + share/barony/lang/en.txt + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Index: games/barony/distinfo =================================================================== --- /dev/null +++ games/barony/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1524914514 +SHA256 (TurningWheel-Barony-v3.1.4_GH0.tar.gz) = bcf7522636a2dc21fdda47114f8d9c0eec78ca2c41613e896310e6110fbf04c4 +SIZE (TurningWheel-Barony-v3.1.4_GH0.tar.gz) = 53299453 Index: games/barony/files/barony.sh.in =================================================================== --- /dev/null +++ games/barony/files/barony.sh.in @@ -0,0 +1,5 @@ +#!/bin/sh + +mkdir -p ~/.barony +cd ~/.barony || { echo "Can't cd into ~/.barony" >&2; exit 1; } +exec %%PREFIX%%/libexec/barony "$@" Index: games/barony/pkg-descr =================================================================== --- /dev/null +++ games/barony/pkg-descr @@ -0,0 +1,8 @@ +Barony is a 3D, first-person roguelike. The goal of the game is to descend to +the bottom of a dark dungeon known as the Devil's Bastion and destroy an undead +lich named Baron Herx, who terrorized the peaceful town of Hamlet in life and is +now harboring a curse against the land from beyond the grave. To aid you in your +quest are friendly humans who have been eeking out a rough life within the +dungeon for generations, as well as any friends you can bring with you in real +life: Barony is the first of its kind as a first-person roguelike in that it +fully supports cooperative multiplayer for up to four players.