Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2021 20:25:35 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562608 - head/net/ntpsec
Message-ID:  <202101252025.10PKPZqF038320@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101252025.10PKPZqF038320>