bb3b5d6cd8
Make use of SUB_FILES. Use REINPLACE_CMD instead of perl. Miscellaneous other cleanups. PR: ports/96491 Submitted by: edwin Approved by: orlando@break.net (maintainer, timeout 2 weeks)
26 lines
725 B
Bash
26 lines
725 B
Bash
#!/bin/sh
|
|
#
|
|
# Run vmware-wizard
|
|
#
|
|
# $FreeBSD: /tmp/pcvs/ports/emulators/vmware3/files/Attic/vmware-wizard.in,v 1.1 2006-05-15 07:25:01 lawrance Exp $
|
|
|
|
if [ ! -e %%LINUXBASE%%/proc/cpuinfo ]; then
|
|
echo "************************************************************"
|
|
echo "It seems Linux procfs is not mounted on %%LINUXBASE%%/proc."
|
|
echo "VMware does not work without Linux procfs mounted."
|
|
echo
|
|
echo "For details, see linprocfs(5) manpage."
|
|
echo "************************************************************"
|
|
exit 1
|
|
fi
|
|
|
|
LANG=C
|
|
PATH=/bin:$PATH
|
|
|
|
if [ _$TMPDIR = _ ]; then
|
|
TMPDIR=/var/tmp
|
|
echo Setting TMPDIR="$TMPDIR".
|
|
export TMPDIR
|
|
fi
|
|
|
|
exec %%PREFIX%%/lib/vmware/bin/vmware-wizard "$@"
|