diff --git a/net/wifibox-core/Makefile b/net/wifibox-core/Makefile index 5eac1d41b585..06720be6fbad 100644 --- a/net/wifibox-core/Makefile +++ b/net/wifibox-core/Makefile @@ -1,55 +1,57 @@ PORTNAME= wifibox-core PORTVERSION= 0.12.0 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= pali.gabor@gmail.com COMMENT= Wifibox core functionality WWW= https://github.com/pgj/freebsd-wifibox LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 RUN_DEPENDS= grub2-bhyve>0:sysutils/grub2-bhyve OPTIONS_DEFINE= BHYVE_PLUS OPTIONS_SINGLE= RECOVERY OPTIONS_SINGLE_RECOVERY= RECOVER_RESTART_VMM \ RECOVER_SUSPEND_GUEST \ RECOVER_SUSPEND_VMM \ RECOVER_NONE OPTIONS_DEFAULT= RECOVER_RESTART_VMM RECOVER_RESTART_VMM_DESC= Restart the vmm(4) kernel module on resume RECOVER_SUSPEND_GUEST_DESC= Stop the guest on suspend, start on resume RECOVER_SUSPEND_VMM_DESC= Unload vmm(4) on suspend, and reload on resume RECOVER_NONE_DESC= No recovery for suspend/resume BHYVE_PLUS_DESC= Use bhyve+ (experimental) .include .if ${PORT_OPTIONS:MBHYVE_PLUS} RUN_DEPENDS+= bhyve+>0:sysutils/bhyve+ _BHYVE_PLUS= yes .endif USE_GITHUB= yes GH_ACCOUNT= pgj GH_PROJECT= freebsd-wifibox NO_BUILD= yes -MAKE_ARGS+= GUEST_ROOT=${LOCALBASE}/share/wifibox \ +MAKE_ARGS+= MANDIR=${STAGEDIR}${PREFIX}/share/man \ + GUEST_ROOT=${LOCALBASE}/share/wifibox \ GUEST_MAN=${LOCALBASE}/man/man5/wifibox-alpine.5.gz \ VERSION=${PORTVERSION} \ RECOVERY_METHOD=${PORT_OPTIONS:MRECOVER_*:S/RECOVER_//:tl} .if defined(_BHYVE_PLUS) MAKE_ARGS+= BHYVE=${LOCALBASE}/sbin/bhyve \ BHYVECTL=${LOCALBASE}/sbin/bhyvectl \ VMM_KO=${KMODDIR}/vmm.ko .endif .include diff --git a/net/wifibox-core/pkg-plist b/net/wifibox-core/pkg-plist index de8c504c49d7..67c15a4ae069 100644 --- a/net/wifibox-core/pkg-plist +++ b/net/wifibox-core/pkg-plist @@ -1,9 +1,9 @@ @sample etc/wifibox/bhyve.conf.sample @sample etc/wifibox/core.conf.sample @sample etc/devd/wifibox.conf.sample etc/rc.d/wifibox -man/man5/wifibox-guest.5.gz -man/man8/wifibox.8.gz sbin/wifibox +share/man/man5/wifibox-guest.5.gz +share/man/man8/wifibox.8.gz @preexec /usr/bin/touch /var/log/wifibox.log @preunexec /bin/rm -f /var/log/wifibox.log