summaryrefslogtreecommitdiff
path: root/sysutils/xe-guest-utilities/Makefile
blob: f88050c1c68753f770836d3bfc1c559e0fec4bb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$

PORTNAME=	xe-guest-utilities
PORTVERSION=	6.0.2
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	https://github.com/${GIT_ACCOUNT}/${GIT_PROJECT}/tarball/${GIT_VERSION}/
DISTNAME=	${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}

MAINTAINER=	feld@FreeBSD.org
COMMENT=	FreeBSD VM tools for Citrix XenServer and XCP

RUN_DEPENDS=	xen-tools>0:${PORTSDIR}/sysutils/xen-tools

GIT_ACCOUNT=	felderado
GIT_PROJECT=	freebsd-xen-tools-scripts
GIT_VERSION=	8cc7fe1
GITSRC=		${WRKDIR}/${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}/src/

USES=		gmake
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 ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-update-guest-attrs ${STAGEDIR}${PREFIX}/sbin

.include <bsd.port.mk>