aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2008-04-01 23:55:32 +0000
committerMartin Blapp <mbr@FreeBSD.org>2008-04-01 23:55:32 +0000
commit74a96290dd4d42fb77285789eee40ff023381a15 (patch)
tree7e88efe064d9bf2f8937716a7cf10b2ccf35f709 /emulators
parent1c7d8480e8ce22001f2086b1bf7f33b0ab2df194 (diff)
downloadports-74a96290dd4d42fb77285789eee40ff023381a15.tar.gz
ports-74a96290dd4d42fb77285789eee40ff023381a15.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/open-vm-tools/Makefile8
-rw-r--r--emulators/open-vm-tools/pkg-plist6
-rw-r--r--emulators/open-vm-tools/pkg-plist-x1110
3 files changed, 15 insertions, 9 deletions
diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index b598618f7e09..3718bb37e7f7 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= open-vm-tools-FreeBSD${OSREL}-${ARCH}-Build
+PORTNAME= open-vm-tools
PORTVERSION= ${BUILD_VER}
CATEGORIES= emulators
DISTNAME= open-vm-tools-${RELEASE_DATE}-${BUILD_VER}
@@ -41,6 +41,12 @@ USE_RC_SUBR= vmware-guestd.sh
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 600000
+PLIST_SUB+= FIVEONLY="@comment "
+.else
+PLIST_SUB+= FIVEONLY=""
+.endif
+
post-build:
cd ${WRKSRC}/modules && make
diff --git a/emulators/open-vm-tools/pkg-plist b/emulators/open-vm-tools/pkg-plist
index e10588563978..91d6a5437c87 100644
--- a/emulators/open-vm-tools/pkg-plist
+++ b/emulators/open-vm-tools/pkg-plist
@@ -3,15 +3,15 @@ lib/libguestlib.so
lib/libguestlib.so.0
lib/vmware-tools/modules/drivers/vmmemctl.ko
lib/vmware-tools/modules/drivers/vmxnet.ko
-lib/vmware-tools/modules/drivers/vmhgfs.ko
-lib/vmware-tools/modules/drivers/vmblock.ko
+%%FIVEONLY%%lib/vmware-tools/modules/drivers/vmhgfs.ko
+%%FIVEONLY%%lib/vmware-tools/modules/drivers/vmblock.ko
share/vmware-tools/poweroff-vm-default
share/vmware-tools/poweron-vm-default
share/vmware-tools/resume-vm-default
share/vmware-tools/suspend-vm-default
sbin/vmware-guestd
sbin/vmware-checkvm
-sbin/vmware-hgfsmounter
+%%FIVEONLY%%sbin/vmware-hgfsmounter
sbin/vmware-xferlogs
@dirrm share/vmware-tools
@dirrmtry lib/vmware-tools/modules/drivers
diff --git a/emulators/open-vm-tools/pkg-plist-x11 b/emulators/open-vm-tools/pkg-plist-x11
index d49a5c5b7c7d..7a9d386b7f81 100644
--- a/emulators/open-vm-tools/pkg-plist-x11
+++ b/emulators/open-vm-tools/pkg-plist-x11
@@ -3,18 +3,18 @@ lib/libguestlib.so
lib/libguestlib.so.0
lib/vmware-tools/modules/drivers/vmmemctl.ko
lib/vmware-tools/modules/drivers/vmxnet.ko
-lib/vmware-tools/modules/drivers/vmhgfs.ko
-lib/vmware-tools/modules/drivers/vmblock.ko
+%%FIVEONLY%%lib/vmware-tools/modules/drivers/vmhgfs.ko
+%%FIVEONLY%%lib/vmware-tools/modules/drivers/vmblock.ko
share/vmware-tools/poweroff-vm-default
share/vmware-tools/poweron-vm-default
share/vmware-tools/resume-vm-default
share/vmware-tools/suspend-vm-default
sbin/vmware-guestd
sbin/vmware-checkvm
-sbin/vmware-hgfsmounter
+%%FIVEONLY%%sbin/vmware-hgfsmounter
sbin/vmware-xferlogs
-%%X11%%/sbin/vmware-toolbox
-%%X11%%/sbin/vmware-user
+%%X11%%sbin/vmware-toolbox
+%%X11%%sbin/vmware-user
@dirrm share/vmware-tools
@dirrmtry lib/vmware-tools/modules/drivers
@dirrmtry lib/vmware-tools/modules/input