aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xe-guest-utilities/Makefile
blob: e0f419567a82714bc0c2110b802514e764fc4c5b (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
39
# Created by:   Mark Felder <feld@FreeBSD.org>
#
# $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@FreeBSD.org
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>