From 9738c3de119219fd0b37181b3fdb7e9d4cebfe4d Mon Sep 17 00:00:00 2001 From: jbeich Date: Wed, 2 Nov 2016 06:25:39 +0000 Subject: games/emptyepsilon: add new port PR: 213939 Submitted by: yuri@rawbw.com EmptyEpsilon places you in the roles of a spaceship's bridge officers, like those seen in Star Trek. While you can play EmptyEpsilon alone or with friends, the best experience involves 6 players working together on each ship. Each officer fills a unique role: Captain, Helms, Weapons, Relay, Science, and Engineering. Except for the Captain, each officer operates part of the ship through a specialized screen. The Captain relies on their trusty crew to report information and follow orders. http://emptyepsilon.org/ --- games/Makefile | 1 + games/emptyepsilon/Makefile | 34 +++ games/emptyepsilon/distinfo | 5 + games/emptyepsilon/files/patch-CMakeLists.txt | 19 ++ .../files/patch-src_packResourceProvider.cpp | 11 + .../patch-src_screens_crew6_scienceScreen.cpp | 10 + .../patch-src_screens_extra_databaseScreen.cpp | 8 + games/emptyepsilon/pkg-descr | 10 + games/emptyepsilon/pkg-plist | 235 +++++++++++++++++++++ 9 files changed, 333 insertions(+) create mode 100644 games/emptyepsilon/Makefile create mode 100644 games/emptyepsilon/distinfo create mode 100644 games/emptyepsilon/files/patch-CMakeLists.txt create mode 100644 games/emptyepsilon/files/patch-src_packResourceProvider.cpp create mode 100644 games/emptyepsilon/files/patch-src_screens_crew6_scienceScreen.cpp create mode 100644 games/emptyepsilon/files/patch-src_screens_extra_databaseScreen.cpp create mode 100644 games/emptyepsilon/pkg-descr create mode 100644 games/emptyepsilon/pkg-plist diff --git a/games/Makefile b/games/Makefile index 151d6a0..94ac1ec 100644 --- a/games/Makefile +++ b/games/Makefile @@ -230,6 +230,7 @@ SUBDIR += el SUBDIR += el-data SUBDIR += ember + SUBDIR += emptyepsilon SUBDIR += endgame-singularity SUBDIR += endgame-singularity-music SUBDIR += endless-sky diff --git a/games/emptyepsilon/Makefile b/games/emptyepsilon/Makefile new file mode 100644 index 0000000..53ec9bf --- /dev/null +++ b/games/emptyepsilon/Makefile @@ -0,0 +1,34 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= emptyepsilon +PORTVERSION= 2016.09.02 +DISTVERSIONPREFIX= EE- +CATEGORIES= games + +MAINTAINER= yuri@rawbw.com +COMMENT= Spaceship bridge simulator game + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libsfml-system.so:devel/sfml + +USE_GITHUB= yes +GH_TUPLE= daid:EmptyEpsilon:${DISTVERSIONFULL} +GH_TUPLE+= daid:SeriousProton:${DISTVERSIONFULL}:sproton + +USES= cmake compiler:c++11-lib gmake +USE_GL= gl glu +CMAKE_ARGS= -DSERIOUS_PROTON_DIR="${WRKSRC_sproton}/" + +post-patch: + @${REINPLACE_CMD} -e 's|basepath + |"${DATADIR}/" + basepath + |' \ + ${WRKSRC_sproton}/src/resources.cpp + @${REINPLACE_CMD} -e 's|loadFromFile("resources/"|loadFromFile("${DATADIR}/resources/"|' \ + ${WRKSRC_sproton}/src/postProcessManager.cpp + +post-install: + @${MV} ${STAGEDIR}${PREFIX}/bin/EmptyEpsilon ${STAGEDIR}${PREFIX}/bin/emptyepsilon + +.include diff --git a/games/emptyepsilon/distinfo b/games/emptyepsilon/distinfo new file mode 100644 index 0000000..ebd3217 --- /dev/null +++ b/games/emptyepsilon/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1477637562 +SHA256 (daid-EmptyEpsilon-EE-2016.09.02_GH0.tar.gz) = b3780f78631485057a02524af53150e67d6835639c9eedd6da94fb3e3f50d241 +SIZE (daid-EmptyEpsilon-EE-2016.09.02_GH0.tar.gz) = 202329631 +SHA256 (daid-SeriousProton-EE-2016.09.02_GH0.tar.gz) = eaf2fe5e1b6800496d278c16990872c7bbba278574f1aaa4f8b6252902b6e4fc +SIZE (daid-SeriousProton-EE-2016.09.02_GH0.tar.gz) = 590616 diff --git a/games/emptyepsilon/files/patch-CMakeLists.txt b/games/emptyepsilon/files/patch-CMakeLists.txt new file mode 100644 index 0000000..bddf8f1 --- /dev/null +++ b/games/emptyepsilon/files/patch-CMakeLists.txt @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2016-10-31 05:06:07 UTC ++++ CMakeLists.txt +@@ -395,11 +395,11 @@ else() + install(TARGETS ${EXECUTABLE_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) + endif() + +-find_package(PythonInterp) +-if(PYTHONINTERP_FOUND) +- add_custom_target(scriptdoc ALL ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/compile_script_docs.py ${CMAKE_BINARY_DIR}/script_reference.html WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMENT "Building script reference documentation.") +- install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION .) +-endif() ++#find_package(PythonInterp) ++#if(PYTHONINTERP_FOUND) ++# add_custom_target(scriptdoc ALL ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/compile_script_docs.py ${CMAKE_BINARY_DIR}/script_reference.html WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMENT "Building script reference documentation.") ++# install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION .) ++#endif() + + set(CPACK_PACKAGE_EXECUTABLES ${EXECUTABLE_NAME}) + set(CPACK_GENERATOR "ZIP") diff --git a/games/emptyepsilon/files/patch-src_packResourceProvider.cpp b/games/emptyepsilon/files/patch-src_packResourceProvider.cpp new file mode 100644 index 0000000..05f793f --- /dev/null +++ b/games/emptyepsilon/files/patch-src_packResourceProvider.cpp @@ -0,0 +1,11 @@ +--- src/packResourceProvider.cpp.orig 2016-08-31 19:10:48 UTC ++++ src/packResourceProvider.cpp +@@ -5,7 +5,7 @@ + #ifdef __WIN32__ + #include + #else +-#include ++#include + #endif + + static inline int readInt(FILE* f) diff --git a/games/emptyepsilon/files/patch-src_screens_crew6_scienceScreen.cpp b/games/emptyepsilon/files/patch-src_screens_crew6_scienceScreen.cpp new file mode 100644 index 0000000..86dff6f --- /dev/null +++ b/games/emptyepsilon/files/patch-src_screens_crew6_scienceScreen.cpp @@ -0,0 +1,10 @@ +--- src/screens/crew6/scienceScreen.cpp.orig 2016-08-31 19:10:48 UTC ++++ src/screens/crew6/scienceScreen.cpp +@@ -1,6 +1,7 @@ + #include "playerInfo.h" + #include "gameGlobalInfo.h" + #include "scienceScreen.h" ++#include "scienceDatabase.h" + #include "spaceObjects/nebula.h" + + #include "screenComponents/radarView.h" diff --git a/games/emptyepsilon/files/patch-src_screens_extra_databaseScreen.cpp b/games/emptyepsilon/files/patch-src_screens_extra_databaseScreen.cpp new file mode 100644 index 0000000..e368d9f --- /dev/null +++ b/games/emptyepsilon/files/patch-src_screens_extra_databaseScreen.cpp @@ -0,0 +1,8 @@ +--- src/screens/extra/databaseScreen.cpp.orig 2016-08-31 19:10:48 UTC ++++ src/screens/extra/databaseScreen.cpp +@@ -1,4 +1,5 @@ + #include "databaseScreen.h" ++#include "scienceDatabase.h" + + #include "screenComponents/databaseView.h" + diff --git a/games/emptyepsilon/pkg-descr b/games/emptyepsilon/pkg-descr new file mode 100644 index 0000000..96b40d3 --- /dev/null +++ b/games/emptyepsilon/pkg-descr @@ -0,0 +1,10 @@ +EmptyEpsilon places you in the roles of a spaceship's bridge officers, like +those seen in Star Trek. While you can play EmptyEpsilon alone or with friends, +the best experience involves 6 players working together on each ship. + +Each officer fills a unique role: Captain, Helms, Weapons, Relay, Science, and +Engineering. Except for the Captain, each officer operates part of the ship +through a specialized screen. The Captain relies on their trusty crew to report +information and follow orders. + +WWW: http://emptyepsilon.org/ diff --git a/games/emptyepsilon/pkg-plist b/games/emptyepsilon/pkg-plist new file mode 100644 index 0000000..e4fe29c --- /dev/null +++ b/games/emptyepsilon/pkg-plist @@ -0,0 +1,235 @@ +bin/emptyepsilon +%%DATADIR%%/packs/Angryfly.pack +%%DATADIR%%/packs/Asteroids.pack +%%DATADIR%%/packs/License.txt +%%DATADIR%%/packs/SolCommand/Artifact1.obj +%%DATADIR%%/packs/SolCommand/Artifact2.obj +%%DATADIR%%/packs/SolCommand/Artifact3.obj +%%DATADIR%%/packs/SolCommand/Artifact4.obj +%%DATADIR%%/packs/SolCommand/Artifact5.obj +%%DATADIR%%/packs/SolCommand/Artifact6.obj +%%DATADIR%%/packs/SolCommand/Artifact7.obj +%%DATADIR%%/packs/SolCommand/Artifact8.obj +%%DATADIR%%/packs/SolCommand/Ender Battlecruiser.obj +%%DATADIR%%/packs/SolCommand/Ender Battlecruiser.png +%%DATADIR%%/packs/SolCommand/Ender Battlecruiser_illumination.png +%%DATADIR%%/packs/SolCommand/Shield bubble generator specular.jpg +%%DATADIR%%/packs/SolCommand/Shield bubble generator.jpg +%%DATADIR%%/packs/SolCommand/Shield bubble generator.obj +%%DATADIR%%/packs/msgamedev.pack +%%DATADIR%%/packs/pack_gen.py +%%DATADIR%%/resources/Nebula1.png +%%DATADIR%%/resources/Nebula2.png +%%DATADIR%%/resources/Nebula3.png +%%DATADIR%%/resources/ProbeBlip.png +%%DATADIR%%/resources/RadarArrow.png +%%DATADIR%%/resources/RadarBlip.png +%%DATADIR%%/resources/StarsBack.png +%%DATADIR%%/resources/StarsBottom.png +%%DATADIR%%/resources/StarsFront.png +%%DATADIR%%/resources/StarsLeft.png +%%DATADIR%%/resources/StarsRight.png +%%DATADIR%%/resources/StarsTop.png +%%DATADIR%%/resources/Tokka_WalkingMan.png +%%DATADIR%%/resources/alert_overlay.png +%%DATADIR%%/resources/ammo_box.obj +%%DATADIR%%/resources/ammo_box.png +%%DATADIR%%/resources/ammo_box_illumination.png +%%DATADIR%%/resources/ammo_box_specular.png +%%DATADIR%%/resources/asteroid.obj +%%DATADIR%%/resources/asteroid.png +%%DATADIR%%/resources/basicShader.frag +%%DATADIR%%/resources/basicShader.vert +%%DATADIR%%/resources/beam_blue.png +%%DATADIR%%/resources/beam_green.png +%%DATADIR%%/resources/beam_orange.png +%%DATADIR%%/resources/beam_purple.png +%%DATADIR%%/resources/beam_yellow.png +%%DATADIR%%/resources/billboardShader.frag +%%DATADIR%%/resources/billboardShader.vert +%%DATADIR%%/resources/blackHole.png +%%DATADIR%%/resources/button.wav +%%DATADIR%%/resources/dial_background.png +%%DATADIR%%/resources/dial_button.png +%%DATADIR%%/resources/electric_sphere_texture.png +%%DATADIR%%/resources/engine.wav +%%DATADIR%%/resources/explosion.wav +%%DATADIR%%/resources/fire_ring.png +%%DATADIR%%/resources/fire_sphere_texture.png +%%DATADIR%%/resources/glitch.frag +%%DATADIR%%/resources/gui/BackgroundCrosses.png +%%DATADIR%%/resources/gui/BackgroundGradient.png +%%DATADIR%%/resources/gui/BackgroundGradientOffset.png +%%DATADIR%%/resources/gui/BackgroundGradientSingle.png +%%DATADIR%%/resources/gui/ButtonBackground.active.png +%%DATADIR%%/resources/gui/ButtonBackground.disabled.png +%%DATADIR%%/resources/gui/ButtonBackground.hover.png +%%DATADIR%%/resources/gui/ButtonBackground.png +%%DATADIR%%/resources/gui/KeyValueBackground.png +%%DATADIR%%/resources/gui/LabelBackground.png +%%DATADIR%%/resources/gui/PanelBackground.png +%%DATADIR%%/resources/gui/ProgressbarBackground.png +%%DATADIR%%/resources/gui/ProgressbarFill.png +%%DATADIR%%/resources/gui/ResizeDialogCorner.png +%%DATADIR%%/resources/gui/ScrollbarBackground.png +%%DATADIR%%/resources/gui/ScrollbarSelection.png +%%DATADIR%%/resources/gui/SelectorArrow.png +%%DATADIR%%/resources/gui/SelectorBackground.png +%%DATADIR%%/resources/gui/SliderBackground.png +%%DATADIR%%/resources/gui/SliderKnob.png +%%DATADIR%%/resources/gui/SliderTick.png +%%DATADIR%%/resources/gui/TextEntryBackground.focused.png +%%DATADIR%%/resources/gui/TextEntryBackground.png +%%DATADIR%%/resources/gui/colors.ini +%%DATADIR%%/resources/gui/damage_power_overlay.png +%%DATADIR%%/resources/gui/fonts/BebasNeue Bold.otf +%%DATADIR%%/resources/gui/fonts/BebasNeue Book.otf +%%DATADIR%%/resources/gui/fonts/BebasNeue Light.otf +%%DATADIR%%/resources/gui/fonts/BebasNeue Regular.otf +%%DATADIR%%/resources/gui/fonts/BebasNeue Thin.otf +%%DATADIR%%/resources/gui/fonts/LICENSE +%%DATADIR%%/resources/gui/icons/coolant.png +%%DATADIR%%/resources/gui/icons/docking.png +%%DATADIR%%/resources/gui/icons/energy.png +%%DATADIR%%/resources/gui/icons/heading.png +%%DATADIR%%/resources/gui/icons/hull.png +%%DATADIR%%/resources/gui/icons/lock.png +%%DATADIR%%/resources/gui/icons/missile.png +%%DATADIR%%/resources/gui/icons/self-destruct.png +%%DATADIR%%/resources/gui/icons/shields-aft.png +%%DATADIR%%/resources/gui/icons/shields-all.png +%%DATADIR%%/resources/gui/icons/shields-fore.png +%%DATADIR%%/resources/gui/icons/shields-port.png +%%DATADIR%%/resources/gui/icons/shields-starboard.png +%%DATADIR%%/resources/gui/icons/shields.png +%%DATADIR%%/resources/gui/icons/speed.png +%%DATADIR%%/resources/gui/icons/station-engineering.png +%%DATADIR%%/resources/gui/icons/station-helm.png +%%DATADIR%%/resources/gui/icons/station-relay.png +%%DATADIR%%/resources/gui/icons/station-science.png +%%DATADIR%%/resources/gui/icons/station-weapons.png +%%DATADIR%%/resources/gui/icons/status_damaged.png +%%DATADIR%%/resources/gui/icons/status_jammed.png +%%DATADIR%%/resources/gui/icons/status_low_energy.png +%%DATADIR%%/resources/gui/icons/status_low_power.png +%%DATADIR%%/resources/gui/icons/status_no_power.png +%%DATADIR%%/resources/gui/icons/status_overheat.png +%%DATADIR%%/resources/gui/icons/system_beam.png +%%DATADIR%%/resources/gui/icons/system_health.png +%%DATADIR%%/resources/gui/icons/system_impulse.png +%%DATADIR%%/resources/gui/icons/system_jumpdrive.png +%%DATADIR%%/resources/gui/icons/system_maneuver.png +%%DATADIR%%/resources/gui/icons/system_missile.png +%%DATADIR%%/resources/gui/icons/system_reactor.png +%%DATADIR%%/resources/gui/icons/system_warpdrive.png +%%DATADIR%%/resources/gui/icons/template.psd +%%DATADIR%%/resources/gui/icons/weapon-emp.png +%%DATADIR%%/resources/gui/icons/weapon-homing.png +%%DATADIR%%/resources/gui/icons/weapon-hvli.png +%%DATADIR%%/resources/gui/icons/weapon-mine.png +%%DATADIR%%/resources/gui/icons/weapon-nuke.png +%%DATADIR%%/resources/half_sphere.obj +%%DATADIR%%/resources/laser.wav +%%DATADIR%%/resources/logo_full.png +%%DATADIR%%/resources/logo_white.png +%%DATADIR%%/resources/missile_launch.wav +%%DATADIR%%/resources/mouse.png +%%DATADIR%%/resources/music/ambient/GalacticTemple.ogg +%%DATADIR%%/resources/music/ambient/Nebulous_0.ogg +%%DATADIR%%/resources/music/ambient/OutThere.ogg +%%DATADIR%%/resources/music/ambient/Please, answer me my friend.ogg +%%DATADIR%%/resources/music/ambient/spacelifeNo14_0.ogg +%%DATADIR%%/resources/music/combat/Dream Raid Full Version (Mock Up).ogg +%%DATADIR%%/resources/music/combat/Imminent Threat.ogg +%%DATADIR%%/resources/music/combat/Recall of the Shadows_0.ogg +%%DATADIR%%/resources/music/combat/Thrust Sequence.ogg +%%DATADIR%%/resources/music/combat/neocrey - Last Cyber Dance.ogg +%%DATADIR%%/resources/music/source.txt +%%DATADIR%%/resources/noise.png +%%DATADIR%%/resources/objectShaderB.frag +%%DATADIR%%/resources/objectShaderB.vert +%%DATADIR%%/resources/objectShaderBI.frag +%%DATADIR%%/resources/objectShaderBI.vert +%%DATADIR%%/resources/objectShaderBS.frag +%%DATADIR%%/resources/objectShaderBS.vert +%%DATADIR%%/resources/objectShaderBSI.frag +%%DATADIR%%/resources/objectShaderBSI.vert +%%DATADIR%%/resources/particle.png +%%DATADIR%%/resources/planetShader.frag +%%DATADIR%%/resources/planetShader.vert +%%DATADIR%%/resources/planets/atmosphere.png +%%DATADIR%%/resources/planets/clouds-1.png +%%DATADIR%%/resources/planets/gas-1.png +%%DATADIR%%/resources/planets/moon-1.png +%%DATADIR%%/resources/planets/planet-1.png +%%DATADIR%%/resources/planets/planet-2.png +%%DATADIR%%/resources/planets/star-1.png +%%DATADIR%%/resources/radarCutoff.png +%%DATADIR%%/resources/radar_adv_gunship.png +%%DATADIR%%/resources/radar_adv_striker.png +%%DATADIR%%/resources/radar_battleship.png +%%DATADIR%%/resources/radar_blockade.png +%%DATADIR%%/resources/radar_cruiser.png +%%DATADIR%%/resources/radar_dread.png +%%DATADIR%%/resources/radar_fighter.png +%%DATADIR%%/resources/radar_ktlitan_breaker.png +%%DATADIR%%/resources/radar_ktlitan_destroyer.png +%%DATADIR%%/resources/radar_ktlitan_drone.png +%%DATADIR%%/resources/radar_ktlitan_feeder.png +%%DATADIR%%/resources/radar_ktlitan_fighter.png +%%DATADIR%%/resources/radar_ktlitan_queen.png +%%DATADIR%%/resources/radar_ktlitan_scout.png +%%DATADIR%%/resources/radar_ktlitan_worker.png +%%DATADIR%%/resources/radar_missile_cruiser.png +%%DATADIR%%/resources/radar_striker.png +%%DATADIR%%/resources/radar_transport.png +%%DATADIR%%/resources/radar_tug.png +%%DATADIR%%/resources/radartrace_hugestation.png +%%DATADIR%%/resources/radartrace_largestation.png +%%DATADIR%%/resources/radartrace_mediumstation.png +%%DATADIR%%/resources/radartrace_smallstation.png +%%DATADIR%%/resources/redicule.png +%%DATADIR%%/resources/redicule2.png +%%DATADIR%%/resources/room_background.png +%%DATADIR%%/resources/room_door.png +%%DATADIR%%/resources/sansation.ttf +%%DATADIR%%/resources/shield_circle.png +%%DATADIR%%/resources/shield_down.wav +%%DATADIR%%/resources/shield_hit_effect.png +%%DATADIR%%/resources/shield_up.wav +%%DATADIR%%/resources/sphere.obj +%%DATADIR%%/resources/vocal_self_destruction.wav +%%DATADIR%%/resources/warp.frag +%%DATADIR%%/resources/waypoint.png +%%DATADIR%%/resources/wormHole1.png +%%DATADIR%%/resources/wormHole2.png +%%DATADIR%%/resources/wormHole3.png +%%DATADIR%%/scripts/comms_ship.lua +%%DATADIR%%/scripts/comms_station.lua +%%DATADIR%%/scripts/comms_station_scenario_03_central_command.lua +%%DATADIR%%/scripts/comms_supply_drop.lua +%%DATADIR%%/scripts/factionInfo.lua +%%DATADIR%%/scripts/model_data.lua +%%DATADIR%%/scripts/scenario_00_basic.lua +%%DATADIR%%/scripts/scenario_01_waves.lua +%%DATADIR%%/scripts/scenario_02_beacon.lua +%%DATADIR%%/scripts/scenario_03_edgeofspace.lua +%%DATADIR%%/scripts/scenario_04_gftp.lua +%%DATADIR%%/scripts/scenario_05_surrounded.lua +%%DATADIR%%/scripts/scenario_06_battlefield.lua +%%DATADIR%%/scripts/scenario_07_quick_basic.lua +%%DATADIR%%/scripts/scenario_08_atlantis.lua +%%DATADIR%%/scripts/scenario_10_empty.lua +%%DATADIR%%/scripts/scenario_pvp.lua +%%DATADIR%%/scripts/science_db.lua +%%DATADIR%%/scripts/shipTemplates.lua +%%DATADIR%%/scripts/shipTemplates_Corvette.lua +%%DATADIR%%/scripts/shipTemplates_Dreadnaught.lua +%%DATADIR%%/scripts/shipTemplates_Frigates.lua +%%DATADIR%%/scripts/shipTemplates_OLD.lua +%%DATADIR%%/scripts/shipTemplates_StarFighters.lua +%%DATADIR%%/scripts/shipTemplates_Stations.lua +%%DATADIR%%/scripts/supply_drop.lua +%%DATADIR%%/scripts/tutorial.lua +%%DATADIR%%/scripts/util_random_transports.lua +%%DATADIR%%/scripts/utils.lua -- cgit v1.1