In September 2013, the Ports framework learned how to Stage ports. The attached patch updates to port to support it. Fix: Apply the attached patch. Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->games games@ wants this category PRs (via the GNATS Auto Assign Tool)
I'm a bit worried, that with transition to bugzilla AND with all the non-staged ports being scheduled for deletion at the same time, this will fall through cracks. Hopefully, not. I'd gladly work on this patch some more, if it's not yet good enough.
Created attachment 145395 [details] more fixes for games/mangband - Bump PORTREVISION for LICENSE adding and more - Change master site - Add license (GPLv2) - Simplify Option handling - Add pkg-message, information about usage - Unmute install executable and cfg - Use INSTALL_DAT instead of CP - Recreate patches with make makepatch, remove obsolete patch - Recreate pkg-plist with make makeplist and proper use permissions
Thank you, Rusmir, this patch is much better than my initial attempt. Please do merge this.
A commit references this bug: Author: nemysis Date: Tue Aug 5 16:18:12 UTC 2014 New revision: 364117 URL: http://svnweb.freebsd.org/changeset/ports/364117 Log: - Bump PORTREVISION for LICENSE adding and more - Change master site - Add license (GPLv2) - Support STAGEDIR - Simplify Option handling - Add pkg-message, information about usage - Unmute install executable and cfg - Use INSTALL_DAT instead of CP - Recreate patches with make makepatch - Recreate pkg-plist with make makeplist and proper use permissions PR: 189907 Submitted by: maintainer, driedfruit <flambard@mangband.org> Approved by: maintainer Changes: head/games/mangband/Makefile head/games/mangband/files/patch-aa head/games/mangband/files/patch-ac head/games/mangband/files/patch-client__main-sdl.c head/games/mangband/files/patch-client_main-sdl.c head/games/mangband/files/patch-config.h head/games/mangband/files/patch-server-netserver.c head/games/mangband/files/patch-server__netserver.c head/games/mangband/files/patch-server__save.c head/games/mangband/files/pkg-message.in head/games/mangband/pkg-plist
After that patch has been applied, I'm receiving build failure messages from pkg-fallout. =========================================================================== =======================<phase: package >============================ ===> Building package for mangband-1.1.2_1 pkg-static: lstat(/wrkdirs/usr/ports/games/mangband/work/stage/usr/local/etc/mangbandmangband.cfg): No such file or directory pkg-static: lstat(/wrkdirs/usr/ports/games/mangband/work/stage/usr/local/dirrm share/mangband/data): No such file or directory *** Error code 1 I'll try to fix those, but could you take a look? Log URL: http://beefy1.isc.freebsd.org/data/84i386-default/2014-08-08_15h13m19s/logs/mangband-1.1.2_1.log Build URL: http://beefy1.isc.freebsd.org/build.html?mastername=84i386-default&build=2014-08-08_15h13m19s
I'm modifying the title because it shows up in a search for unstaged ports, and the port is now staged.
Closing the PR as the patch has been committed in r364117 by nemysis@ on 2014-08-05.