Lines 1-38
Link Here
|
1 |
# Created by: Qiang Guo <guoqiang_cn@126.com> |
1 |
# Created by: Qiang Guo <guoqiang_cn@126.com> |
2 |
# $FreeBSD: head/sysutils/bvm/Makefile 568923 2021-03-21 16:07:34Z rhurlin $ |
2 |
# $FreeBSD: head/sysutils/bvm/Makefile 568923 2021-03-21 16:07:34Z rhurlin $ |
3 |
|
3 |
|
4 |
PORTNAME= bvm |
4 |
PORTNAME= bvm |
5 |
PORTVERSION= 1.3.1 |
5 |
PORTVERSION= 1.3.2 |
6 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
7 |
|
7 |
|
8 |
MAINTAINER= guoqiang_cn@126.com |
8 |
MAINTAINER= guoqiang_cn@126.com |
9 |
COMMENT= Bhyve VM Manager |
9 |
COMMENT= Bhyve VM Manager |
10 |
|
10 |
|
11 |
LICENSE= BSD2CLAUSE |
11 |
LICENSE= BSD2CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
ONLY_FOR_ARCHS= amd64 |
14 |
ONLY_FOR_ARCHS= amd64 |
15 |
ONLY_FOR_ARCHS_REASON= Bhyve VM Manager is required to be built on a 64bit machine |
15 |
ONLY_FOR_ARCHS_REASON= Bhyve VM Manager is required to be built on a 64bit machine |
16 |
|
16 |
|
17 |
RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware \ |
17 |
RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware \ |
18 |
grub-bhyve:sysutils/grub2-bhyve \ |
18 |
grub-bhyve:sysutils/grub2-bhyve \ |
19 |
tmux:sysutils/tmux |
19 |
tmux:sysutils/tmux |
20 |
|
20 |
|
21 |
USE_GITHUB= yes |
21 |
USE_GITHUB= yes |
22 |
GH_ACCOUNT= bigdragonsoft |
22 |
GH_ACCOUNT= bigdragonsoft |
23 |
|
23 |
|
24 |
BUILD_WRKSRC= ${WRKSRC}/src |
24 |
BUILD_WRKSRC= ${WRKSRC}/src |
25 |
|
25 |
|
26 |
do-install: |
26 |
do-install: |
27 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bvm |
27 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bvm |
28 |
${INSTALL_DATA} ${WRKSRC}/conf/bvm.conf ${STAGEDIR}${PREFIX}/etc/bvm/bvm.conf.sample |
28 |
${INSTALL_DATA} ${WRKSRC}/conf/bvm.conf ${STAGEDIR}${PREFIX}/etc/bvm/bvm.conf.sample |
29 |
${INSTALL_DATA} ${WRKSRC}/conf/nat.conf ${STAGEDIR}${PREFIX}/etc/bvm/nat.conf.sample |
29 |
${INSTALL_DATA} ${WRKSRC}/conf/nat.conf ${STAGEDIR}${PREFIX}/etc/bvm/nat.conf.sample |
30 |
${INSTALL_DATA} ${WRKSRC}/conf/switch.conf ${STAGEDIR}${PREFIX}/etc/bvm/switch.conf.sample |
30 |
${INSTALL_DATA} ${WRKSRC}/conf/switch.conf ${STAGEDIR}${PREFIX}/etc/bvm/switch.conf.sample |
31 |
${INSTALL_DATA} ${WRKSRC}/conf/dhcp.conf ${STAGEDIR}${PREFIX}/etc/bvm/dhcp.conf.sample |
31 |
${INSTALL_DATA} ${WRKSRC}/conf/dhcp.conf ${STAGEDIR}${PREFIX}/etc/bvm/dhcp.conf.sample |
32 |
${INSTALL_SCRIPT} ${WRKSRC}/conf/bvmd ${STAGEDIR}${PREFIX}/etc/rc.d/ |
32 |
${INSTALL_SCRIPT} ${WRKSRC}/conf/bvmd ${STAGEDIR}${PREFIX}/etc/rc.d/ |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bvm ${STAGEDIR}${PREFIX}/bin/ |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bvm ${STAGEDIR}${PREFIX}/bin/ |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bvmb ${STAGEDIR}${PREFIX}/bin/ |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bvmb ${STAGEDIR}${PREFIX}/bin/ |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bvmdhcp ${STAGEDIR}${PREFIX}/bin/ |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bvmdhcp ${STAGEDIR}${PREFIX}/bin/ |
36 |
${INSTALL_MAN} ${WRKSRC}/bvm.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 |
36 |
${INSTALL_MAN} ${WRKSRC}/bvm.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 |
37 |
|
37 |
|
38 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |