1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/sysutils/vm-bhyve/Makefile
Michael Osipov cee2de9807 sysutils/vm-bhyve{,-devel}: Remove unnecessary dependency to security/ca_root_nss
PR:		282155
Approved by:	jrm (mentor), driesm, maintainer timeout (two weeks)
2024-10-31 21:44:20 +01:00

40 lines
1.2 KiB
Makefile

PORTNAME= vm-bhyve
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.0
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= churchers@gmail.com
COMMENT= Management system for bhyve virtual machines
WWW= https://github.com/churchers/vm-bhyve
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= churchers
CONFLICTS_INSTALL= vm-bhyve-devel
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}${PREFIX}/share/man/man8
.include <bsd.port.mk>