There's a new release of NetHack. Instead of 3.7, it has been called 5.0. The build is a bit weird because of a new Lua dependency, and I've borged together an ncurses-port for it.
Assigning to glewis@ as the owner of other NetHack ports.
Created attachment 270430 [details] tarball of port directory This is what I got so far, which is just banging away on the existing nethack36 makefile and then stripping out everything that isn't easy. I threw out most of the existing patches -- too many, probably, since now it expects /usr/games/lib/nethackdir to exist. Creating /usr/games/lib and symlinking the directory does work, though.
Created attachment 273608 [details] nethack50.diff ^Triage: replace .tgz file with git diff (now preferred). Note that this does not yet pass portlint.
I tried to build this but it failed while trying to stage the manpages. It looks like the patch for Makefile.doc is wrong: You may also want to reinstall the man pages via the doc Makefile. mkdir -p /projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6 cat nethack.6 | ../util/makedefs --grep --input - --output - > /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/nethack.6 /bin/sh: cannot create /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/nethack.6: No such file or directory *** Error code 2 (ignored) cat recover.6 | ../util/makedefs --grep --input - --output - > /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/recover.6 /bin/sh: cannot create /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/recover.6: No such file or directory *** Error code 2 (ignored) cat dlb.6 | ../util/makedefs --grep --input - --output - > /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/dlb.6 /bin/sh: cannot create /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/dlb.6: No such file or directory *** Error code 2 (ignored) cat makedefs.6 | ../util/makedefs --grep --input - --output - > /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/makedefs.6 /bin/sh: cannot create /projects/freebsd/ports/games/nethack50/work/stage/projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/man/man6/makedefs.6: No such file or directory *** Error code 2 (ignored) install -m 0644 /projects/freebsd/ports/games/nethack50/work/NetHack-NetHack-5.0.0_Released/doc/Guidebook.txt /projects/freebsd/ports/games/nethack50/work/stage/usr/local/share/doc/nethack50 ====> Compressing man pages (compress-man)
Created attachment 275916 [details] My atttempt at a nethack-5.0.0 port I took a copy of nethack37 and ported the patches forward to 5.0.0 manually (which was a pain). This version avoids the references to /usr/games and produces a working installable package with 'make package'. It doesn't build for X11 yet but does seem to work with tty and curses.