diff options
author | Luis Ressel <aranea@aixah.de> | 2016-01-13 21:18:41 +0100 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2016-01-13 23:12:47 +0100 |
commit | 28f8771b0895f2fd3117f60b9c69e562c983ef44 (patch) | |
tree | 546549d7f64cd66e10b953852f8eb1d62dd90154 /games-roguelike | |
parent | games-roguelike/nethack: Add "experimental" USE flag (diff) | |
download | gentoo-28f8771b0895f2fd3117f60b9c69e562c983ef44.tar.gz gentoo-28f8771b0895f2fd3117f60b9c69e562c983ef44.tar.bz2 gentoo-28f8771b0895f2fd3117f60b9c69e562c983ef44.zip |
games-roguelike/nethack: Improved nethackrc for 3.6
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/nethack/files/nethack-3.4.3-nethackrc (renamed from games-roguelike/nethack/files/dot.nethackrc) | 0 | ||||
-rw-r--r-- | games-roguelike/nethack/files/nethack-3.6.0-nethackrc | 103 | ||||
-rw-r--r-- | games-roguelike/nethack/nethack-3.4.3-r5.ebuild | 2 | ||||
-rw-r--r-- | games-roguelike/nethack/nethack-3.6.0-r1.ebuild | 11 | ||||
-rw-r--r-- | games-roguelike/nethack/nethack-3.6.0.ebuild | 2 |
5 files changed, 106 insertions, 12 deletions
diff --git a/games-roguelike/nethack/files/dot.nethackrc b/games-roguelike/nethack/files/nethack-3.4.3-nethackrc index 55899338cee7..55899338cee7 100644 --- a/games-roguelike/nethack/files/dot.nethackrc +++ b/games-roguelike/nethack/files/nethack-3.4.3-nethackrc diff --git a/games-roguelike/nethack/files/nethack-3.6.0-nethackrc b/games-roguelike/nethack/files/nethack-3.6.0-nethackrc new file mode 100644 index 000000000000..33c98064341f --- /dev/null +++ b/games-roguelike/nethack/files/nethack-3.6.0-nethackrc @@ -0,0 +1,103 @@ +## This is an example nethackrc file (courtesy of nethack.alt.org). +## +## You should edit it to suit your needs. +## Please read the Guidebook in /usr/share/doc/nethack or at www.nethack.org. +## +## Options which are enabled by default (like autoopen) can be disabled +## by prefixing them with a ! + +## If USE=X is enabled, this can be changed to x11 +#OPTIONS=windowtype:tty + +## Custom fruit and pet names +#OPTIONS=fruit:mango +#OPTIONS=dogname:Izchak +#OPTIONS=catname:Chun-Li +#OPTIONS=horsename:Marlon + +## Colored output +#OPTIONS=color + +## Automatically dig if you are wielding a digging tool and moving +## into a place that can be dug +#OPTIONS=autodig + +## Walking into a door attempts to open it +#OPTIONS=autoopen + +## Automatically pick up stuff +#OPTIONS=autopickup + +## Only use autopickup for these item types +#OPTIONS=pickup_types:$!?/"= + +## Allow saving and loading bones files. +#OPTIONS=bones + +## Show out-of-sight areas of lit rooms +#OPTIONS=dark_room + +## Use inverse for pets +#OPTIONS=hilite_pet + +## Use inverse for piles of items +#OPTIONS=hilite_pile + +## Show experience +#OPTIONS=showexp + +## Show elapsed game time (in turns) +#OPTIONS=time + +## How recalled messages (ctrl-p) are displayed. +#OPTIONS=msg_window:reversed + +## use IBMgraphics or DECgraphics +#OPTIONS=symset:DECgraphics +#OPTIONS=symset:IBMgraphics + +## If you don't like some default glyphs, these can be changed +#SYMBOLS=S_boulder:0 +#SYMBOLS=S_lava:~ +#SYMBOLS=S_pool:~ +#SYMBOLS=S_water:~ +#SYMBOLS=S_ghost:8 +#SYMBOLS=S_golem:7 + +## Sort items by name. One of "none", "loot", or "full" +#OPTIONS=sortloot:full + +## Require explicit yes for some prompts +#OPTIONS=paranoid_confirmation:Confirm quit attack pray wand Remove + +## Conducts +#OPTIONS=nudist +#OPTIONS=blind + + +## Colored menus. Regular expressions allowed. +#OPTIONS=menucolors +#MENUCOLOR=" blessed "=green +#MENUCOLOR=" holy "=green +#MENUCOLOR=" cursed "=red +#MENUCOLOR=" unholy "=red +#MENUCOLOR=" cursed .* (being worn)"=orange&underline + + +## Messagetypes + +## displacing pets. hide the message. +#MSGTYPE=hide "You swap places with your .*" + +## items on floor. don't repeat the message. +#MSGTYPE=norep "You see here a .*" +#MSGTYPE=norep "You see here an .*" + +## delayed instadeaths. always prompt for -more- +#MSGTYPE=stop "You are slowing down." +#MSGTYPE=stop "You find it hard to breathe." +#MSGTYPE=stop "You are turning a little .*" + +## moving up or down stairs +#MSGTYPE=hide "You descend .*" +#MSGTYPE=hide "You (climb|fly) (up|down) .*" diff --git a/games-roguelike/nethack/nethack-3.4.3-r5.ebuild b/games-roguelike/nethack/nethack-3.4.3-r5.ebuild index 6762a44a77c8..3746bd966d84 100644 --- a/games-roguelike/nethack/nethack-3.4.3-r5.ebuild +++ b/games-roguelike/nethack/nethack-3.4.3-r5.ebuild @@ -143,7 +143,7 @@ src_install() { dodoc doc/*.txt insinto /etc/skel - newins "${FILESDIR}/dot.nethackrc" .nethackrc + newins "${FILESDIR}/${P}-nethackrc" .nethackrc local windowtypes="tty" use X && windowtypes="${windowtypes} x11" diff --git a/games-roguelike/nethack/nethack-3.6.0-r1.ebuild b/games-roguelike/nethack/nethack-3.6.0-r1.ebuild index 3696d05c3e91..01e66e84fa88 100644 --- a/games-roguelike/nethack/nethack-3.6.0-r1.ebuild +++ b/games-roguelike/nethack/nethack-3.6.0-r1.ebuild @@ -87,16 +87,7 @@ src_install() { newins sys/unix/sysconf nethack.sysconf insinto /etc/skel - newins "${FILESDIR}/dot.nethackrc" .nethackrc - - local windowtypes="tty" - use X && windowtypes="x11 ${windowtypes}" - set -- ${windowtypes} - sed -i \ - -e "s:GENTOO_WINDOWTYPES:${windowtypes}:" \ - -e "s:GENTOO_DEFWINDOWTYPE:$1:" \ - "${D}/etc/skel/.nethackrc" \ - || die "sed /etc/skel/.nethackrc failed" + newins "${FILESDIR}/${P}-nethackrc" .nethackrc if use X ; then cd "${S}/win/X11" || die "Failed to enter win/X11 directory" diff --git a/games-roguelike/nethack/nethack-3.6.0.ebuild b/games-roguelike/nethack/nethack-3.6.0.ebuild index 11c43ea42cc4..f627cad5b44b 100644 --- a/games-roguelike/nethack/nethack-3.6.0.ebuild +++ b/games-roguelike/nethack/nethack-3.6.0.ebuild @@ -93,7 +93,7 @@ src_install() { newins sys/unix/sysconf nethack.sysconf insinto /etc/skel - newins "${FILESDIR}/dot.nethackrc" .nethackrc + newins "${FILESDIR}/${PN}-3.4.3-nethackrc" .nethackrc local windowtypes="tty" use X && windowtypes="x11 ${windowtypes}" |