# 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: # # linux-dwarffortress # linux-dwarffortress/files # linux-dwarffortress/files/dwarffortress.in # linux-dwarffortress/pkg-descr # linux-dwarffortress/Makefile # linux-dwarffortress/distinfo # linux-dwarffortress/pkg-plist # echo c - linux-dwarffortress mkdir -p linux-dwarffortress > /dev/null 2>&1 echo c - linux-dwarffortress/files mkdir -p linux-dwarffortress/files > /dev/null 2>&1 echo x - linux-dwarffortress/files/dwarffortress.in sed 's/^X//' >linux-dwarffortress/files/dwarffortress.in << '90bc206ff046daec1cfd24ff3eacbc72' X#!/bin/sh X X# FreeBSD Dwarf Fortress Loading Script X# Created: December 2015 X# Created By: Michael Williams X# Based off Loading Script for ArchLinux: X# (https://projects.archlinux.org/svntogit/community.git/tree/trunk/dwarffortress?h=packages/dwarffortress) X X#export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch. X#export SDL_VIDEO_CENTERED=1 # Centre the screen. Messes up resizing. X Xconfdir="$HOME/.dwarffortress" Xprefix=%%PREFIX%% Xlibdir=$prefix/libexec/dwarffortress Xsharedir=$prefix/share/dwarffortress Xdatadir=$sharedir/data X Xif [ ! -d "$confdir" ]; then X mkdir -p "$confdir/data" X ln -s $libdir "$confdir/libs" X ln -s $sharedir/raw "$confdir/raw" X cp -rn $datadir/init "$confdir/data/init" Xfi X Xfor link in announcement art dipscript help index initial_movies movies shader.fs shader.vs sound speech; do X cp -r $datadir/$link "$confdir/data/$link" X chmod -R u+w "$confdir/data/$link" Xdone X Xexport LD_LIBRARY_PATH=$libdir X Xcd "$confdir" Xexec ./libs/Dwarf_Fortress "$@" 90bc206ff046daec1cfd24ff3eacbc72 echo x - linux-dwarffortress/pkg-descr sed 's/^X//' >linux-dwarffortress/pkg-descr << '89b96b2dc164ca2de04742a397e22cd8' XDwarf Fortress is a single-player fantasy game. You can control a dwarven Xoutpost or an adventurer in a randomly generated, persistent world. X X(Linux Version) X XWWW: http://www.bay12games.com/dwarves/ 89b96b2dc164ca2de04742a397e22cd8 echo x - linux-dwarffortress/Makefile sed 's/^X//' >linux-dwarffortress/Makefile << 'f20f08141dfffb89d3a8c873662070db' X# Created by: Michael Williams X# $FreeBSD$ X XPORTNAME= dwarffortress XDISTVERSION= 0.42.03 XCATEGORIES= games linux XMASTER_SITES= http://www.bay12games.com/dwarves/ XPKGNAMEPREFIX= linux- XDISTNAME= df_42_03_linux X XMAINTAINER= ports@mgwsoftware.com XCOMMENT= Dwarven fortress building game with ASCII graphics (Linux version) X XLICENSE= BAY12 XLICENSE_NAME= Bay 12 Games Dwarf Fortress Licence XLICENSE_TEXT= Copyright (c) 2002-2015. All rights are retained by Tarn Adams, \ X save the following: you may redistribute the unmodified binary \ X and accompanying files, provided you do so free of charge. You \ X may distribute modified text files from the data and raw \ X folders (see the readme.txt in those folders for more \ X information). We'd appreciate it if you credit yourself or an \ X alias somewhere for any modifications to prevent confusion \ X with vanilla DF (it helps with bug reports). If you'd like to \ X distribute a modified version of the game or portion of the \ X archive and are worried about copyright infringement, please \ X contact Tarn Adams at toadyone@bay12games.com. XLICENSE_PERMS= dist-mirror pkg-mirror #auto-accept X XUSES= tar:bzip2 XUSE_LINUX= yes XUSE_LINUX_APPS= xorglibs gtk2 openal-soft libsndfile sdlimage sdlttf X XSUB_FILES= dwarffortress XNO_BUILD= yes XWRKSRC= ${WRKDIR}/df_linux X XONLY_FOR_ARCHS= i386 amd64 X XPORTDOCS= README.linux readme.txt file\ changes.txt release\ notes.txt \ X command\ line.txt X XOPTIONS_DEFINE= NVIDIA DOCS X XNVIDIA_DESC= Support for Nvidia XNVIDIA_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver XNVIDIA_USE= LINUX_APPS=libglu XNVIDIA_USE_OFF= LINUX_APPS=dri X Xdo-install: X ${INSTALL_SCRIPT} ${WRKDIR}/dwarffortress ${STAGEDIR}${PREFIX}/bin X ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwarffortress X ${BRANDELF} -t Linux ${WRKSRC}/libs/Dwarf_Fortress X ${INSTALL_PROGRAM} ${WRKSRC}/libs/Dwarf_Fortress \ X ${STAGEDIR}${PREFIX}/libexec/dwarffortress X.for FILE in libgcc_s.so.1 libgraphics.so libstdc++.so.6 X ${INSTALL_LIB} ${WRKSRC}/libs/${FILE} \ X ${STAGEDIR}${PREFIX}/libexec/dwarffortress X.endfor X ${MKDIR} ${STAGEDIR}${DATADIR}/data X (cd ${WRKSRC} && ${COPYTREE_SHARE} raw ${STAGEDIR}${DATADIR}) X (cd ${WRKSRC}/data && ${COPYTREE_SHARE} "announcement art dipscript \ X help index init initial_movies movies shader.fs shader.vs \ X sound speech" ${STAGEDIR}${DATADIR}/data) X Xdo-install-DOCS-on: X ${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} X X.include f20f08141dfffb89d3a8c873662070db echo x - linux-dwarffortress/distinfo sed 's/^X//' >linux-dwarffortress/distinfo << 'd9aaa291723675a4c0e4c00975b2c205' XSHA256 (df_42_03_linux.tar.bz2) = 6bc36b3562da0a8d6e1f14d269e2a4ce04b8f2f6ffc516b542bc7ac8ae50b3cc XSIZE (df_42_03_linux.tar.bz2) = 13759711 d9aaa291723675a4c0e4c00975b2c205 echo x - linux-dwarffortress/pkg-plist sed 's/^X//' >linux-dwarffortress/pkg-plist << 'c2b1484f5a31d8d277a98e9d6d7116b5' X@(root,wheel,755) bin/dwarffortress Xlibexec/dwarffortress/Dwarf_Fortress Xlibexec/dwarffortress/libgcc_s.so.1 Xlibexec/dwarffortress/libgraphics.so Xlibexec/dwarffortress/libstdc++.so.6 X%%DATADIR%%/data/announcement/diplomatrebuffed X%%DATADIR%%/data/announcement/end2 X%%DATADIR%%/data/announcement/end3 X%%DATADIR%%/data/announcement/end4 X%%DATADIR%%/data/announcement/end5 X%%DATADIR%%/data/announcement/fortressintro X%%DATADIR%%/data/announcement/hastyking X%%DATADIR%%/data/announcement/kingarrival X%%DATADIR%%/data/announcement/merchantexit X%%DATADIR%%/data/announcement/merchantintro X%%DATADIR%%/data/announcement/semiend X%%DATADIR%%/data/announcement/unretire X%%DATADIR%%/data/art/curses_640x300.bmp X%%DATADIR%%/data/art/curses_640x300.png X%%DATADIR%%/data/art/curses_800x600.bmp X%%DATADIR%%/data/art/curses_800x600.png X%%DATADIR%%/data/art/curses_square_16x16.bmp X%%DATADIR%%/data/art/curses_square_16x16.png X%%DATADIR%%/data/art/font license.txt X%%DATADIR%%/data/art/font.ttf X%%DATADIR%%/data/art/mouse.bmp X%%DATADIR%%/data/art/mouse.png X%%DATADIR%%/data/dipscript/dwarf_liaison X%%DATADIR%%/data/dipscript/elves_firstcontact X%%DATADIR%%/data/dipscript/elves_standard X%%DATADIR%%/data/dipscript/human_standard X%%DATADIR%%/data/dipscript/human_trade X%%DATADIR%%/data/dipscript/text/dwarf_liaison1 X%%DATADIR%%/data/dipscript/text/dwarf_liaison_bye X%%DATADIR%%/data/dipscript/text/elves_firstcontact1 X%%DATADIR%%/data/dipscript/text/elves_firstcontact2 X%%DATADIR%%/data/dipscript/text/elves_standard1 X%%DATADIR%%/data/dipscript/text/elves_standard_bye X%%DATADIR%%/data/dipscript/text/human_standard1 X%%DATADIR%%/data/dipscript/text/human_standard_bye X%%DATADIR%%/data/dipscript/text/human_trade1 X%%DATADIR%%/data/dipscript/text/human_trade_bye X%%DATADIR%%/data/help/a_first X%%DATADIR%%/data/help/a_icons X%%DATADIR%%/data/help/a_intro X%%DATADIR%%/data/help/a_keys X%%DATADIR%%/data/help/a_main X%%DATADIR%%/data/help/accounts X%%DATADIR%%/data/help/building_clutter X%%DATADIR%%/data/help/crafts X%%DATADIR%%/data/help/defense X%%DATADIR%%/data/help/food X%%DATADIR%%/data/help/icons X%%DATADIR%%/data/help/icons_creature X%%DATADIR%%/data/help/icons_dwarf X%%DATADIR%%/data/help/icons_items X%%DATADIR%%/data/help/icons_terrain X%%DATADIR%%/data/help/intro X%%DATADIR%%/data/help/living_quarters X%%DATADIR%%/data/help/machines X%%DATADIR%%/data/help/main X%%DATADIR%%/data/help/menu_activity_zones X%%DATADIR%%/data/help/menu_builditem X%%DATADIR%%/data/help/menu_buildjob X%%DATADIR%%/data/help/menu_buildjob_animaltrap X%%DATADIR%%/data/help/menu_buildjob_depot X%%DATADIR%%/data/help/menu_buildjob_door X%%DATADIR%%/data/help/menu_buildjob_farmplot X%%DATADIR%%/data/help/menu_buildjob_lever X%%DATADIR%%/data/help/menu_buildjob_shop X%%DATADIR%%/data/help/menu_buildjob_siege X%%DATADIR%%/data/help/menu_buildjob_stockpile X%%DATADIR%%/data/help/menu_civlist X%%DATADIR%%/data/help/menu_designations X%%DATADIR%%/data/help/menu_jobunitlist X%%DATADIR%%/data/help/menu_look X%%DATADIR%%/data/help/menu_make_buildings X%%DATADIR%%/data/help/menu_manager X%%DATADIR%%/data/help/menu_military X%%DATADIR%%/data/help/menu_nobles X%%DATADIR%%/data/help/menu_orders X%%DATADIR%%/data/help/menu_professions X%%DATADIR%%/data/help/menu_roomlist X%%DATADIR%%/data/help/menu_rooms X%%DATADIR%%/data/help/menu_squads X%%DATADIR%%/data/help/menu_status X%%DATADIR%%/data/help/menu_status_animals X%%DATADIR%%/data/help/menu_status_currency X%%DATADIR%%/data/help/menu_status_justice X%%DATADIR%%/data/help/menu_status_kitchen X%%DATADIR%%/data/help/menu_status_prices X%%DATADIR%%/data/help/menu_status_stocks X%%DATADIR%%/data/help/menu_status_stone X%%DATADIR%%/data/help/menu_stockpiles X%%DATADIR%%/data/help/menu_viewunit X%%DATADIR%%/data/help/menu_wages X%%DATADIR%%/data/help/menus X%%DATADIR%%/data/help/mining X%%DATADIR%%/data/help/new_region X%%DATADIR%%/data/help/outpost X%%DATADIR%%/data/help/practice X%%DATADIR%%/data/help/r_intro X%%DATADIR%%/data/help/r_main X%%DATADIR%%/data/help/setup_game X%%DATADIR%%/data/help/storage X%%DATADIR%%/data/help/table_item_designations X%%DATADIR%%/data/help/tables X%%DATADIR%%/data/help/technical X%%DATADIR%%/data/help/text_viewer X%%DATADIR%%/data/help/text_viewer2 X%%DATADIR%%/data/help/text_viewer3 X%%DATADIR%%/data/help/trading X%%DATADIR%%/data/help/unit_profile X%%DATADIR%%/data/help/water X%%DATADIR%%/data/help/wood X%%DATADIR%%/data/index X%%DATADIR%%/data/init/announcements.txt X%%DATADIR%%/data/init/arena.txt X%%DATADIR%%/data/init/colors.txt X%%DATADIR%%/data/init/d_init.txt X%%DATADIR%%/data/init/init.txt X%%DATADIR%%/data/init/interface.txt X%%DATADIR%%/data/init/world_gen.txt X%%DATADIR%%/data/initial_movies/bay12games.cmv X%%DATADIR%%/data/initial_movies/dwarf_fortress.cmv X%%DATADIR%%/data/initial_movies/toadyone.cmv X%%DATADIR%%/data/shader.fs X%%DATADIR%%/data/shader.vs X%%DATADIR%%/data/sound/DFINTRO.ogg X%%DATADIR%%/data/sound/DFINTROEND.ogg X%%DATADIR%%/data/sound/DFPICK.ogg X%%DATADIR%%/data/sound/DFRUBBLE.ogg X%%DATADIR%%/data/sound/baybeyond.ogg X%%DATADIR%%/data/sound/bayend.ogg X%%DATADIR%%/data/sound/bayquality.ogg X%%DATADIR%%/data/sound/baystart.ogg X%%DATADIR%%/data/sound/song_game.ogg X%%DATADIR%%/data/sound/song_title.ogg X%%DATADIR%%/data/speech/ab_specific_hf_seeker.txt X%%DATADIR%%/data/speech/animal_slayer.txt X%%DATADIR%%/data/speech/arch_info_justification.txt X%%DATADIR%%/data/speech/child_age_proclamation.txt X%%DATADIR%%/data/speech/current_profession_no_year.txt X%%DATADIR%%/data/speech/current_profession_year.txt X%%DATADIR%%/data/speech/curse.txt X%%DATADIR%%/data/speech/dwarf.txt X%%DATADIR%%/data/speech/elf.txt X%%DATADIR%%/data/speech/family_relationship_additional.txt X%%DATADIR%%/data/speech/family_relationship_additional_dead.txt X%%DATADIR%%/data/speech/family_relationship_no_spec.txt X%%DATADIR%%/data/speech/family_relationship_no_spec_dead.txt X%%DATADIR%%/data/speech/family_relationship_spec.txt X%%DATADIR%%/data/speech/family_relationship_spec_dead.txt X%%DATADIR%%/data/speech/general.txt X%%DATADIR%%/data/speech/goodbye_worship_1.txt X%%DATADIR%%/data/speech/goodbye_worship_2.txt X%%DATADIR%%/data/speech/goodbye_worship_3.txt X%%DATADIR%%/data/speech/greet.txt X%%DATADIR%%/data/speech/greet_baby.txt X%%DATADIR%%/data/speech/greet_reply.txt X%%DATADIR%%/data/speech/greet_reply_after_hero.txt X%%DATADIR%%/data/speech/greet_reply_diff_language.txt X%%DATADIR%%/data/speech/greet_reply_unusual_first.txt X%%DATADIR%%/data/speech/greet_worship.txt X%%DATADIR%%/data/speech/guard_profession.txt X%%DATADIR%%/data/speech/guard_warning.txt X%%DATADIR%%/data/speech/hist_fig_slayer.txt X%%DATADIR%%/data/speech/hunting_profession.txt X%%DATADIR%%/data/speech/hunting_profession_year.txt X%%DATADIR%%/data/speech/justification_antithetical.txt X%%DATADIR%%/data/speech/justification_experience.txt X%%DATADIR%%/data/speech/justification_proximity.txt X%%DATADIR%%/data/speech/justification_reminder.txt X%%DATADIR%%/data/speech/justification_representation.txt X%%DATADIR%%/data/speech/lair_hunter_minotaur.txt X%%DATADIR%%/data/speech/mercenary_profession.txt X%%DATADIR%%/data/speech/mercenary_profession_year.txt X%%DATADIR%%/data/speech/no_family.txt X%%DATADIR%%/data/speech/past_hunting_profession.txt X%%DATADIR%%/data/speech/past_mercenary_profession.txt X%%DATADIR%%/data/speech/past_profession_no_year.txt X%%DATADIR%%/data/speech/past_profession_year.txt X%%DATADIR%%/data/speech/past_scouting_profession.txt X%%DATADIR%%/data/speech/past_snatcher_profession.txt X%%DATADIR%%/data/speech/past_thief_profession.txt X%%DATADIR%%/data/speech/past_wandering_profession.txt X%%DATADIR%%/data/speech/positive.txt X%%DATADIR%%/data/speech/same_site_ab_specific_hf_seeker.txt X%%DATADIR%%/data/speech/same_site_specific_hf_seeker.txt X%%DATADIR%%/data/speech/scouting_profession.txt X%%DATADIR%%/data/speech/scouting_profession_year.txt X%%DATADIR%%/data/speech/site_specific_hf_seeker.txt X%%DATADIR%%/data/speech/slayer.txt X%%DATADIR%%/data/speech/snatcher_profession.txt X%%DATADIR%%/data/speech/snatcher_profession_year.txt X%%DATADIR%%/data/speech/soldier_profession.txt X%%DATADIR%%/data/speech/task_recommendation.txt X%%DATADIR%%/data/speech/temple_already_member.txt X%%DATADIR%%/data/speech/temple_become_member.txt X%%DATADIR%%/data/speech/thief_profession.txt X%%DATADIR%%/data/speech/thief_profession_year.txt X%%DATADIR%%/data/speech/threat.txt X%%DATADIR%%/data/speech/unknown_hf_seeker.txt X%%DATADIR%%/data/speech/wandering_profession.txt X%%DATADIR%%/data/speech/wandering_profession_year.txt X%%DATADIR%%/raw/graphics/example/dwarves.bmp X%%DATADIR%%/raw/graphics/graphics_example.txt X%%DATADIR%%/raw/interaction examples/interaction_disturbance.txt X%%DATADIR%%/raw/interaction examples/interaction_region.txt X%%DATADIR%%/raw/interaction examples/interaction_secret.txt X%%DATADIR%%/raw/interaction examples/interaction_underground_special.txt X%%DATADIR%%/raw/interaction examples/interaction_vampire.txt X%%DATADIR%%/raw/interaction examples/interaction_werebeast.txt X%%DATADIR%%/raw/objects/b_detail_plan_default.txt X%%DATADIR%%/raw/objects/body_default.txt X%%DATADIR%%/raw/objects/body_rcp.txt X%%DATADIR%%/raw/objects/building_custom.txt X%%DATADIR%%/raw/objects/c_variation_default.txt X%%DATADIR%%/raw/objects/creature_amphibians.txt X%%DATADIR%%/raw/objects/creature_annelids.txt X%%DATADIR%%/raw/objects/creature_birds.txt X%%DATADIR%%/raw/objects/creature_birds_new.txt X%%DATADIR%%/raw/objects/creature_bug_slug_new.txt X%%DATADIR%%/raw/objects/creature_desert_new.txt X%%DATADIR%%/raw/objects/creature_domestic.txt X%%DATADIR%%/raw/objects/creature_equipment.txt X%%DATADIR%%/raw/objects/creature_fanciful.txt X%%DATADIR%%/raw/objects/creature_insects.txt X%%DATADIR%%/raw/objects/creature_large_mountain.txt X%%DATADIR%%/raw/objects/creature_large_ocean.txt X%%DATADIR%%/raw/objects/creature_large_riverlake.txt X%%DATADIR%%/raw/objects/creature_large_temperate.txt X%%DATADIR%%/raw/objects/creature_large_tropical.txt X%%DATADIR%%/raw/objects/creature_large_tundra.txt X%%DATADIR%%/raw/objects/creature_mountain_new.txt X%%DATADIR%%/raw/objects/creature_next_underground.txt X%%DATADIR%%/raw/objects/creature_ocean_new.txt X%%DATADIR%%/raw/objects/creature_other.txt X%%DATADIR%%/raw/objects/creature_reptiles.txt X%%DATADIR%%/raw/objects/creature_riverlakepool_new.txt X%%DATADIR%%/raw/objects/creature_savage_tropical.txt X%%DATADIR%%/raw/objects/creature_small_mammal_new.txt X%%DATADIR%%/raw/objects/creature_small_mammals.txt X%%DATADIR%%/raw/objects/creature_small_ocean.txt X%%DATADIR%%/raw/objects/creature_small_riverlake.txt X%%DATADIR%%/raw/objects/creature_standard.txt X%%DATADIR%%/raw/objects/creature_subterranean.txt X%%DATADIR%%/raw/objects/creature_temperate_new.txt X%%DATADIR%%/raw/objects/creature_tropical_new.txt X%%DATADIR%%/raw/objects/creature_tundra_taiga_new.txt X%%DATADIR%%/raw/objects/descriptor_color_standard.txt X%%DATADIR%%/raw/objects/descriptor_pattern_iris_eye.txt X%%DATADIR%%/raw/objects/descriptor_pattern_pupil_eye.txt X%%DATADIR%%/raw/objects/descriptor_pattern_special.txt X%%DATADIR%%/raw/objects/descriptor_shape_standard.txt X%%DATADIR%%/raw/objects/entity_default.txt X%%DATADIR%%/raw/objects/examples and notes/gaits.txt X%%DATADIR%%/raw/objects/examples and notes/item_instrument_example.txt X%%DATADIR%%/raw/objects/examples and notes/reaction_instrument_example.txt X%%DATADIR%%/raw/objects/inorganic_metal.txt X%%DATADIR%%/raw/objects/inorganic_other.txt X%%DATADIR%%/raw/objects/inorganic_stone_gem.txt X%%DATADIR%%/raw/objects/inorganic_stone_layer.txt X%%DATADIR%%/raw/objects/inorganic_stone_mineral.txt X%%DATADIR%%/raw/objects/inorganic_stone_soil.txt X%%DATADIR%%/raw/objects/interaction_standard.txt X%%DATADIR%%/raw/objects/item_ammo.txt X%%DATADIR%%/raw/objects/item_armor.txt X%%DATADIR%%/raw/objects/item_food.txt X%%DATADIR%%/raw/objects/item_gloves.txt X%%DATADIR%%/raw/objects/item_helm.txt X%%DATADIR%%/raw/objects/item_pants.txt X%%DATADIR%%/raw/objects/item_shield.txt X%%DATADIR%%/raw/objects/item_shoes.txt X%%DATADIR%%/raw/objects/item_siegeammo.txt X%%DATADIR%%/raw/objects/item_tool.txt X%%DATADIR%%/raw/objects/item_toy.txt X%%DATADIR%%/raw/objects/item_trapcomp.txt X%%DATADIR%%/raw/objects/item_weapon.txt X%%DATADIR%%/raw/objects/language_DWARF.txt X%%DATADIR%%/raw/objects/language_ELF.txt X%%DATADIR%%/raw/objects/language_GOBLIN.txt X%%DATADIR%%/raw/objects/language_HUMAN.txt X%%DATADIR%%/raw/objects/language_SYM.txt X%%DATADIR%%/raw/objects/language_words.txt X%%DATADIR%%/raw/objects/material_template_default.txt X%%DATADIR%%/raw/objects/plant_crops.txt X%%DATADIR%%/raw/objects/plant_garden.txt X%%DATADIR%%/raw/objects/plant_grasses.txt X%%DATADIR%%/raw/objects/plant_new_trees.txt X%%DATADIR%%/raw/objects/plant_standard.txt X%%DATADIR%%/raw/objects/reaction_other.txt X%%DATADIR%%/raw/objects/reaction_smelter.txt X%%DATADIR%%/raw/objects/text/book_art.txt X%%DATADIR%%/raw/objects/text/book_instruction.txt X%%DATADIR%%/raw/objects/text/secret_death.txt X%%DATADIR%%/raw/objects/tissue_template_default.txt X%%DATADIR%%/raw/readme.txt X@dir %%DATADIR%%/data/init/macros X@dir %%DATADIR%%/data/movies c2b1484f5a31d8d277a98e9d6d7116b5 exit