mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
208f336d53
PR: 243198 Submitted by: Lewis Cook <vulcan@wired.sh> Approved by: churchers@gmail.com (maintainer) Relnotes: https://github.com/churchers/vm-bhyve/releases/tag/v1.4.0 https://github.com/churchers/vm-bhyve/releases/tag/v1.4.2 Sponsored by: HAW International
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= vm-bhyve
|
|
PORTVERSION= 1.4.2
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= churchers@gmail.com
|
|
COMMENT= Management system for bhyve virtual machines
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= churchers
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= BHYVE_FIRMWARE EXAMPLES GRUB2_BHYVE TMUX
|
|
BHYVE_FIRMWARE_DESC= Required to run UEFI guests
|
|
EXAMPLES_DESC= Install example guest templates
|
|
GRUB2_BHYVE_DESC= Required to run Linux or any other guests that need a Grub bootloader
|
|
TMUX_DESC= Tmux console access instead of cu/nmdm
|
|
|
|
BHYVE_FIRMWARE_RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware
|
|
GRUB2_BHYVE_RUN_DEPENDS= grub2-bhyve>0:sysutils/grub2-bhyve
|
|
TMUX_RUN_DEPENDS= tmux:sysutils/tmux
|
|
|
|
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.mk>
|