# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # barony # barony/files # barony/files/patch-CMakeLists.txt # barony/files/barony.sh # barony/distinfo # barony/Makefile # barony/pkg-descr # echo c - barony mkdir -p barony > /dev/null 2>&1 echo c - barony/files mkdir -p barony/files > /dev/null 2>&1 echo x - barony/files/patch-CMakeLists.txt sed 's/^X//' >barony/files/patch-CMakeLists.txt << '3b3c4feda34d86c8e9d17a039e3466b8' X--- CMakeLists.txt.orig 2018-04-17 03:51:23.000000000 +0100 X+++ CMakeLists.txt 2018-05-05 16:57:15.312350000 +0100 X@@ -290,7 +290,7 @@ SET_SOURCE_FILES_PROPERTIES(${MACOSX_BUN X set_source_files_properties(${GAME_SOURCES} PROPERTIES COMPILE_FLAGS "-x objective-c++") X #set_source_files_properties(${GAME_SOURCES} PROPERTIES COMPILE_FLAGS "-stdlib=libc++") X else() X-add_executable(barony ${GAME_SOURCES}) X+add_executable(barony-bin ${GAME_SOURCES}) X endif() X X if(WIN32) X@@ -307,9 +307,9 @@ if(WIN32) X else() X if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") X # 64 bit X- target_link_libraries(barony -L/usr/lib64 -lstdc++) X+ target_link_libraries(barony-bin -L/usr/lib64 -lstdc++) X endif() X- target_link_libraries(barony ${SDL2_LIBRARIES} ${SDL2_LIBRARY} ${SDL2IMAGE_LIBRARIES} ${SDL2_IMAGE_LIBRARIES} ${SDL2_NET_LIBRARIES} ${SDL2_TTF_LIBRARIES} ${SDL2TTF_LIBRARY}) X+ target_link_libraries(barony-bin ${SDL2_LIBRARIES} ${SDL2_LIBRARY} ${SDL2IMAGE_LIBRARIES} ${SDL2_IMAGE_LIBRARIES} ${SDL2_NET_LIBRARIES} ${SDL2_TTF_LIBRARIES} ${SDL2TTF_LIBRARY}) X if (STEAMWORKS_ENABLED) X target_link_libraries(barony ${STEAMWORKS_LIBRARY}) X #target_link_libraries(barony ${STEAMWORKS_CWRAPPER_LIBRARIES} -lstdc++) X@@ -322,17 +322,17 @@ else() X find_path(EXECINFO_INC NAMES execinfo.h) X find_library(EXECINFO_LIB NAMES execinfo) X include_directories(${EXECINFO_INC}) X- target_link_libraries(barony ${EXECINFO_LIB}) X+ target_link_libraries(barony-bin ${EXECINFO_LIB}) X endif() X endif() X-target_link_libraries(barony ${OPENGL_LIBRARIES}) X-target_link_libraries(barony ${THREADS_LIBRARIES}) X-target_link_libraries(barony -lm) X+target_link_libraries(barony-bin ${OPENGL_LIBRARIES}) X+target_link_libraries(barony-bin ${THREADS_LIBRARIES}) X+target_link_libraries(barony-bin -lm) X if( NOT WIN32 AND NOT APPLE) X #Remember, Windows and Mac aren't using find_package for FMOD and PNG. X- target_link_libraries(barony ${PNG_LIBRARY}) X+ target_link_libraries(barony-bin ${PNG_LIBRARY}) X if (FMOD_FOUND) X- target_link_libraries(barony ${FMOD_LIBRARY}) X+ target_link_libraries(barony-bin ${FMOD_LIBRARY}) X endif() X endif() X # We need to link to Winsock if we're on Windows X@@ -348,11 +348,11 @@ endif() X target_link_libraries(barony ${EXTRA_LIBS}) #Apple needs this for OpenGL to work. X X if (OPENAL) X- target_link_libraries(barony ${OPENAL_LIBRARY}) X+ target_link_libraries(barony-bin ${OPENAL_LIBRARY}) X if(TREMOR_ENABLED) X- target_link_libraries(barony ${TREMOR_LIBRARY}) X+ target_link_libraries(barony-bin ${TREMOR_LIBRARY}) X else() X- target_link_libraries(barony ${VORBISFILE_LIBRARY} ${OGG_LIBRARY}) X+ target_link_libraries(barony-bin ${VORBISFILE_LIBRARY} ${OGG_LIBRARY}) X endif() X endif() X X@@ -361,11 +361,11 @@ set(BASE_DATA_DIR "./" CACHE INTERNAL "B X if (NOT APPLE AND UNIX) X include(GNUInstallDirs) X if (DATA_DIR) X- set(BASE_DATA_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/barony") X+ set(BASE_DATA_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/games/barony") X endif() X message(STATUS "Base data directory ${BASE_DATA_DIR}") X X- install(TARGETS barony X+ install(TARGETS barony-bin X RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} X COMPONENT Runtime X ) X@@ -445,7 +445,7 @@ if (NOT APPLE AND UNIX) X RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime X ) X X- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lang DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/barony) X+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lang DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/games/barony) X X if (EXISTS books) X install(DIRECTORY 3b3c4feda34d86c8e9d17a039e3466b8 echo x - barony/files/barony.sh sed 's/^X//' >barony/files/barony.sh << '304e50ae908153e8c2d3bdca555979ca' X#!/bin/sh X Xmkdir -p ~/.barony Xcd ~/.barony || { echo "Can't cd into ~/.barony" >&2; exit 1; } Xexec %%PREFIX%%/bin/barony-bin $@ 304e50ae908153e8c2d3bdca555979ca echo x - barony/distinfo sed 's/^X//' >barony/distinfo << '50107b07f249ccf5d1082f61e419bf19' XTIMESTAMP = 1524914514 XSHA256 (TurningWheel-Barony-v3.1.4_GH0.tar.gz) = bcf7522636a2dc21fdda47114f8d9c0eec78ca2c41613e896310e6110fbf04c4 XSIZE (TurningWheel-Barony-v3.1.4_GH0.tar.gz) = 53299453 50107b07f249ccf5d1082f61e419bf19 echo x - barony/Makefile sed 's/^X//' >barony/Makefile << 'bf813b1a5014e9a822898ace446cf6cd' X# $FreeBSD$ X XPORTNAME= barony XDISTVERSIONPREFIX= v XDISTVERSION= 3.1.4 XCATEGORIES= games XMASTER_SITES= http://www.baronygame.com/ X XMAINTAINER= David Carlier XCOMMENT= 3D roguelike game X XLICENSE= GPLv3 X XLIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ X libpng.so:graphics/png X XUSES= cmake compiler:c++11-lib openal:al pkgconfig XUSE_GL= gl glu XUSE_SDL= sdl2 image2 mixer2 ttf2 X XUSE_GITHUB= yes XGH_ACCOUNT= TurningWheel XGH_PROJECT= Barony X XLDFLAGS+= -L${LOCALBASE}/lib X XCMAKE_ARGS= -DOPENAL_ENABLED=ON \ X -DEDITOR_EXE_NAME="barony-editor" \ X -DCMAKE_INSTALL_BINDIR="${LOCALBASE}/bin" \ X -DDATA_DIR=ON X Xpost-install: X ${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \ X ${FILESDIR}/barony.sh > ${STAGEDIR}${PREFIX}/bin/barony X ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/barony X X XPLIST_FILES= bin/barony \ X bin/barony-bin \ X bin/barony-editor \ X share/games/barony/lang/en.ttf \ X share/games/barony/lang/en.txt X X.include bf813b1a5014e9a822898ace446cf6cd echo x - barony/pkg-descr sed 's/^X//' >barony/pkg-descr << '4c2bfd2678fb62c1f16fb50f4ed2f7dd' XBarony is a 3D, first-person roguelike. The goal of the game is to descend to Xthe bottom of a dark dungeon known as the Devil's Bastion and destroy an undead Xlich named Baron Herx, who terrorized the peaceful town of Hamlet in life and is Xnow harboring a curse against the land from beyond the grave. To aid you in your Xquest are friendly humans who have been eeking out a rough life within the Xdungeon for generations, as well as any friends you can bring with you in real Xlife: Barony is the first of its kind as a first-person roguelike in that it Xfully supports cooperative multiplayer for up to four players. 4c2bfd2678fb62c1f16fb50f4ed2f7dd exit