aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/azure-agent/Makefile
blob: 52800d8c1d39e5acacd86b38601bb4b8e0166c7c (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
# $FreeBSD$

PORTNAME=   azure-agent
PORTVERSION=    ${GH_TAGNAME}.16
CATEGORIES= sysutils

MAINTAINER= gjb@FreeBSD.org
COMMENT=    The Microsoft Azure Linux Agent

LICENSE=    APACHE20

RUN_DEPENDS=    python:lang/python \
        sudo:security/sudo \
        bash:shells/bash \
        ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1 \
        ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss

NO_BUILD=   yes
USES=       python:2

USE_GITHUB= yes
GH_ACCOUNT= Azure
GH_PROJECT= WALinuxAgent
GH_TAGNAME= 2.0

PLIST_FILES=    sbin/waagent

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/waagent ${STAGEDIR}${PREFIX}/sbin

.include <bsd.port.mk>