net/ntpsec: Add REFCLOCKS option

PR:		274944
Reported by:	celkins <carl@elkins.me.uk>
This commit is contained in:
Yuri Victorovich 2023-11-06 14:22:58 -08:00
parent 7cade24654
commit 0b4d54a945
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= ntpsec
DISTVERSIONPREFIX= NTPsec_
DISTVERSION= 1_2_2a
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
@ -24,11 +25,15 @@ MAKE_ENV= NOSYNC=1 # workaround for the console problem: https://gitlab.com/NTPs
TEST_TARGET= check
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS REFCLOCKS
OPTIONS_DEFAULT= REFCLOCKS
DOCS_CONFIGURE_ENABLE= doc
DOCS_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor # alternatively ntpsec can use asciidoc:textproc/asciidoc but it prefers asciidoctor
REFCLOCKS_DESC= Enable all refclocks
REFCLOCKS_VARS= CONFIGURE_ARGS+=--refclock=all
PORTSCOUT= limit:^\d+\. # prevent alpha-numeric strings
post-install: # autoplist: plist varies depending on the python version