diff options
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/nethack/nethack-3.6.7.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games-roguelike/nethack/nethack-3.6.7.ebuild b/games-roguelike/nethack/nethack-3.6.7.ebuild index 21b5d8961d16..08b526369699 100644 --- a/games-roguelike/nethack/nethack-3.6.7.ebuild +++ b/games-roguelike/nethack/nethack-3.6.7.ebuild @@ -71,9 +71,8 @@ src_compile() { LOCAL_MAKEOPTS=( CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}" WINTTYLIB="$($(tc-getPKG_CONFIG) --libs ncurses)" - HACKDIR="${EPREFIX}/usr/$(get_libdir)/nethack" INSTDIR="${ED}/usr/$(get_libdir)/nethack" - SHELLDIR="${ED}/usr/bin" VARDIR="${ED}/var/games/nethack" - ) + HACKDIR="${EPREFIX}/usr/$(get_libdir)/nethack" + ) emake "${LOCAL_MAKEOPTS[@]}" nethack recover Guidebook spec_levs @@ -82,7 +81,12 @@ src_compile() { } src_install() { - emake "${LOCAL_MAKEOPTS[@]}" install + emake \ + "${LOCAL_MAKEOPTS[@]}" \ + INSTDIR="${ED}/usr/$(get_libdir)/nethack" \ + SHELLDIR="${ED}/usr/bin" \ + VARDIR="${ED}/var/games/nethack" \ + install mv "${ED}/usr/$(get_libdir)/nethack/recover" "${ED}/usr/bin/recover-nethack" || die "Failed to move recover-nethack" |