diff --git a/sysutils/bhyvemgr/Makefile b/sysutils/bhyvemgr/Makefile index cba7ea5aa80b..a5c676f0a1ed 100644 --- a/sysutils/bhyvemgr/Makefile +++ b/sysutils/bhyvemgr/Makefile @@ -1,51 +1,65 @@ PORTNAME= bhyvemgr DISTVERSIONPREFIX= v -PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTVERSION= 1.1.0 CATEGORIES= sysutils PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= bhyve manager GUI written in Lazarus/Freepascal WWW= https://github.com/alonsobsd/bhyvemgr LICENSE= BSD3CLAUSE -RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware \ - virt-viewer>0:net-mgmt/virt-viewer \ - freerdp3>0:net/freerdp3 \ +RUN_DEPENDS= virt-viewer>0:net-mgmt/virt-viewer \ sudo>0:security/sudo ONLY_FOR_ARCHS= amd64 USES= desktop-file-utils fpc lazarus:flavors xorg USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= alonsobsd +OPTIONS_DEFINE= FREERDP3 + +FREERDP3_DESC= Install freerdp3 to enable rdp connection option +FREERDP3_RUN_DEPENDS= freerdp3>0:net/freerdp3 + +.include + +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000) +ONLY_FOR_ARCHS+= aarch64 +.endif + +.if ${ARCH} == "aarch64" +RUN_DEPENDS+= u-boot-bhyve-arm64>0:sysutils/u-boot-bhyve-arm64 +.elif ${ARCH} == "amd64" +RUN_DEPENDS+= bhyve-firmware>0:sysutils/bhyve-firmware +.endif + LAZARUS_PROJECT_FILES= bhyvemgr.lpi LAZBUILD_ARGS= --bm=Release -d gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} SUB_FILES= pkg-message do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/setup/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps ${INSTALL_DATA} ${WRKSRC}/setup/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/setup/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "images" ${STAGEDIR}${DATADIR} -.include +.include diff --git a/sysutils/bhyvemgr/distinfo b/sysutils/bhyvemgr/distinfo index 04a610490ccb..96b24016a635 100644 --- a/sysutils/bhyvemgr/distinfo +++ b/sysutils/bhyvemgr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725841232 -SHA256 (alonsobsd-bhyvemgr-v1.0.1_GH0.tar.gz) = 7b61ceb11febd24ed3777412ec2a4e2aed66b89ad24ef002cebf606371637ee1 -SIZE (alonsobsd-bhyvemgr-v1.0.1_GH0.tar.gz) = 238481 +TIMESTAMP = 1726562150 +SHA256 (alonsobsd-bhyvemgr-v1.1.0_GH0.tar.gz) = 241ea7f6ee4c049dfee67f1e16ef602228755c5e8448c1141e7da6837bb2615f +SIZE (alonsobsd-bhyvemgr-v1.1.0_GH0.tar.gz) = 239999 diff --git a/sysutils/bhyvemgr/pkg-descr b/sysutils/bhyvemgr/pkg-descr index bd97a011fe3b..c3fd4e657103 100644 --- a/sysutils/bhyvemgr/pkg-descr +++ b/sysutils/bhyvemgr/pkg-descr @@ -1,5 +1,5 @@ Bhyvemgr is a bhyve management GUI written in Freepascal/Lazarus for FreeBSD. It needs a bunch of tools mostly installed on base system and some installed -from ports/packages. Currently it supports only amd64. The main goal is to be a -desktop user application to easily and quickly setup and run virtual machines -on the FreeBSD host. +from ports/packages. Currently it supports amd64 and aarch64. The main goal is +to be a desktop user application to easily and quickly setup and run virtual +machines on the FreeBSD host.