From 74a96290dd4d42fb77285789eee40ff023381a15 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Tue, 1 Apr 2008 23:55:32 +0000 Subject: Normalize package name. Fix FreeBSD 5 builds. --- emulators/open-vm-tools/Makefile | 8 +++++++- emulators/open-vm-tools/pkg-plist | 6 +++--- emulators/open-vm-tools/pkg-plist-x11 | 10 +++++----- 3 files changed, 15 insertions(+), 9 deletions(-) (limited to 'emulators/open-vm-tools') 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 +.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 -- cgit v1.2.3