Install ${PREFIX}/bin/vmware as a shell script which sets some
environment variables properly to run VMware, instead of installing it as a symbolic link to ${PREFIX}/lib/vmware/bin/vmware. Suggested by: Frank Mayhar <frank@exit.com> Add $FreeBSD$ on the top of the Hints.FreeBSD file. Add a link to the official VMware Product FAQ page.
This commit is contained in:
parent
6878b46b54
commit
d0e24bc7e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27685
@ -75,6 +75,9 @@ setoptions:
|
||||
-e 's;@@NETMASK@@;${VMNET_NETMASK};' \
|
||||
${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh
|
||||
|
||||
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
|
||||
${FILESDIR}/vmware > ${WRKDIR}/vmware
|
||||
|
||||
pre-install: setoptions
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man1/vmware.1 ${MANPREFIX}/man/man1
|
||||
${MKDIR} ${VMDIR}/lib/modules
|
||||
@ -95,7 +98,7 @@ pre-install: setoptions
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/$${i} ${VMDIR}/bin; \
|
||||
done
|
||||
${INSTALL_SCRIPT} -m 4555 ${WRKSRC}/bin/vmware ${VMDIR}/bin
|
||||
${LN} -s ${VMDIR}/bin/vmware ${PREFIX}/bin/
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/vmware ${PREFIX}/bin
|
||||
${MKDIR} ${VMDIR}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/config ${VMDIR}/lib
|
||||
${MKDIR} ${VMDIR}/lib/floppies
|
||||
|
@ -1,3 +1,5 @@
|
||||
$FreeBSD$
|
||||
|
||||
Here is a list of some useful hints on using VMware on FreeBSD.
|
||||
|
||||
- Full screen text mode does not work. Don't ever do it!
|
||||
@ -87,6 +89,8 @@ MFS can lead to deadlocks.
|
||||
|
||||
- Don't miss the VMware FAQ available on the official site.
|
||||
|
||||
http://www.vmware.com/products/productfaq.html
|
||||
|
||||
--
|
||||
Akinori -Aki- MUSHA <knu@idaemons.org>
|
||||
Nick Sayer <nsayer@freebsd.org>
|
||||
Nick Sayer <nsayer@FreeBSD.org>
|
||||
|
10
emulators/vmware2/files/vmware
Normal file
10
emulators/vmware2/files/vmware
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Run vmware
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
LANG=C
|
||||
PATH=/bin:$PATH
|
||||
|
||||
@@PREFIX@@/lib/vmware/bin/vmware
|
@ -75,6 +75,9 @@ setoptions:
|
||||
-e 's;@@NETMASK@@;${VMNET_NETMASK};' \
|
||||
${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh
|
||||
|
||||
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
|
||||
${FILESDIR}/vmware > ${WRKDIR}/vmware
|
||||
|
||||
pre-install: setoptions
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man1/vmware.1 ${MANPREFIX}/man/man1
|
||||
${MKDIR} ${VMDIR}/lib/modules
|
||||
@ -95,7 +98,7 @@ pre-install: setoptions
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/$${i} ${VMDIR}/bin; \
|
||||
done
|
||||
${INSTALL_SCRIPT} -m 4555 ${WRKSRC}/bin/vmware ${VMDIR}/bin
|
||||
${LN} -s ${VMDIR}/bin/vmware ${PREFIX}/bin/
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/vmware ${PREFIX}/bin
|
||||
${MKDIR} ${VMDIR}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/config ${VMDIR}/lib
|
||||
${MKDIR} ${VMDIR}/lib/floppies
|
||||
|
@ -1,3 +1,5 @@
|
||||
$FreeBSD$
|
||||
|
||||
Here is a list of some useful hints on using VMware on FreeBSD.
|
||||
|
||||
- Full screen text mode does not work. Don't ever do it!
|
||||
@ -87,6 +89,8 @@ MFS can lead to deadlocks.
|
||||
|
||||
- Don't miss the VMware FAQ available on the official site.
|
||||
|
||||
http://www.vmware.com/products/productfaq.html
|
||||
|
||||
--
|
||||
Akinori -Aki- MUSHA <knu@idaemons.org>
|
||||
Nick Sayer <nsayer@freebsd.org>
|
||||
Nick Sayer <nsayer@FreeBSD.org>
|
||||
|
10
emulators/vmware3/files/vmware
Normal file
10
emulators/vmware3/files/vmware
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Run vmware
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
LANG=C
|
||||
PATH=/bin:$PATH
|
||||
|
||||
@@PREFIX@@/lib/vmware/bin/vmware
|
Loading…
Reference in New Issue
Block a user