diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2010-01-27 11:48:17 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2010-01-27 11:48:17 +0000 |
commit | 65ca0ce4cc36e7644e3348b006ef21e90b267a1e (patch) | |
tree | e0eb05d157c0dd17072efa243f1aac69b32f43cb /games | |
parent | d3ee5617929f57c89dc6826b0f804b0ac27c5285 (diff) | |
download | ports-65ca0ce4cc36e7644e3348b006ef21e90b267a1e.tar.gz ports-65ca0ce4cc36e7644e3348b006ef21e90b267a1e.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/unnethack/Makefile | 3 | ||||
-rw-r--r-- | games/unnethack/files/sample.unnethackrc | 16 | ||||
-rw-r--r-- | games/unnethack/pkg-plist | 6 |
3 files changed, 19 insertions, 6 deletions
diff --git a/games/unnethack/Makefile b/games/unnethack/Makefile index c69dfdf125de..852d3f138a2d 100644 --- a/games/unnethack/Makefile +++ b/games/unnethack/Makefile @@ -7,6 +7,7 @@ PORTNAME= unnethack PORTVERSION= 3.5.2.20100110 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R} @@ -38,7 +39,7 @@ post-install: ${MAKEFILE} ${MAKE_ARGS} manpages) .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR} + ${LN} -sf ${PREFIX}/share/${PORTNAME}/Guidebook.txt ${DOCSDIR}/ ${INSTALL_DATA} ${FILESDIR}/sample.unnethackrc ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} diff --git a/games/unnethack/files/sample.unnethackrc b/games/unnethack/files/sample.unnethackrc index 06b9cd46dad2..35133fbceb41 100644 --- a/games/unnethack/files/sample.unnethackrc +++ b/games/unnethack/files/sample.unnethackrc @@ -5,6 +5,9 @@ # Options are tty, x11. qt, gtk # but not all of these are necessarily compiled in OPTIONS=windowtype:tty +OPTIONS=color +# Backticks are sometimes hard to recognize +OPTIONS=boulder:0 # names for pets OPTIONS=catname:Fuzzy @@ -15,15 +18,22 @@ OPTIONS=horsename:Trigger # Autopickup all the things you would pick up anyway # In order: money, potions, spellbooks, rings, amulets, # scrolls, and wands -OPTIONS=autopickup OPTIONS=pickup_types:$!+="?/ +#OPTIONS=autopickup +# You can always hit `@' to turn on (toggle) autopickup. +OPTIONS=!autopickup + +# Autodig +OPTIONS=autodig # Favorite fruit -OPTIONS=fruit:Strawberry +OPTIONS=fruit:strawberry # Turn on numberpad movement # Be sure to turn on numlock or this won't work -OPTIONS=number_pad +#OPTIONS=number_pad +# Or just use vi-like bindings +OPTIONS=!number_pad # Show experience on the status line OPTIONS=showexp diff --git a/games/unnethack/pkg-plist b/games/unnethack/pkg-plist index 85cce509eaee..b56bcee341af 100644 --- a/games/unnethack/pkg-plist +++ b/games/unnethack/pkg-plist @@ -1,6 +1,5 @@ bin/unnethack -%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt -%%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc +%%DATADIR%%/Guidebook.txt %%DATADIR%%/license %%DATADIR%%/logfile %%DATADIR%%/nhdat @@ -8,10 +7,13 @@ bin/unnethack %%DATADIR%%/record %%DATADIR%%/recover %%DATADIR%%/unnethack +%%DATADIR%%/xlogfile @exec mkdir %D/%%DATADIR%%/save @exec chmod -R 775 %D/%%DATADIR%% @exec chmod 2755 %D/%%DATADIR%%/save @exec chown games:games %D/%%DATADIR%%/save @dirrmtry %%DATADIR%%/save @dirrmtry %%DATADIR%% +%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt +%%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc %%PORTDOCS%%@dirrm %%DOCSDIR%% |