--- vmware-workstation-7.0.1.227600-r3.ebuild.orig 2010-03-11 16:40:21.327177589 +0100 +++ vmware-workstation-7.0.1.227600-r3.ebuild 2010-03-11 16:51:00.353155046 +0100 @@ -68,6 +68,7 @@ src_unpack() { bundle_extract_component "${DISTDIR}/${A}" vmware-player-app bundle_extract_component "${DISTDIR}/${A}" vmware-workstation + bundle_extract_component "${DISTDIR}/${A}" vmware-vix if use with-tools; then bundle_extract_component "${DISTDIR}/${A}" vmware-tools-freebsd bundle_extract_component "${DISTDIR}/${A}" vmware-tools-linux @@ -103,6 +104,7 @@ doins -r share # install documentation + docinto vmware-player dodoc doc/* @@ -123,6 +125,29 @@ # install documentation doman man/man1/vmware.1.gz + docinto vmware-workstation + dodoc doc/* + + cd "${S}"/vmware-vix + + # install the binary + into "${VM_INSTALL_DIR}" + dobin bin/* + + # install the libraries + insinto "${VM_INSTALL_DIR}"/lib/vmware + doins -r lib/* + + # install documentation + docinto vmware-vix + dodoc open_source_licenses.txt + dohtml -r doc/* + + # install headers + insinto /usr/include/vmware-vix + doins include/* + + # install the tools isos insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages @@ -143,7 +168,7 @@ dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware # fix up permissions - chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware/{bin/*,lib/{libgksu2.so.0/gksu-run-helper,wrapper-gtk24.sh}} + chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware/{setup/*,bin/*,lib/{libgksu2.so.0/gksu-run-helper,wrapper-gtk24.sh}} chmod 04711 "${D}${VM_INSTALL_DIR}"/sbin/vmware-authd chmod 04711 "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx*