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