summaryrefslogtreecommitdiff
path: root/emulators/vmware2/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-04-17 04:23:24 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-04-17 04:23:24 +0000
commitd0e24bc7e75f136bcf19992bc22d1b136f911514 (patch)
tree67bd46752cc8b09ea88896f5a24ed18406a3858d /emulators/vmware2/Makefile
parentAdd WWW (diff)
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.
Diffstat (limited to 'emulators/vmware2/Makefile')
-rw-r--r--emulators/vmware2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index deb68861d206..ee9f2c7e8912 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/Makefile
@@ -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