blob: 71c3343d53d7c44226e46ea0576e4408e64034f9 (
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
|
# $FreeBSD$
PORTNAME= vm-bhyve
PORTVERSION= 1.1.3
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
MAINTAINER= churchers@gmail.com
COMMENT= Management system for bhyve virtual machines
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= EXAMPLES
EXAMPLES_DESC= Install example guest templates
USE_GITHUB= yes
GH_ACCOUNT= churchers
NO_ARCH= yes
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000000
IGNORE= this port works only on FreeBSD 10 and newer
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/vm ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/vm ${STAGEDIR}${PREFIX}/etc/rc.d
(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/vm-bhyve)
(cd ${WRKSRC}/sample-templates/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
${INSTALL_MAN} ${WRKSRC}/vm.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.post.mk>
|