65c8bd3235
- USE_RC_SUBR. Inspired by ports/net/dtcpclient (thanks ume-san). Since now, loading kernel modules and/or start vmware-guestd can be tweaked via following rc.conf variables: * vmware_guestd_enable (default to YES) * vmware_guest_kmod_enable (default to NO) vmware-guest_kmod.sh is removed; both are handled by a single shell script, vmware-guestd.sh. - Bulid kernel module iff kernel source files are available. This check is just a static checking of /usr/src/sys/Makefile. It would be even better that '/usr/src' can be changed to other place, but I believe that most user puts a source code under /usr/src, or other places and set a symlink to there. If it hits you badly, I'm willing to apply your patch to fix(?) it. - If this ports is used by ports/emulators/vmware-tools4, install XFree86 server modules, vmware_drv.o and vmmouse_drv.o. The vmware_drv.o is a (virtual) graphic chip driver. I believe that if you have already installed XFree86 4.3.0, it should be the same one but compiled on XFree86 4.3.99.2. I've confirmed that it should work with XFree86 4.3.0 server. The vmmouse_drv.o is a mouse driver, use it instead of default mouse driver, mouse_drv.o. It works, but if my test is correct, it doesn't support Emulate3Buttons. Use with care. Both drivers are installed to appropriate directory, but renamed (append '_VMware' to the filename) to avoid any conflicts to other ports (especially ports/x11/XFree86*). P.S.: Happy version 4.5.1, ACPI is enabled by default for FreeBSD guest OS.
7 lines
260 B
Plaintext
7 lines
260 B
Plaintext
bin/vmware-toolbox
|
|
%%INSTALLXSERVER3:%%bin/XF86_VMware
|
|
%%INSTALLXSERVER3:%%etc/XF86Config_VMware
|
|
%%INSTALLXSERVER4:%%etc/XF86Config-4_VMware
|
|
%%INSTALLXSERVER4:%%lib/modules/drivers/vmware_drv.o_VMware
|
|
%%INSTALLXSERVER4:%%lib/modules/input/vmmouse_drv.o_VMware
|