summaryrefslogtreecommitdiff
path: root/sysutils/xe-guest-utilities/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xe-guest-utilities/Makefile')
-rw-r--r--sysutils/xe-guest-utilities/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/xe-guest-utilities/Makefile b/sysutils/xe-guest-utilities/Makefile
new file mode 100644
index 000000000000..d77066663270
--- /dev/null
+++ b/sysutils/xe-guest-utilities/Makefile
@@ -0,0 +1,39 @@
+# Created by: Mark Felder <feld@feld.me>
+#
+# $FreeBSD$
+
+PORTNAME= xe-guest-utilities
+PORTVERSION= 6.0.2
+CATEGORIES= sysutils
+MASTER_SITES= https://github.com/${GIT_ACCOUNT}/${GIT_PROJECT}/tarball/${GIT_VERSION}/
+DISTNAME= ${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}
+
+MAINTAINER= feld@feld.me
+COMMENT= FreeBSD VM tools for Citrix XenServer and XCP
+
+RUN_DEPENDS= xen-tools>0:${PORTSDIR}/sysutils/xen-tools
+
+FETCH_ARGS= -pRr
+GIT_ACCOUNT= felderado
+GIT_PROJECT= freebsd-xen-tools-scripts
+GIT_VERSION= 5a355c9
+GITSRC= ${WRKDIR}/${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}/src/
+
+USE_GMAKE= yes
+USE_PYTHON= yes
+USE_RC_SUBR= xenguest
+
+ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS_REASON= "Requires i385 XEN or amd64 XENHVM kernels"
+
+PLIST_FILES= sbin/xe-daemon \
+ sbin/xe-update-guest-attrs
+
+do-build:
+ @${DO_NADA}
+
+do-install:
+ ${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-daemon ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-update-guest-attrs ${PREFIX}/sbin
+
+.include <bsd.port.mk>