aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2005-03-08 10:01:46 +0800
committermatusita <matusita@FreeBSD.org>2005-03-08 10:01:46 +0800
commit2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce (patch)
tree7636c0ada4694c0be6ff6385ae302b28a711f016 /emulators
parentf34c19390ca18a7df130406711e327a46724df9d (diff)
downloadfreebsd-ports-gnome-2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce.tar.gz
freebsd-ports-gnome-2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce.tar.zst
freebsd-ports-gnome-2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce.zip
Check OSVERSION to set appropriate default CD-ROM device name.
PR: ports/78539 Submitted by: Scot Hetzel <swhetzel at gmail dotcom> (mostly)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux-vmware-toolbox4/Makefile8
-rw-r--r--emulators/linux-vmware-toolbox5/Makefile8
-rw-r--r--emulators/linux-vmware-toolbox6/Makefile8
-rw-r--r--emulators/vmware-guestd3/Makefile8
-rw-r--r--emulators/vmware-guestd4/Makefile8
-rw-r--r--emulators/vmware-guestd5/Makefile8
-rw-r--r--emulators/vmware-guestd6/Makefile8
-rw-r--r--emulators/vmware-tools3/Makefile8
8 files changed, 52 insertions, 12 deletions
diff --git a/emulators/linux-vmware-toolbox4/Makefile b/emulators/linux-vmware-toolbox4/Makefile
index d19844e81f30..dfeabe42e3f1 100644
--- a/emulators/linux-vmware-toolbox4/Makefile
+++ b/emulators/linux-vmware-toolbox4/Makefile
@@ -37,7 +37,13 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 4.5.2
BUILD_VER= 8848
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+MOUNT_DEV?= /dev/acd0c
+.else
MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@@ -85,4 +91,4 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/linux-vmware-toolbox5/Makefile b/emulators/linux-vmware-toolbox5/Makefile
index d19844e81f30..dfeabe42e3f1 100644
--- a/emulators/linux-vmware-toolbox5/Makefile
+++ b/emulators/linux-vmware-toolbox5/Makefile
@@ -37,7 +37,13 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 4.5.2
BUILD_VER= 8848
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+MOUNT_DEV?= /dev/acd0c
+.else
MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@@ -85,4 +91,4 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/linux-vmware-toolbox6/Makefile b/emulators/linux-vmware-toolbox6/Makefile
index d19844e81f30..dfeabe42e3f1 100644
--- a/emulators/linux-vmware-toolbox6/Makefile
+++ b/emulators/linux-vmware-toolbox6/Makefile
@@ -37,7 +37,13 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 4.5.2
BUILD_VER= 8848
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+MOUNT_DEV?= /dev/acd0c
+.else
MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@@ -85,4 +91,4 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/vmware-guestd3/Makefile b/emulators/vmware-guestd3/Makefile
index 721a516a4f91..4c8880e8ee78 100644
--- a/emulators/vmware-guestd3/Makefile
+++ b/emulators/vmware-guestd3/Makefile
@@ -33,7 +33,13 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 3.2.1
BUILD_VER= 2237
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
MOUNT_DEV?= /dev/acd0c
+.else
+MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@@ -79,4 +85,4 @@ do-install:
fi
-${PREFIX}/sbin/vmware-guestd --cmd toolinstall.end
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/vmware-guestd4/Makefile b/emulators/vmware-guestd4/Makefile
index 320d4f37a4f8..d22f567208a3 100644
--- a/emulators/vmware-guestd4/Makefile
+++ b/emulators/vmware-guestd4/Makefile
@@ -43,13 +43,17 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 4.5.2
BUILD_VER= 8848
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+MOUNT_DEV?= /dev/acd0c
+.else
MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
-.include <bsd.port.pre.mk>
-
.if defined(VMWARE_X_PORTS)
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
diff --git a/emulators/vmware-guestd5/Makefile b/emulators/vmware-guestd5/Makefile
index 320d4f37a4f8..d22f567208a3 100644
--- a/emulators/vmware-guestd5/Makefile
+++ b/emulators/vmware-guestd5/Makefile
@@ -43,13 +43,17 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 4.5.2
BUILD_VER= 8848
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+MOUNT_DEV?= /dev/acd0c
+.else
MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
-.include <bsd.port.pre.mk>
-
.if defined(VMWARE_X_PORTS)
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile
index 320d4f37a4f8..d22f567208a3 100644
--- a/emulators/vmware-guestd6/Makefile
+++ b/emulators/vmware-guestd6/Makefile
@@ -43,13 +43,17 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 4.5.2
BUILD_VER= 8848
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+MOUNT_DEV?= /dev/acd0c
+.else
MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
-.include <bsd.port.pre.mk>
-
.if defined(VMWARE_X_PORTS)
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
diff --git a/emulators/vmware-tools3/Makefile b/emulators/vmware-tools3/Makefile
index 0539f216dbcb..5322675fdf2b 100644
--- a/emulators/vmware-tools3/Makefile
+++ b/emulators/vmware-tools3/Makefile
@@ -35,13 +35,17 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 3.2.1
BUILD_VER= 2237
+.include <bsd.port.pre.mk>
+
+if ${OSVERSION} < 500000
MOUNT_DEV?= /dev/acd0c
+.else
+MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
-.include <bsd.port.pre.mk>
-
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
PLIST_SUB+= INSTALLXSERVER:=""
.else