# New ports collection makefile for: VMware tools for FreeBSD # Date created: 10 Aug 2000 # Whom: matusita@jp.FreeBSD.org # # $FreeBSD$ # PORTNAME= vmware PORTVERSION= ${VMWARE_VER}.${BUILD_VER} PORTREVISION?= 2 CATEGORIES= emulators kld MASTER_SITES= # bundled with VMware Workstation PKGNAMESUFFIX?= -guestd DISTNAME= vmware-freebsd-tools MAINTAINER= ports@FreeBSD.org COMMENT?=VMware guest OS supporting daemon (VMware Workstation 6.x, FreeBSD version) .if defined(VMWARE_X_PORTS) RUN_DEPENDS= ${LOCALBASE}/sbin/vmware-guestd:${PORTSDIR}/emulators/vmware-guestd6 .endif DISTDIR= ${MOUNT_PT} IGNOREFILES= ${DISTFILES} WRKSRC= ${WRKDIR}/vmware-tools-distrib ONLY_FOR_ARCHS= i386 amd64 IS_INTERACTIVE= yes RESTRICTED= "Not sure if we can redistribute this." NO_PACKAGE= ${RESTRICTED} VMWARE_VER= 6.0.3 BUILD_VER= 80004 WANT_GNOME= yes .include .if defined(VMWARE_X_PORTS) USE_XORG= x11 NO_BUILD= yes .if ${ARCH} == amd64 WITH_VMWARE_GTK= yes PLIST_SUB+= INSTALLXTCLTOOL="@comment " .else PLIST_SUB+= INSTALLXTCLTOOL="" .endif .if defined(WITH_VMWARE_GTK) PLIST_SUB+= INSTALLXGTKTOOL="" USE_ICONV= yes USE_GETTEXT= yes USE_GNOME+= glib12 gtk12 .else PLIST_SUB+= INSTALLXGTKTOOL="@comment " .endif .else USE_RC_SUBR= vmware-guestd .endif .if ${OSVERSION} >= 700000 LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x .endif MOUNT_DEV?= /dev/acd0 MOUNT_PT?= /mnt MOUNT= /sbin/mount UMOUNT= /sbin/umount .if ${ARCH} == i386 BITS?= 32 .else # ${ARCH} == amd64 BITS?= 64 .endif OSSFX?= -6 .if defined(VMWARE_X_PORTS) PLIST_SUB+= INSTALLXSERVER4="@comment " PLIST_SUB+= INSTALLXMODULES="@comment " .else VMWARE_KMODDIR= ${PREFIX}/lib/vmware-tools/modules .if !defined(WITHOUT_VMWARE_VMMEMCTL) && exists(/usr/src/sys/Makefile) WITH_VMWARE_VMMEMCTL=YES .endif .if !defined(WITHOUT_VMWARE_VMXNET) && (${BITS} == 32) WITH_VMWARE_VMXNET=YES .endif .if defined(WITH_VMWARE_VMMEMCTL) PLIST_SUB+= VMWARE_VMMEMCTL="" .else PLIST_SUB+= VMWARE_VMMEMCTL="@comment " .endif .if defined(WITH_VMWARE_VMXNET) .if ${OSVERSION} < 700000 PLIST_SUB+= VMWARE_VMXNET="" .if ${BITS} == 32 VMWARE_VMXNET_PATH= 6.0-i386/vmxnet.ko .else # VMware doesn't provide 6.0-amd64/vmxnet.ko .undef WITH_VMWARE_VMXNET PLIST_SUB+= VMWARE_VMXNET="@comment " .endif .else # VMware doesn't provide vmxnet.ko for other versions .undef WITH_VMWARE_VMXNET PLIST_SUB+= VMWARE_VMXNET="@comment " .endif .else PLIST_SUB+= VMWARE_VMXNET="@comment " .endif .if defined(WITH_VMWARE_VMMEMCTL) || defined(WITH_VMWARE_VMXNET) PLIST_SUB+= VMWARE_KMODDIR="" .else PLIST_SUB+= VMWARE_KMODDIR="@comment " .endif .endif fetch-list: @${DO_NADA} do-fetch: @${ECHO} "" @${ECHO} "========================================================================" @${ECHO} "Choose \"VM\" -> \"Install VMware Tools...\" from VMware Workstation" @${ECHO} "menu to connect VM's CD-ROM drive and installation CD image temporary." @${ECHO} "Press \"Install\" button when a dialog pops up." @${ECHO} "========================================================================" @${ECHO} "" .if !defined(BATCH) @${ECHO} "This port mounts ${MOUNT_DEV} to ${MOUNT_PT}." @${ECHO} "" @${ECHO} -n "Are you ready? [Y/n]: " @(read line; \ case "$${line}" in \ [Nn]*) \ ${FALSE} ;; \ *) \ ${TRUE} ;; \ esac) .endif ${MKDIR} ${MOUNT_PT} -${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null -${UMOUNT} ${MOUNT_DEV} 2>&1 >/dev/null ${MOUNT} -t cd9660 ${MOUNT_DEV} ${MOUNT_PT} post-extract: ${UMOUNT} ${MOUNT_PT} .if defined(WITH_VMWARE_VMMEMCTL) (cd ${WRKDIR}; ${TAR} xf ${WRKSRC}/lib/modules/source/vmmemctl.tar) .endif .if defined(VMWARE_X_PORTS) do-install: .if ${ARCH} == i386 ${INSTALL_PROGRAM} ${WRKSRC}/lib/bin${BITS}${OSSFX}/vmware-toolbox-tcl ${LOCALBASE}/bin .endif .if defined(WITH_VMWARE_GTK) ${INSTALL_PROGRAM} ${WRKSRC}/lib/bin${BITS}${OSSFX}/vmware-toolbox-gtk ${LOCALBASE}/bin ${LN} -sfh vmware-toolbox-gtk ${LOCALBASE}/bin/vmware-toolbox .else ${LN} -sfh vmware-toolbox-tcl ${LOCALBASE}/bin/vmware-toolbox .endif -${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-guestd --cmd toolinstall.end 2>&1 .else post-patch: LC_ALL=C ${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \ ${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-checkvm do-build: .if defined(WITH_VMWARE_VMMEMCTL) (cd ${WRKDIR}/vmmemctl-only; make) .endif do-install: @if [ -f ${PREFIX}/etc/rc.d/${USE_RC_SUBR} ]; then \ ${ECHO_CMD} "Remove old ${PREFIX}/etc/rc.d/${USE_RC_SUBR} before install."; \ exit 1; \ fi ${INSTALL_PROGRAM} ${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-guestd ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-checkvm ${PREFIX}/sbin .if defined(WITH_VMWARE_VMMEMCTL) ${MKDIR} ${VMWARE_KMODDIR} ${INSTALL_KLD} ${WRKDIR}/vmmemctl-only/vmmemctl.ko ${VMWARE_KMODDIR} .endif .if defined(WITH_VMWARE_VMXNET) ${MKDIR} ${VMWARE_KMODDIR} ${INSTALL_KLD} ${WRKSRC}/lib/modules/binary/FreeBSD${VMWARE_VMXNET_PATH} ${VMWARE_KMODDIR} .endif -${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-guestd --cmd toolinstall.end 2>&1 ${MKDIR} ${PREFIX}/share/vmware-tools ${INSTALL_DATA} ${WRKSRC}/doc/open_source_licenses.txt ${PREFIX}/share/vmware-tools ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/poweroff-vm-default ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/poweron-vm-default ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/resume-vm-default ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/suspend-vm-default ${LN} -sfh ${PREFIX}/share/vmware-tools /etc/vmware-tools .endif .include d>2001-06-071-17/+0 * Note that I think I may have CVS Tag problems at least with the changelog.Aaron Weber2001-06-076-79/+109 * added questions about KDE, redid other questions.Aaron Weber2001-06-021-444/+516 * s/Helix Code/XimianFederico Mena Quintero2001-05-252-2/+6 * Untabify.Ettore Perazzoli2001-05-231-732/+732 * Add Emacs-like local variable settings to disable `indent-tabs-mode'.Ettore Perazzoli2001-05-231-1/+5 * More (minor) indentation fixes.Ettore Perazzoli2001-05-231-7/+7 * Re-indented the FAQ document.Ettore Perazzoli2001-05-232-438/+425 * Added evolution-faq as an entity.Aaron Weber2001-05-223-537/+598 * doc/C/evolution.sgml - Pulled my name from copyright listKevin Breit2001-05-221-1/+0 * Updated to ignore more built files.Ettore Perazzoli2001-05-201-6/+8 * Added a lot of new content. Fixed old content. Validated. Still need toAaron Weber2001-05-194-600/+265 * Added two questions about importing Outlook (text from Iain). Fixed someDuncan Mak2001-05-192-2/+76 * Added a question about the need for write permissions onEttore Perazzoli2001-05-181-0/+5 * Added a question about the need for write permissions onEttore Perazzoli2001-05-181-0/+21 * Return the serialized EDestinations (rather than just a string w/ e-mailJon Trowbridge2001-05-184-54/+52 * Fixed Grammar, edited a few answers, did the vfolder thing.Aaron Weber2001-05-171-22/+30 * Get the User guide and the Evolution FAQ to be installed into separateEttore Perazzoli2001-05-162-6/+25 * Evolution users worldwide, rejoice! We have a FAQ. (Yes, it stillEttore Perazzoli2001-05-162-6/+762 * yea...Jeffrey Stedfast2001-05-161-0/+3 * I've said it before and I'll say it again... man am I a dumb schmuckJeffrey Stedfast2001-05-161-0/+536 * yes, I am a dumbassJeffrey Stedfast2001-05-161-0/+791 * oops, I guess this file does belong hereJeffrey Stedfast2001-05-161-0/+301 * updated .cvsignoreJeffrey Stedfast2001-05-162-0/+3 * Removed some evolution-*-decl.txt files since these are autogenerated byJeffrey Stedfast2001-05-166-1/+29 * added file for ScrollkeeperKevin Breit2001-05-151-0/+14 * ShushJP Rosevear2001-05-084-7/+13 * UpdateKjartan Maraas2001-04-261-0/+1 * Update this a bitKjartan Maraas2001-04-261-6/+6 * Removed generated files from CVS, updated .cvsignore files to includeJon Trowbridge2001-04-2619-1698/+141 * Changed dependency for install-data-local from "evolution" toJon Trowbridge2001-04-242-1/+6 * Port builddir != srcdir patch from the evolution-0-10-branch.Ettore Perazzoli2001-04-246-7/+20 * Re-commit ChangeLog.Ettore Perazzoli2001-04-241-2/+0 * Documentation building fixes merged from the evolution-0-10-branch:Ettore Perazzoli2001-04-245-18/+34 * changed path to the importer header files, since we've had reports thatDamon Chaplin2001-04-212-3/+9 * Fixed typoHector Garcia2001-04-201-18/+19 * Fixed bug that prevented new translationsHector Garcia2001-04-201-2/+11 * Updated Spanish TranslationHector Garcia2001-04-2016-233/+404 * s/helixcode/ximian (How I missed this page on the first go-round I don'tAaron Weber2001-04-184-19/+24 * Pull up fix from the branch:Ettore Perazzoli2001-04-185-7/+15 * Updated Spanish translation.Hector Garcia2001-03-222-2/+281 * Updated Spanish TranslationHector Garcia2001-03-161-1/+64 * Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-151-0/+2 * create doc/devel/executive-summary/MakefileGediminas Paulauskas2001-03-152-2/+5 * Deleting some files that should not have been added in the first placeHector Garcia2001-03-142-59/+0 * Adding files to help translating evolution guide using a .po wayHector Garcia2001-03-1439-0/+19852 * IMAP subscriptions stuff.Aaron Weber2001-02-232-1/+35 * Advanced search/show all/save search stuff.Aaron Weber2001-02-225-14/+61 * Validated. Verified. Markup fixed in several individual files.Aaron Weber2001-02-165-883/+16 * Added summary of services, with summary service summaries.Aaron Weber2001-02-143-115/+174 * Overhaul. Now accurate and truthful and clear.Aaron Weber2001-02-106-58/+136 * Minor Changes.Aaron Weber2001-02-097-108/+168 * s/contact manager/address book/ and revised text.Aaron Weber2001-02-085-47/+69 * Final docs.Iain Holmes2001-02-023-2/+18 * More docs...Iain Holmes2001-02-027-51/+76 * Wheeee pretty documentationIain Holmes2001-02-0214-0/+1097 * Change (nonexistant) importer.sgml references to evolution-importer.sgmlJohn R. Sheets2001-01-282-12/+17 * Doc updates - FedericoFederico Mena Quintero2001-01-203-228/+228 * create a new cal component alarm (cal_component_add_alarm): add alarm toJP Rosevear2001-01-193-230/+245 * More of Megan's revisions, and Field Chooser functions in the SortAaron Weber2001-01-196-242/+290 * Um, why was the doc directory removed from SUBDIRS?Federico Mena Quintero2001-01-191-18/+18 * Use "typedef enum { ... } Blah;" instead of "typedef enum _Blah Blah; enumFederico Mena Quintero2001-01-184-51/+46 * Some API documentation for the importerIain Holmes2001-01-1816-2/+465 * Ximianified.Federico Mena Quintero2001-01-1713-290/+376 * remove old config messageJP Rosevear2001-01-151-82/+82 * pass -module and -avoid-version to conduit linkerJP Rosevear2001-01-144-168/+144 * Make it work when gtk-doc is not installed.Federico Mena Quintero2001-01-116-0/+91 * More Makefile organization to compileMiguel de Icaza2001-01-1010-121/+71 * Added calendar/gui/alarm-notify/Makefile.Federico Mena Quintero2001-01-102-83/+93 * Remove non-existent fileJP Rosevear2001-01-052-92/+91 * Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-033-136/+136 * Remove deleted fileJP Rosevear2000-12-234-137/+136 * Alarm trigger queueing for the GUI part.Federico Mena Quintero2000-12-232-11/+11 * Added proper dependency lists to the gtk-doc mess.Federico Mena Quintero2000-12-2016-562/+875 * Alarm instance generation support for the Wombat.Federico Mena Quintero2000-12-195-0/+69 * Revisions as suggested by Dan. Especially to filter dialogs... which stillAaron Weber2000-12-154-125/+189 * make it public-reference.sgml not referenc.sgml here.Larry Ewing2000-12-142-1/+6 * upd.Michael Meeks2000-12-101-1/+5 * upd.Michael Meeks2000-12-051-0/+33 * return NULL if we can't create a view.Michael Meeks2000-12-051-0/+28 * Finished the calendar architecture chapter.Federico Mena Quintero2000-11-302-3/+76 * added some <glossterms>, added linkends to existing glossterms.Aaron Weber2000-11-3010-107/+342 * Added an id for the API reference <part>. Added the FDL <legalnotice>.Federico Mena Quintero2000-11-3011-87/+963 * Fixed validation errors.Aaron Weber2000-11-028-217/+610 * added composer keybindings descriptionRadek Doulik2000-11-022-0/+13 * Add Keybindings, please populateMiguel de Icaza2000-11-021-0/+4 * Actions -> New Directory Server added.Aaron Weber2000-10-265-11/+111 * Re-checked validity of all files. Made minor changes to menuref.sgml,Aaron Weber2000-10-129-67/+99 * Re-took most screenshots; last batch had wrong Sawfish theme.Aaron Weber2000-10-1112-76/+174 * Described Search features.Aaron Weber2000-10-059-180/+410 * Spellcheck. Fixed some wording, and responded to clahey's suggestions--Aaron Weber2000-10-0411-391/+503 * Switched to the "official" FSF markup. I will have to make changes to theAaron Weber2000-09-226-795/+649 * Fixed sig stuff here and in setupassist.Aaron Weber2000-09-205-35/+46 * Fixed to install the stylesheet-images as well.Federico Mena Quintero2000-09-204-7/+22 * Made the toplevel <book> id be "index".Federico Mena Quintero2000-09-162-1/+6 * The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-7/+0 * contact-editor.png, mail-composer.png, filter-assist-fig.png,Aaron Weber2000-09-084-0/+0 * Redid "soft" intro stuff, worked on mail a little. minor commit.Aaron Weber2000-09-082-19/+21 * Accidentally broke docs, now valid.Aaron Weber2000-09-087-188/+298 * Grammar, links, screenshots.Aaron Weber2000-09-067-0/+0 * Added coverage of news, clarified POP/IMAP distinction (there's a theme toAaron Weber2000-09-024-47/+136 * Added regular expressions to glossary. Explanation should be removed fromAaron Weber2000-08-316-223/+262 * Added "quickref and pointers" sections. Props to O'Reilly for the copy ofAaron Weber2000-08-315-58/+326 * Redid filter and vFolder assistant descriptions.Aaron Weber2000-08-255-133/+641 * Message Composer File and Edit menus.Aaron Weber2000-08-242-2/+193 * Added editor sections.Aaron Weber2000-08-232-1/+29 * Included Menu Reference Appendix.Aaron Weber2000-08-235-112/+783 * Added the cal-util library to the documentation framework - FedericoFederico Mena Quintero2000-08-1522-24/+2536 * Fix make maintainer-cleanPeter Williams2000-08-102-1/+6