diff options
author | Makoto Matsushita <matusita@FreeBSD.org> | 2003-07-24 15:34:44 +0000 |
---|---|---|
committer | Makoto Matsushita <matusita@FreeBSD.org> | 2003-07-24 15:34:44 +0000 |
commit | 4e3da8e744b6b22a2e5ffeb0360e3023f9405f5d (patch) | |
tree | fa38b92be0e576bbbd2d6b6e1b93e786fe2b4bc7 /emulators/vmware-tools6/Makefile | |
parent | ee8a3c2a6110465e8e7d692d175fa33360a30e84 (diff) | |
download | ports-4e3da8e744b6b22a2e5ffeb0360e3023f9405f5d.tar.gz ports-4e3da8e744b6b22a2e5ffeb0360e3023f9405f5d.zip |
Notes
Diffstat (limited to 'emulators/vmware-tools6/Makefile')
-rw-r--r-- | emulators/vmware-tools6/Makefile | 88 |
1 files changed, 7 insertions, 81 deletions
diff --git a/emulators/vmware-tools6/Makefile b/emulators/vmware-tools6/Makefile index 9c8e1b1d5303..6b376e402e01 100644 --- a/emulators/vmware-tools6/Makefile +++ b/emulators/vmware-tools6/Makefile @@ -5,90 +5,16 @@ # $FreeBSD$ # -PORTNAME= vmware-tools -PORTVERSION= ${VMWARE_VER}.${BUILD_VER} -CATEGORIES= emulators +PORTNAME= vmware MASTER_SITES= # bundled with VMware itself -DISTNAME= vmware-freebsd-tools +PKGNAMESUFFIX?= -tools -MAINTAINER= matusita@FreeBSD.org COMMENT=VMware tools for guest OS (for VMware 4.x, FreeBSD version) -LIB_DEPENDS= c.3:${PORTSDIR}/misc/compat3x -RUN_DEPENDS= ${LOCALBASE}/sbin/vmware-guestd:${PORTSDIR}/emulators/vmware-guestd4 +MASTERDIR= ${.CURDIR}/../vmware-guestd4 +DESCR= ${PKGDIR}/pkg-descr.tools +PLIST= ${PKGDIR}/pkg-plist.tools -DISTDIR= ${MOUNT_PT} -IGNOREFILES= ${DISTFILES} -WRKSRC= ${WRKDIR}/vmware-freebsd-tools +VMWARE_X_PORTS= YES -ONLY_FOR_ARCHS= i386 -USE_X_PREFIX= yes -NO_BUILD= yes -.if !defined(BATCH) -IS_INTERACTIVE= yes -.endif - -RESTRICTED= "Not sure if we can redistribute this." -NO_PACKAGE= ${RESTRICTED} - -VMWARE_VER= 4.0.0 -BUILD_VER= 4460 - -MOUNT_DEV?= /dev/acd0c -MOUNT_PT?= /mnt -MOUNT= /sbin/mount -UMOUNT= /sbin/umount - -.include <bsd.port.pre.mk> - -.if ${XFREE86_VERSION} == 3 -PLIST_SUB+= INSTALLXSERVER:="" -.else -PLIST_SUB+= INSTALLXSERVER:="@comment " -.endif - -do-fetch: - @${DO_NADA} -fetch-list: - @${DO_NADA} - -pre-extract: - @${ECHO} "" - @${ECHO} "========================================================================" - @${ECHO} "Choose \"File\" -> \"Install VMware Tools...\" from the Workstation menu" - @${ECHO} "to connect the VM's CD-ROM drive temporarily to installation CD image." - @${ECHO} "========================================================================" - @${ECHO} "" -.if !defined(BATCH) - @${ECHO} "This port mounts ${MOUNT_DEV} to ${MOUNT_PT}." - @${ECHO} "" - @${ECHO} -n "Are you ready? [Y/n]: " - @(read line; \ - case "$${line}" in \ - [Nn]*) \ - ${FALSE} ;; \ - *) \ - ${TRUE} ;; \ - esac) -.endif - ${MKDIR} ${MOUNT_PT} - -${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null - -${UMOUNT} ${MOUNT_DEV} 2>&1 >/dev/null - ${MOUNT} -t cd9660 ${MOUNT_DEV} ${MOUNT_PT} - -post-extract: - ${UMOUNT} ${MOUNT_PT} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/vmware-toolbox ${PREFIX}/bin -.if ${XFREE86_VERSION} == 3 - ${INSTALL_PROGRAM} ${WRKSRC}/XF86_VMware ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/XF86Config.dist ${PREFIX}/etc/XF86Config_VMware - @${ECHO} "" - @${ECHO} "You have installed XFree86 3.x X Server for VMware." - @${ECHO} "${PREFIX}/etc/XF86Config_VMware is a sample XF86Config file." - @${ECHO} "Copy this file to /etc/XF86Config before starting X." -.endif - -${LOCALBASE}/sbin/vmware-guestd --cmd toolinstall.end - -.include <bsd.port.post.mk> +.include "${MASTERDIR}/Makefile" |