svn commit: r562608 - head/net/ntpsec

Yuri Victorovich yuri at FreeBSD.org
Mon Jan 25 20:25:35 UTC 2021


Author: yuri
Date: Mon Jan 25 20:25:34 2021
New Revision: 562608
URL: https://svnweb.freebsd.org/changeset/ports/562608

Log:
  net/ntpsec: Add DOCS option

Modified:
  head/net/ntpsec/Makefile

Modified: head/net/ntpsec/Makefile
==============================================================================
--- head/net/ntpsec/Makefile	Mon Jan 25 19:49:26 2021	(r562607)
+++ head/net/ntpsec/Makefile	Mon Jan 25 20:25:34 2021	(r562608)
@@ -3,7 +3,7 @@
 PORTNAME=	ntpsec
 DISTVERSIONPREFIX=	NTPsec_
 DISTVERSION=	1_2_0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -11,7 +11,6 @@ COMMENT=	Network Time Protocol suite, refactored
 
 LICENSE=	BSD2CLAUSE
 
-BUILD_DEPENDS=	asciidoc:textproc/asciidoc
 LIB_DEPENDS=	libdns_sd.so:net/mDNSResponder
 
 USES=		bison gettext-runtime pkgconfig python shebangfix ssl waf
@@ -24,6 +23,11 @@ python_OLD_CMD=	@PYSHEBANG@
 CONFLICTS=	ntp ntp-devel openntpd
 
 MAKE_ENV=	NOSYNC=1 # workaround for the console problem: https://gitlab.com/NTPsec/ntpsec/issues/599
+
+OPTIONS_DEFINE=			DOCS
+
+DOCS_CONFIGURE_ENABLE=	doc
+DOCS_BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor # alternatively ntpsec can use asciidoc:textproc/asciidoc but it prefers asciidoctor
 
 PORTSCOUT=	limit:^\d+\. # prevent alpha-numeric strings
 


More information about the svn-ports-head mailing list