Created attachment 159737 [details] Shar archive Frontend for bhyve to simplify management of virtual machines and related functions
Port doesn't pass on portlint first check, what makes it impossible to test. Please install porttools and run: # portlint -N inside port directory, fix all the problems and send a new patch
Created attachment 162219 [details] v0.8.11 update
Thanks for the response. I thought I'd run portlint as in the quick porting instructions but maybe not. I have attached an updated version of the port and have tested with portlint -N
Now it's passing portlint, thanks! But I have few other comments. Makefile: - Set OPTIONS_DEFINE and OPTIONS_DEFAULT for EXAMPLES - Replace ${STAGEDIR}${PREFIX}/share/examples/vm-bhyve by ${STAGEDIR}${EXAMPLESDIR} - Remove the line that compress manpage, it is done automatically - Drop .gz from manpage install line rc.d/vm - Use rclint to check warnings and make necessary adjustments
Created attachment 162244 [details] v0.8.12 Thanks for the information. I have added EXAMPLES to OPTIONS_DEFINE. According to the handbook, this should be selected by default already (seemed to be in my test). Hopefully the if statement in do-install is reasonable? There may be a more standardised way of doing that but most of the examples in the handbook relate to ports that use configure; I don't seem to get on with Makefiles very well. I've also made the changes for the examples path and man page. rc.d/vm seems to pass rclint now. Wasn't certain of the exact syntax for adding the stop command directly to stop_cmd but it seems to be working.
(In reply to churchers from comment #5) Only one more thing, regarding category. I believe it would fit better in sysutils instead of emulators. There are similar ports there, like sysutils/cbsd or sysutils/ezjail. You don't need to send another shar, I'll change it before commit. I'll also remove that .if for examples, pkg take care of that automatically. Thanks!
A commit references this bug: Author: garga Date: Tue Oct 20 15:33:32 UTC 2015 New revision: 399862 URL: https://svnweb.freebsd.org/changeset/ports/399862 Log: Add sysutils/vm-bhyve: A frontend for bhyve which provides the 'vm' command Create/start/stop virtual machines easily Bridged/NAT networking BSD/Linux guest support WWW: https://github.com/churchers/vm-bhyve PR: 202225 Submitted by: churchers@gmail.com Changes: head/sysutils/Makefile head/sysutils/vm-bhyve/ head/sysutils/vm-bhyve/Makefile head/sysutils/vm-bhyve/distinfo head/sysutils/vm-bhyve/pkg-descr head/sysutils/vm-bhyve/pkg-plist
Thanks for all the help!