Guest User

root

a guest
Dec 5th, 2009
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. # This is a shell archive. Save it in a file, remove anything before
  2. # this line, and then unpack it by entering "sh file". Note, it may
  3. # create directories; files and directories will be owned by you and
  4. # have default permissions.
  5. #
  6. # This archive contains:
  7. #
  8. # Makefile
  9. # distinfo
  10. # files
  11. # pkg-descr
  12. # pkg-plist
  13. #
  14. echo x - Makefile
  15. sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
  16. X# New ports collection makefile for: open-vm-tools for FreeBSD
  17. X# Date created: 28 Mar 2008
  18. X#
  19. X# $FreeBSD: ports/emulators/open-vm-tools/Makefile,v 1.34 2009/08/22 00:20:23 amdmi3 Exp $
  20. X#
  21. X
  22. XPORTNAME= open-vm-tools
  23. XPORTVERSION= ${BUILD_VER}
  24. XCATEGORIES= emulators kld
  25. XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${RELEASE_DATE}
  26. XDISTNAME= open-vm-tools-${RELEASE_DATE}-${BUILD_VER}
  27. X
  28. XMAINTAINER= [email protected]
  29. XCOMMENT?= Open VMware tools for FreeBSD VMware guests
  30. X
  31. XRELEASE_DATE= 2009.11.16
  32. XBUILD_VER= 210370
  33. X
  34. XWRKSRC= ${WRKDIR}/open-vm-tools-2009.11.17-210370
  35. XGNU_CONFIGURE= yes
  36. XUSE_LDCONFIG= yes
  37. X
  38. XCONFIGURE_ARGS+= --without-procps --sysconfdir=${LOCALBASE}/etc
  39. X.if defined(WITHOUT_X11)
  40. XLIB_DEPENDS+= glib-2.0:${PORTSDIR}/devel/glib20
  41. XCONFIGURE_ARGS+= --without-x --without-gtk2 --without-gtkmm
  42. XPLIST_SUB+= X11="@comment "
  43. XCONFLICTS= open-vm-tools-[0-9]*
  44. X.else
  45. X.if !defined(WITHOUT_LIBNOTIFY)
  46. XLIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
  47. X.endif
  48. X.if defined(WITH_UNITY)
  49. XCONFIGURE_ENV+= CUSTOM_URIPARSER_CPPFLAGS="-I${LOCALBASE}/include/uriparser"
  50. XLIB_DEPENDS+= uriparser.1:${PORTSDIR}/net/uriparser
  51. X.else
  52. XCONFIGURE_ARGS+= --disable-unity
  53. X.endif
  54. XLIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24
  55. XCONFIGURE_ARGS+= --with-x
  56. XCONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
  57. X CPPFLAGS="-I${LOCALBASE}/include"
  58. XUSE_XORG= x11 ice sm xext xineramaproto xinerama xrandr xrender \
  59. X xtst
  60. XUSE_GNOME= gtk20 glib20
  61. XPLIST_SUB+= X11=""
  62. XCONFLICTS= open-vm-tools-nox11-[0-9]*
  63. X.endif
  64. X
  65. X.if !defined(WITHOUT_FUSE)
  66. XLIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
  67. XRUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod
  68. XPLIST_SUB+= FUSE=""
  69. X.else
  70. XPLIST_SUB+= FUSE="@comment "
  71. X.endif
  72. X
  73. XCONFLICTS+= vmware-guestd[0-9]* vmware-tools[0-9]*
  74. XSUB_FILES= pkg-message
  75. X
  76. X.if defined(WITHOUT_DNET)
  77. XCONFIGURE_ARGS+= --without-dnet
  78. X.else
  79. XLIB_DEPENDS+= dnet:${PORTSDIR}/net/libdnet
  80. X.endif
  81. X
  82. X.if defined(WITHOUT_ICU)
  83. XCONFIGURE_ARGS+= --without-icu
  84. X.else
  85. XLIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu
  86. X.endif
  87. X
  88. XUSE_RC_SUBR= vmware-guestd.sh vmware-kmod.sh
  89. X
  90. X.include <bsd.port.pre.mk>
  91. X
  92. X.if ${OSVERSION} < 700000
  93. XBROKEN= does not compile on 6.X
  94. X.endif
  95. X
  96. X.if ${ARCH} == "sparc64"
  97. XIGNORE= not yet ported to sparc64
  98. X.endif
  99. X
  100. Xpost-build:
  101. X (cd ${WRKSRC}/modules && ${MAKE})
  102. X
  103. Xpost-install:
  104. X ${MKDIR} ${PREFIX}/lib/vmware-tools/modules/drivers
  105. X ${MKDIR} ${PREFIX}/lib/vmware-tools/modules/input
  106. X ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmmemctl.ko
  107. X ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmxnet.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmxnet.ko
  108. X ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmhgfs.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmhgfs.ko
  109. X ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmblock.ko
  110. X @-kldxref ${PREFIX}/lib/vmware-tools/modules/drivers 2>/dev/null
  111. X @${CAT} ${PKGMESSAGE}
  112. X
  113. X.include <bsd.port.post.mk>
  114. b67911656ef5d18c4ae36cb6741b7965
  115. echo x - distinfo
  116. sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
  117. XMD5 (open-vm-tools-2009.11.16-210370.tar.gz) = 93d28b6e57b8d1ad0d322dd881e11903
  118. XSHA256 (open-vm-tools-2009.11.16-210370.tar.gz) = d0eb942bc913350526c734e71661c7824085292f7d21f1b00a5b9dc44152b495
  119. XSIZE (open-vm-tools-2009.11.16-210370.tar.gz) = 3514530
  120. 57677d168a5ec21bdf22c9501f075a8f
  121. echo c - files
  122. mkdir -p files > /dev/null 2>&1
  123. echo x - pkg-descr
  124. sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
  125. XThe Open Virtual Machine Tools (open-vm-tools) are the open source
  126. Ximplementation of VMware Tools. They are a set of guest operating
  127. Xsystem virtualization components that enhance performance and user
  128. Xexperience of virtual machines. As virtualization technology rapidly
  129. Xbecomes mainstream, each virtualization solution provider implements
  130. Xtheir own set of tools and utilities to supplement the guest virtual
  131. Xmachine. However, most of the implementations are proprietary and
  132. Xare tied to a specific virtualization platform.
  133. X
  134. XThis port replaces the vmware guest ports and the binary only vmware
  135. Xtools ports in the ports tree.
  136. X
  137. XWWW: http://open-vm-tools.sourceforge.net
  138. 7f9555c3c1089940396b503dd37f3979
  139. echo x - pkg-plist
  140. sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742'
  141. Xbin/vmware-checkvm
  142. Xbin/vmware-hgfsclient
  143. Xbin/vmware-rpctool
  144. Xbin/vmware-xferlogs
  145. Xbin/vmtoolsd
  146. Xbin/vmware-toolbox-cmd
  147. X%%FUSE%%bin/vmware-vmblock-fuse
  148. Xlib/open-vm-tools/plugins/vmsvc/libguestInfo.so
  149. Xlib/open-vm-tools/plugins/vmsvc/libpowerOps.so
  150. Xlib/open-vm-tools/plugins/vmsvc/libtimeSync.so
  151. Xlib/open-vm-tools/plugins/vmsvc/libvmbackup.so
  152. Xlib/open-vm-tools/plugins/common/libhgfsServer.so
  153. Xlib/open-vm-tools/plugins/common/libhgfsServer.la
  154. Xlib/open-vm-tools/plugins/common/libvix.so
  155. Xlib/open-vm-tools/plugins/common/libvix.la
  156. X%%X11%%lib/open-vm-tools/plugins/vmusr/libresolutionSet.so
  157. X%%X11%%lib/open-vm-tools/plugins/vmusr/libvixUser.so
  158. Xlib/libvmtools.a
  159. Xlib/libvmtools.la
  160. Xlib/libvmtools.so
  161. Xlib/libvmtools.so.0
  162. Xlib/libguestlib.a
  163. Xlib/libguestlib.la
  164. Xlib/libguestlib.so
  165. Xlib/libguestlib.so.0
  166. Xlib/pkgconfig/vmguestlib.pc
  167. Xlib/vmware-tools/modules/drivers/linker.hints
  168. Xlib/vmware-tools/modules/drivers/vmblock.ko
  169. Xlib/vmware-tools/modules/drivers/vmhgfs.ko
  170. Xlib/vmware-tools/modules/drivers/vmmemctl.ko
  171. Xlib/vmware-tools/modules/drivers/vmxnet.ko
  172. Xshare/open-vm-tools/tests/libtestDebug.so
  173. Xshare/open-vm-tools/tests/libtestPlugin.so
  174. Xinclude/vmGuestLib/includeCheck.h
  175. Xinclude/vmGuestLib/vmGuestLib.h
  176. Xinclude/vmGuestLib/vmSessionId.h
  177. Xinclude/vmGuestLib/vm_basic_types.h
  178. X@exec mkdir -p %D/lib/vmware-tools/modules/input
  179. Xsbin/mount_vmhgfs
  180. X%%X11%%bin/vmware-toolbox
  181. X%%X11%%bin/vmware-user
  182. X%%X11%%bin/vmware-user-suid-wrapper
  183. X%%X11%%share/applications/vmware-user.desktop
  184. Xshare/vmware-tools/poweroff-vm-default
  185. Xshare/vmware-tools/poweron-vm-default
  186. Xshare/vmware-tools/resume-vm-default
  187. Xshare/vmware-tools/suspend-vm-default
  188. Xshare/vmware-tools/vm-support
  189. X@exec kldxref %D/lib/vmware-tools/modules/drivers 2>/dev/null || true
  190. X@unexec if test -f %D/lib/vmware-tools/modules/drivers/linker.hints; then rm -f %D/lib/vmware-tools/modules/drivers/linker.hints; fi
  191. X@unexec if test -f %D/share/vmware-tools/tools.conf; then rm -f %D/share/vmware-tools/tools.conf; fi
  192. X@unexec if test -h %D/etc/vmware-tools/plugins; then rm -f %D/etc/vmware-tools/plugins; fi
  193. X@dirrmtry lib/vmware-tools/modules/drivers
  194. X@dirrmtry lib/vmware-tools/modules/input
  195. X@dirrmtry lib/vmware-tools/modules
  196. X@dirrmtry lib/vmware-tools
  197. X@dirrmtry etc/vmware-tools
  198. X@dirrmtry share/open-vm-tools/tests
  199. X@dirrmtry share/open-vm-tools
  200. X@dirrmtry share/vmware-tools
  201. X@dirrmtry lib/pkgconfig
  202. X%%X11%%@dirrmtry share/applications
  203. X@dirrm lib/open-vm-tools/plugins/common
  204. X@dirrm lib/open-vm-tools/plugins/vmsvc
  205. X%%X11%%@dirrm lib/open-vm-tools/plugins/vmusr
  206. X@dirrm lib/open-vm-tools/plugins
  207. X@dirrm lib/open-vm-tools
  208. X@dirrm include/vmGuestLib
  209. 842cde48cf18b70a11b15515ca566742
  210. exit
  211.  
  212.  
Advertisement
Add Comment
Please, Sign In to add comment