pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

end_of_eden: finish package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri May 17 14:54:24 2024 +0200
Changeset:	a1f6e6d4bc3921ab37237125bde6ac45fe167ab1

Modified Files:
	end_of_eden/Makefile
	end_of_eden/PLIST
Added Files:
	end_of_eden/COMMIT_MSG

Log Message:
end_of_eden: finish package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a1f6e6d4bc3921ab37237125bde6ac45fe167ab1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 end_of_eden/COMMIT_MSG |   1 +
 end_of_eden/Makefile   |  15 +++++++
 end_of_eden/PLIST      | 107 +++++++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 116 insertions(+), 7 deletions(-)

diffs:
diff --git a/end_of_eden/COMMIT_MSG b/end_of_eden/COMMIT_MSG
new file mode 100644
index 0000000000..b4b90ecd6e
--- /dev/null
+++ b/end_of_eden/COMMIT_MSG
@@ -0,0 +1 @@
+Works, but the game is more a proof-of-concept right now.
diff --git a/end_of_eden/Makefile b/end_of_eden/Makefile
index 8159b06fa7..304c552f1e 100644
--- a/end_of_eden/Makefile
+++ b/end_of_eden/Makefile
@@ -21,6 +21,21 @@ GO_BUILD_PATTERN=	-tags no_audio ./...
 
 BUILDLINK_TRANSFORM+=	rm:-ldl
 
+INSTALLATION_DIRS+=	libexec/end_of_eden share/end_of_eden
+
+post-build:
+	${ECHO} '#/bin/sh' > ${WRKSRC}/end_of_eden.sh
+	${ECHO} 'cd ${PREFIX}/share/end_of_eden && ${PREFIX}/libexec/end_of_eden/game "$$@"' >> ${WRKSRC}/end_of_eden.sh
+	${CHMOD} 755 ${WRKSRC}/end_of_eden.sh
+
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && \
+		${MV} game ../libexec/end_of_eden && \
+		${MV} game_win ../libexec/end_of_eden && \
+		${RM} *
+	${INSTALL_SCRIPT} ${WRKSRC}/end_of_eden.sh ${DESTDIR}${PREFIX}/bin
+	cd ${WRKSRC} && ${PAX} -pp -rw assets ${DESTDIR}${PREFIX}/share/end_of_eden/
+
 .include "go-modules.mk"
 .include "../../lang/go/go-module.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
diff --git a/end_of_eden/PLIST b/end_of_eden/PLIST
index e002d3e8cf..832ab2455d 100644
--- a/end_of_eden/PLIST
+++ b/end_of_eden/PLIST
@@ -1,8 +1,101 @@
 @comment $NetBSD$
-bin/definitions
-bin/docs
-bin/fuzzy_tester
-bin/game
-bin/game_ssh
-bin/game_win
-bin/tester
+bin/end_of_eden.sh
+libexec/end_of_eden/game
+libexec/end_of_eden/game_win
+share/end_of_eden/assets/audio/README.md
+share/end_of_eden/assets/audio/btn_complete.wav
+share/end_of_eden/assets/audio/btn_deny.wav
+share/end_of_eden/assets/audio/btn_menu.wav
+share/end_of_eden/assets/audio/damage_1.wav
+share/end_of_eden/assets/audio/damage_2.mp3
+share/end_of_eden/assets/audio/damage_3.mp3
+share/end_of_eden/assets/audio/death_scream_1.wav
+share/end_of_eden/assets/audio/game_over.mp3
+share/end_of_eden/assets/audio/interface_move.wav
+share/end_of_eden/assets/audio/music/energetic_orthogonal_expansions.mp3
+share/end_of_eden/assets/audio/music/planet_mining.mp3
+share/end_of_eden/assets/audio/new_artifacts.wav
+share/end_of_eden/assets/audio/new_cards.wav
+share/end_of_eden/assets/fonts/BigBlueTermPlusNerdFont-Regular.ttf
+share/end_of_eden/assets/fonts/IosevkaTermNerdFontMono-Bold.ttf
+share/end_of_eden/assets/fonts/IosevkaTermNerdFontMono-Italic.ttf
+share/end_of_eden/assets/fonts/IosevkaTermNerdFontMono-Regular.ttf
+share/end_of_eden/assets/gen/faces/Face0.txt
+share/end_of_eden/assets/gen/faces/Face1.txt
+share/end_of_eden/assets/gen/faces/Face2.txt
+share/end_of_eden/assets/gen/faces/Face3.txt
+share/end_of_eden/assets/gen/faces/Face4.txt
+share/end_of_eden/assets/gen/faces/Face5.txt
+share/end_of_eden/assets/gen/faces/Face6.txt
+share/end_of_eden/assets/gen/loading_lines.txt
+share/end_of_eden/assets/gen/merchant_lines.txt
+share/end_of_eden/assets/images/alien1.jpg
+share/end_of_eden/assets/images/alien2.jpg
+share/end_of_eden/assets/images/alien3.jpg
+share/end_of_eden/assets/images/alien4.jpg
+share/end_of_eden/assets/images/artifact_chest.jpg
+share/end_of_eden/assets/images/clean_bot.jpg
+share/end_of_eden/assets/images/core.jpg
+share/end_of_eden/assets/images/cryo_start.jpg
+share/end_of_eden/assets/images/cyber_spider.jpg
+share/end_of_eden/assets/images/dark_city1.jpg
+share/end_of_eden/assets/images/dark_city2.jpg
+share/end_of_eden/assets/images/inner_strange.jpg
+share/end_of_eden/assets/images/inner_workspace.jpg
+share/end_of_eden/assets/images/merchant.jpg
+share/end_of_eden/assets/images/people1.jpg
+share/end_of_eden/assets/images/people2.jpg
+share/end_of_eden/assets/images/plant_enviroment.jpg
+share/end_of_eden/assets/images/red_room.jpg
+share/end_of_eden/assets/images/rust_mite.jpg
+share/end_of_eden/assets/images/the_egg.jpg
+share/end_of_eden/assets/images/title.jpg
+share/end_of_eden/assets/images/underground1.jpg
+share/end_of_eden/assets/locals/de/base.yml
+share/end_of_eden/assets/locals/de/cards.yml
+share/end_of_eden/assets/scripts/_debug.lua
+share/end_of_eden/assets/scripts/_test.lua
+share/end_of_eden/assets/scripts/_util.lua
+share/end_of_eden/assets/scripts/definitions/actor.lua
+share/end_of_eden/assets/scripts/definitions/api.lua
+share/end_of_eden/assets/scripts/definitions/artifact.lua
+share/end_of_eden/assets/scripts/definitions/base.lua
+share/end_of_eden/assets/scripts/definitions/callbacks.lua
+share/end_of_eden/assets/scripts/definitions/card.lua
+share/end_of_eden/assets/scripts/definitions/enemy.lua
+share/end_of_eden/assets/scripts/definitions/event.lua
+share/end_of_eden/assets/scripts/definitions/fight_state.lua
+share/end_of_eden/assets/scripts/definitions/merchant_state.lua
+share/end_of_eden/assets/scripts/definitions/status_effect.lua
+share/end_of_eden/assets/scripts/definitions/story_teller.lua
+share/end_of_eden/assets/scripts/enemies/_util.lua
+share/end_of_eden/assets/scripts/enemies/clean_bot.lua
+share/end_of_eden/assets/scripts/enemies/cyber_spider.lua
+share/end_of_eden/assets/scripts/enemies/rust_mite.lua
+share/end_of_eden/assets/scripts/equipment/_colors.lua
+share/end_of_eden/assets/scripts/equipment/_util.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/bounce_shield.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/energy_drink.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/flash_bang.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/flash_shield.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/nano_charger.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/stim_pack.lua
+share/end_of_eden/assets/scripts/equipment/consumeable/ultra_flash_shield.lua
+share/end_of_eden/assets/scripts/equipment/permanents/arm_mounted_gun.lua
+share/end_of_eden/assets/scripts/equipment/permanents/basic_hand_weapons.lua
+share/end_of_eden/assets/scripts/equipment/permanents/block.lua
+share/end_of_eden/assets/scripts/equipment/permanents/combat_glasses.lua
+share/end_of_eden/assets/scripts/equipment/permanents/combat_gloves.lua
+share/end_of_eden/assets/scripts/equipment/permanents/interval_juicer.lua
+share/end_of_eden/assets/scripts/equipment/permanents/knock_out.lua
+share/end_of_eden/assets/scripts/equipment/permanents/melee_hit.lua
+share/end_of_eden/assets/scripts/equipment/permanents/portable_buffer.lua
+share/end_of_eden/assets/scripts/equipment/permanents/speed_enhancer.lua
+share/end_of_eden/assets/scripts/events/_util.lua
+share/end_of_eden/assets/scripts/events/act_0/enemies.lua
+share/end_of_eden/assets/scripts/events/act_0/other.lua
+share/end_of_eden/assets/scripts/events/act_0/start.lua
+share/end_of_eden/assets/scripts/events/base/merchant.lua
+share/end_of_eden/assets/scripts/libs/fun.lua
+share/end_of_eden/assets/scripts/story_teller/act_0.lua
+share/end_of_eden/assets/shader/grain.go


Home | Main Index | Thread Index | Old Index