mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add linux-vmware-toolbox, VMware toolbox for FreeBSD Guest OS
(full-featured Linux version). PR: ports/20612 Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> Modified by: knu
This commit is contained in:
parent
c26e98a061
commit
70dd3b7be8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31808
@ -17,6 +17,7 @@
|
||||
SUBDIR += hfsutils
|
||||
SUBDIR += ines
|
||||
SUBDIR += ksnes9x
|
||||
SUBDIR += linux-vmware-toolbox
|
||||
SUBDIR += linux_base
|
||||
SUBDIR += kmamerun
|
||||
SUBDIR += mastergear
|
||||
|
76
emulators/linux-vmware-toolbox/Makefile
Normal file
76
emulators/linux-vmware-toolbox/Makefile
Normal file
@ -0,0 +1,76 @@
|
||||
# New ports collection makefile for: VMware toolbox for Linux
|
||||
# Date created: 10 Aug 2000
|
||||
# Whom: matusita@jp.FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vmware-toolbox
|
||||
PORTVERSION= ${VMWARE_VER}.${BUILD_VER}
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= vmware-linux-tools
|
||||
|
||||
MAINTAINER= matusita@jp.FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
RESTRICTED= "Not sure if we can redistribute this."
|
||||
|
||||
LINUX_FLP?= ${DISTDIR}/linux.flp
|
||||
LINUX_DIR?= /compat/linux
|
||||
MOUNT_PT?= ${WRKDIR}/mnt
|
||||
.if exists(${LINUX_FLP})
|
||||
MOUNT_DEV?= vn0
|
||||
.else
|
||||
MOUNT_DEV?= fd0
|
||||
.endif
|
||||
VMWARE_VER= 2.0.2
|
||||
BUILD_VER= 621
|
||||
|
||||
MOUNT= /sbin/mount
|
||||
UMOUNT= /sbin/umount
|
||||
VNCONFIG= /usr/sbin/vnconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO} "========================================================================"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "To install this port, please do one of these:"
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 1. Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
|
||||
@${ECHO} " and choose the file \"linux.flp\"."
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 2. Manually put the file \"linux.flp\" in ${DISTDIR}."
|
||||
@${ECHO} ""
|
||||
@${ECHO} "========================================================================"
|
||||
|
||||
do-fetch:
|
||||
.if exists("${DISTDIR}/${DISTFILES}")
|
||||
@${ECHO} "Found ${DISTDIR}/${DISTFILES}."
|
||||
.else
|
||||
${MKDIR} ${MOUNT_PT}
|
||||
-@${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null
|
||||
-@${UMOUNT} /dev/${MOUNT_DEV} 2>&1 >/dev/null
|
||||
.if exists(${LINUX_FLP})
|
||||
-@${VNCONFIG} -u /dev/r${MOUNT_DEV} 2>&1 >/dev/null
|
||||
${VNCONFIG} -c /dev/r${MOUNT_DEV} ${LINUX_FLP}
|
||||
.endif
|
||||
${MOUNT} -t msdos -r /dev/${MOUNT_DEV} ${MOUNT_PT}
|
||||
${CP} ${MOUNT_PT}/${DISTFILES} ${DISTDIR}
|
||||
${UMOUNT} /dev/${MOUNT_DEV}
|
||||
.if exists(${LINUX_FLP})
|
||||
${VNCONFIG} -u /dev/r${MOUNT_DEV}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${CP} ${WRKSRC}/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
emulators/linux-vmware-toolbox/distinfo
Normal file
1
emulators/linux-vmware-toolbox/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (vmware-linux-tools.tar.gz) = 70f719cbcca112e5a5295ebfe40e28aa
|
1
emulators/linux-vmware-toolbox/pkg-comment
Normal file
1
emulators/linux-vmware-toolbox/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
VMware toolbox for FreeBSD Guest OS (full-featured Linux version)
|
15
emulators/linux-vmware-toolbox/pkg-descr
Normal file
15
emulators/linux-vmware-toolbox/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
This is the full-featured Linux version VMware toolbox for FreeBSD
|
||||
_Guest_ OS. Beware, this port is _not_ for FreeBSD _Host_ OS.
|
||||
|
||||
As VMware toolbox included in VMware tools for FreeBSD is not as good
|
||||
as that for Linux, it lacks some useful features such as time
|
||||
synchronization between the virtual machine and the Host OS. That is
|
||||
why this port is provided.
|
||||
|
||||
|
||||
Before installing this port, make sure you have a `linux.flp' file
|
||||
that comes with VMware:
|
||||
|
||||
Windows NT/2000: C:\Program Files\VMware\Programs\linux.flp
|
||||
Linux: /usr/lib/vmware/lib/floppies/linux.flp
|
||||
FreeBSD (via ports): ${PREFIX}/lib/vmware/lib/floppies/linux.flp
|
1
emulators/linux-vmware-toolbox/pkg-plist
Normal file
1
emulators/linux-vmware-toolbox/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/linux-vmware-toolbox
|
76
emulators/linux-vmware-toolbox2/Makefile
Normal file
76
emulators/linux-vmware-toolbox2/Makefile
Normal file
@ -0,0 +1,76 @@
|
||||
# New ports collection makefile for: VMware toolbox for Linux
|
||||
# Date created: 10 Aug 2000
|
||||
# Whom: matusita@jp.FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vmware-toolbox
|
||||
PORTVERSION= ${VMWARE_VER}.${BUILD_VER}
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= vmware-linux-tools
|
||||
|
||||
MAINTAINER= matusita@jp.FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
RESTRICTED= "Not sure if we can redistribute this."
|
||||
|
||||
LINUX_FLP?= ${DISTDIR}/linux.flp
|
||||
LINUX_DIR?= /compat/linux
|
||||
MOUNT_PT?= ${WRKDIR}/mnt
|
||||
.if exists(${LINUX_FLP})
|
||||
MOUNT_DEV?= vn0
|
||||
.else
|
||||
MOUNT_DEV?= fd0
|
||||
.endif
|
||||
VMWARE_VER= 2.0.2
|
||||
BUILD_VER= 621
|
||||
|
||||
MOUNT= /sbin/mount
|
||||
UMOUNT= /sbin/umount
|
||||
VNCONFIG= /usr/sbin/vnconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO} "========================================================================"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "To install this port, please do one of these:"
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 1. Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
|
||||
@${ECHO} " and choose the file \"linux.flp\"."
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 2. Manually put the file \"linux.flp\" in ${DISTDIR}."
|
||||
@${ECHO} ""
|
||||
@${ECHO} "========================================================================"
|
||||
|
||||
do-fetch:
|
||||
.if exists("${DISTDIR}/${DISTFILES}")
|
||||
@${ECHO} "Found ${DISTDIR}/${DISTFILES}."
|
||||
.else
|
||||
${MKDIR} ${MOUNT_PT}
|
||||
-@${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null
|
||||
-@${UMOUNT} /dev/${MOUNT_DEV} 2>&1 >/dev/null
|
||||
.if exists(${LINUX_FLP})
|
||||
-@${VNCONFIG} -u /dev/r${MOUNT_DEV} 2>&1 >/dev/null
|
||||
${VNCONFIG} -c /dev/r${MOUNT_DEV} ${LINUX_FLP}
|
||||
.endif
|
||||
${MOUNT} -t msdos -r /dev/${MOUNT_DEV} ${MOUNT_PT}
|
||||
${CP} ${MOUNT_PT}/${DISTFILES} ${DISTDIR}
|
||||
${UMOUNT} /dev/${MOUNT_DEV}
|
||||
.if exists(${LINUX_FLP})
|
||||
${VNCONFIG} -u /dev/r${MOUNT_DEV}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${CP} ${WRKSRC}/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
emulators/linux-vmware-toolbox2/distinfo
Normal file
1
emulators/linux-vmware-toolbox2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (vmware-linux-tools.tar.gz) = 70f719cbcca112e5a5295ebfe40e28aa
|
1
emulators/linux-vmware-toolbox2/pkg-comment
Normal file
1
emulators/linux-vmware-toolbox2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
VMware toolbox for FreeBSD Guest OS (full-featured Linux version)
|
15
emulators/linux-vmware-toolbox2/pkg-descr
Normal file
15
emulators/linux-vmware-toolbox2/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
This is the full-featured Linux version VMware toolbox for FreeBSD
|
||||
_Guest_ OS. Beware, this port is _not_ for FreeBSD _Host_ OS.
|
||||
|
||||
As VMware toolbox included in VMware tools for FreeBSD is not as good
|
||||
as that for Linux, it lacks some useful features such as time
|
||||
synchronization between the virtual machine and the Host OS. That is
|
||||
why this port is provided.
|
||||
|
||||
|
||||
Before installing this port, make sure you have a `linux.flp' file
|
||||
that comes with VMware:
|
||||
|
||||
Windows NT/2000: C:\Program Files\VMware\Programs\linux.flp
|
||||
Linux: /usr/lib/vmware/lib/floppies/linux.flp
|
||||
FreeBSD (via ports): ${PREFIX}/lib/vmware/lib/floppies/linux.flp
|
1
emulators/linux-vmware-toolbox2/pkg-plist
Normal file
1
emulators/linux-vmware-toolbox2/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/linux-vmware-toolbox
|
76
emulators/linux-vmware-toolbox4/Makefile
Normal file
76
emulators/linux-vmware-toolbox4/Makefile
Normal file
@ -0,0 +1,76 @@
|
||||
# New ports collection makefile for: VMware toolbox for Linux
|
||||
# Date created: 10 Aug 2000
|
||||
# Whom: matusita@jp.FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vmware-toolbox
|
||||
PORTVERSION= ${VMWARE_VER}.${BUILD_VER}
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= vmware-linux-tools
|
||||
|
||||
MAINTAINER= matusita@jp.FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
RESTRICTED= "Not sure if we can redistribute this."
|
||||
|
||||
LINUX_FLP?= ${DISTDIR}/linux.flp
|
||||
LINUX_DIR?= /compat/linux
|
||||
MOUNT_PT?= ${WRKDIR}/mnt
|
||||
.if exists(${LINUX_FLP})
|
||||
MOUNT_DEV?= vn0
|
||||
.else
|
||||
MOUNT_DEV?= fd0
|
||||
.endif
|
||||
VMWARE_VER= 2.0.2
|
||||
BUILD_VER= 621
|
||||
|
||||
MOUNT= /sbin/mount
|
||||
UMOUNT= /sbin/umount
|
||||
VNCONFIG= /usr/sbin/vnconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO} "========================================================================"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "To install this port, please do one of these:"
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 1. Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
|
||||
@${ECHO} " and choose the file \"linux.flp\"."
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 2. Manually put the file \"linux.flp\" in ${DISTDIR}."
|
||||
@${ECHO} ""
|
||||
@${ECHO} "========================================================================"
|
||||
|
||||
do-fetch:
|
||||
.if exists("${DISTDIR}/${DISTFILES}")
|
||||
@${ECHO} "Found ${DISTDIR}/${DISTFILES}."
|
||||
.else
|
||||
${MKDIR} ${MOUNT_PT}
|
||||
-@${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null
|
||||
-@${UMOUNT} /dev/${MOUNT_DEV} 2>&1 >/dev/null
|
||||
.if exists(${LINUX_FLP})
|
||||
-@${VNCONFIG} -u /dev/r${MOUNT_DEV} 2>&1 >/dev/null
|
||||
${VNCONFIG} -c /dev/r${MOUNT_DEV} ${LINUX_FLP}
|
||||
.endif
|
||||
${MOUNT} -t msdos -r /dev/${MOUNT_DEV} ${MOUNT_PT}
|
||||
${CP} ${MOUNT_PT}/${DISTFILES} ${DISTDIR}
|
||||
${UMOUNT} /dev/${MOUNT_DEV}
|
||||
.if exists(${LINUX_FLP})
|
||||
${VNCONFIG} -u /dev/r${MOUNT_DEV}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${CP} ${WRKSRC}/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
emulators/linux-vmware-toolbox4/distinfo
Normal file
1
emulators/linux-vmware-toolbox4/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (vmware-linux-tools.tar.gz) = 70f719cbcca112e5a5295ebfe40e28aa
|
1
emulators/linux-vmware-toolbox4/pkg-comment
Normal file
1
emulators/linux-vmware-toolbox4/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
VMware toolbox for FreeBSD Guest OS (full-featured Linux version)
|
15
emulators/linux-vmware-toolbox4/pkg-descr
Normal file
15
emulators/linux-vmware-toolbox4/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
This is the full-featured Linux version VMware toolbox for FreeBSD
|
||||
_Guest_ OS. Beware, this port is _not_ for FreeBSD _Host_ OS.
|
||||
|
||||
As VMware toolbox included in VMware tools for FreeBSD is not as good
|
||||
as that for Linux, it lacks some useful features such as time
|
||||
synchronization between the virtual machine and the Host OS. That is
|
||||
why this port is provided.
|
||||
|
||||
|
||||
Before installing this port, make sure you have a `linux.flp' file
|
||||
that comes with VMware:
|
||||
|
||||
Windows NT/2000: C:\Program Files\VMware\Programs\linux.flp
|
||||
Linux: /usr/lib/vmware/lib/floppies/linux.flp
|
||||
FreeBSD (via ports): ${PREFIX}/lib/vmware/lib/floppies/linux.flp
|
1
emulators/linux-vmware-toolbox4/pkg-plist
Normal file
1
emulators/linux-vmware-toolbox4/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/linux-vmware-toolbox
|
76
emulators/linux-vmware-toolbox5/Makefile
Normal file
76
emulators/linux-vmware-toolbox5/Makefile
Normal file
@ -0,0 +1,76 @@
|
||||
# New ports collection makefile for: VMware toolbox for Linux
|
||||
# Date created: 10 Aug 2000
|
||||
# Whom: matusita@jp.FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vmware-toolbox
|
||||
PORTVERSION= ${VMWARE_VER}.${BUILD_VER}
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= vmware-linux-tools
|
||||
|
||||
MAINTAINER= matusita@jp.FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
RESTRICTED= "Not sure if we can redistribute this."
|
||||
|
||||
LINUX_FLP?= ${DISTDIR}/linux.flp
|
||||
LINUX_DIR?= /compat/linux
|
||||
MOUNT_PT?= ${WRKDIR}/mnt
|
||||
.if exists(${LINUX_FLP})
|
||||
MOUNT_DEV?= vn0
|
||||
.else
|
||||
MOUNT_DEV?= fd0
|
||||
.endif
|
||||
VMWARE_VER= 2.0.2
|
||||
BUILD_VER= 621
|
||||
|
||||
MOUNT= /sbin/mount
|
||||
UMOUNT= /sbin/umount
|
||||
VNCONFIG= /usr/sbin/vnconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO} "========================================================================"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "To install this port, please do one of these:"
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 1. Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
|
||||
@${ECHO} " and choose the file \"linux.flp\"."
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 2. Manually put the file \"linux.flp\" in ${DISTDIR}."
|
||||
@${ECHO} ""
|
||||
@${ECHO} "========================================================================"
|
||||
|
||||
do-fetch:
|
||||
.if exists("${DISTDIR}/${DISTFILES}")
|
||||
@${ECHO} "Found ${DISTDIR}/${DISTFILES}."
|
||||
.else
|
||||
${MKDIR} ${MOUNT_PT}
|
||||
-@${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null
|
||||
-@${UMOUNT} /dev/${MOUNT_DEV} 2>&1 >/dev/null
|
||||
.if exists(${LINUX_FLP})
|
||||
-@${VNCONFIG} -u /dev/r${MOUNT_DEV} 2>&1 >/dev/null
|
||||
${VNCONFIG} -c /dev/r${MOUNT_DEV} ${LINUX_FLP}
|
||||
.endif
|
||||
${MOUNT} -t msdos -r /dev/${MOUNT_DEV} ${MOUNT_PT}
|
||||
${CP} ${MOUNT_PT}/${DISTFILES} ${DISTDIR}
|
||||
${UMOUNT} /dev/${MOUNT_DEV}
|
||||
.if exists(${LINUX_FLP})
|
||||
${VNCONFIG} -u /dev/r${MOUNT_DEV}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${CP} ${WRKSRC}/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
emulators/linux-vmware-toolbox5/distinfo
Normal file
1
emulators/linux-vmware-toolbox5/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (vmware-linux-tools.tar.gz) = 70f719cbcca112e5a5295ebfe40e28aa
|
1
emulators/linux-vmware-toolbox5/pkg-comment
Normal file
1
emulators/linux-vmware-toolbox5/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
VMware toolbox for FreeBSD Guest OS (full-featured Linux version)
|
15
emulators/linux-vmware-toolbox5/pkg-descr
Normal file
15
emulators/linux-vmware-toolbox5/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
This is the full-featured Linux version VMware toolbox for FreeBSD
|
||||
_Guest_ OS. Beware, this port is _not_ for FreeBSD _Host_ OS.
|
||||
|
||||
As VMware toolbox included in VMware tools for FreeBSD is not as good
|
||||
as that for Linux, it lacks some useful features such as time
|
||||
synchronization between the virtual machine and the Host OS. That is
|
||||
why this port is provided.
|
||||
|
||||
|
||||
Before installing this port, make sure you have a `linux.flp' file
|
||||
that comes with VMware:
|
||||
|
||||
Windows NT/2000: C:\Program Files\VMware\Programs\linux.flp
|
||||
Linux: /usr/lib/vmware/lib/floppies/linux.flp
|
||||
FreeBSD (via ports): ${PREFIX}/lib/vmware/lib/floppies/linux.flp
|
1
emulators/linux-vmware-toolbox5/pkg-plist
Normal file
1
emulators/linux-vmware-toolbox5/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/linux-vmware-toolbox
|
76
emulators/linux-vmware-toolbox6/Makefile
Normal file
76
emulators/linux-vmware-toolbox6/Makefile
Normal file
@ -0,0 +1,76 @@
|
||||
# New ports collection makefile for: VMware toolbox for Linux
|
||||
# Date created: 10 Aug 2000
|
||||
# Whom: matusita@jp.FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vmware-toolbox
|
||||
PORTVERSION= ${VMWARE_VER}.${BUILD_VER}
|
||||
CATEGORIES= emulators linux
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= vmware-linux-tools
|
||||
|
||||
MAINTAINER= matusita@jp.FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
RESTRICTED= "Not sure if we can redistribute this."
|
||||
|
||||
LINUX_FLP?= ${DISTDIR}/linux.flp
|
||||
LINUX_DIR?= /compat/linux
|
||||
MOUNT_PT?= ${WRKDIR}/mnt
|
||||
.if exists(${LINUX_FLP})
|
||||
MOUNT_DEV?= vn0
|
||||
.else
|
||||
MOUNT_DEV?= fd0
|
||||
.endif
|
||||
VMWARE_VER= 2.0.2
|
||||
BUILD_VER= 621
|
||||
|
||||
MOUNT= /sbin/mount
|
||||
UMOUNT= /sbin/umount
|
||||
VNCONFIG= /usr/sbin/vnconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO} "========================================================================"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "To install this port, please do one of these:"
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 1. Select the menu item \"Devices -> floppy0 -> Edit\" on VMware,"
|
||||
@${ECHO} " and choose the file \"linux.flp\"."
|
||||
@${ECHO} ""
|
||||
@${ECHO} " 2. Manually put the file \"linux.flp\" in ${DISTDIR}."
|
||||
@${ECHO} ""
|
||||
@${ECHO} "========================================================================"
|
||||
|
||||
do-fetch:
|
||||
.if exists("${DISTDIR}/${DISTFILES}")
|
||||
@${ECHO} "Found ${DISTDIR}/${DISTFILES}."
|
||||
.else
|
||||
${MKDIR} ${MOUNT_PT}
|
||||
-@${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null
|
||||
-@${UMOUNT} /dev/${MOUNT_DEV} 2>&1 >/dev/null
|
||||
.if exists(${LINUX_FLP})
|
||||
-@${VNCONFIG} -u /dev/r${MOUNT_DEV} 2>&1 >/dev/null
|
||||
${VNCONFIG} -c /dev/r${MOUNT_DEV} ${LINUX_FLP}
|
||||
.endif
|
||||
${MOUNT} -t msdos -r /dev/${MOUNT_DEV} ${MOUNT_PT}
|
||||
${CP} ${MOUNT_PT}/${DISTFILES} ${DISTDIR}
|
||||
${UMOUNT} /dev/${MOUNT_DEV}
|
||||
.if exists(${LINUX_FLP})
|
||||
${VNCONFIG} -u /dev/r${MOUNT_DEV}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${CP} ${WRKSRC}/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
emulators/linux-vmware-toolbox6/distinfo
Normal file
1
emulators/linux-vmware-toolbox6/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (vmware-linux-tools.tar.gz) = 70f719cbcca112e5a5295ebfe40e28aa
|
1
emulators/linux-vmware-toolbox6/pkg-comment
Normal file
1
emulators/linux-vmware-toolbox6/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
VMware toolbox for FreeBSD Guest OS (full-featured Linux version)
|
15
emulators/linux-vmware-toolbox6/pkg-descr
Normal file
15
emulators/linux-vmware-toolbox6/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
This is the full-featured Linux version VMware toolbox for FreeBSD
|
||||
_Guest_ OS. Beware, this port is _not_ for FreeBSD _Host_ OS.
|
||||
|
||||
As VMware toolbox included in VMware tools for FreeBSD is not as good
|
||||
as that for Linux, it lacks some useful features such as time
|
||||
synchronization between the virtual machine and the Host OS. That is
|
||||
why this port is provided.
|
||||
|
||||
|
||||
Before installing this port, make sure you have a `linux.flp' file
|
||||
that comes with VMware:
|
||||
|
||||
Windows NT/2000: C:\Program Files\VMware\Programs\linux.flp
|
||||
Linux: /usr/lib/vmware/lib/floppies/linux.flp
|
||||
FreeBSD (via ports): ${PREFIX}/lib/vmware/lib/floppies/linux.flp
|
1
emulators/linux-vmware-toolbox6/pkg-plist
Normal file
1
emulators/linux-vmware-toolbox6/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/linux-vmware-toolbox
|
Loading…
Reference in New Issue
Block a user