git: 8580a3f0a3aa - main - textproc/docproj: Add vale OPTION

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 12 Nov 2022 13:31:45 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8580a3f0a3aa74215bdd073cc89d3f670d6d446a

commit 8580a3f0a3aa74215bdd073cc89d3f670d6d446a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-12 13:28:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-12 13:31:29 +0000

    textproc/docproj: Add vale OPTION
    
    After the introduction of vale through
    https://cgit.freebsd.org/doc/commit/?id=2f326706331e23173f726dc3555cb74c9d23696d
    it is necessary to introduce the tools for the developers. The
    developers needs to install it. Hence add it in the meta-port so that we
    can update the documentation to help the users use it.
    
    PR:             267699
    Approved by:    dbaio
---
 textproc/docproj/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile
index 280454495208..6a58a2c5f15d 100644
--- a/textproc/docproj/Makefile
+++ b/textproc/docproj/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	docproj
-PORTVERSION=	4.1.2
+PORTVERSION=	4.1.3
 CATEGORIES=	textproc
 
 MAINTAINER=	doceng@FreeBSD.org
@@ -12,17 +12,19 @@ RUN_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor \
 
 USES=		metaport
 
-OPTIONS_DEFINE=	EPUB GIT IGOR PDF TRANSLATOR
-OPTIONS_DEFAULT=	GIT IGOR PDF TRANSLATOR
+OPTIONS_DEFINE=	EPUB GIT IGOR PDF TRANSLATOR VALE
+OPTIONS_DEFAULT=	GIT IGOR PDF TRANSLATOR VALE
 
 EPUB_DESC=	EPUB document support
 IGOR_DESC=		Igor automated proofreader for documentation
 TRANSLATOR_DESC=	Tools for translators
+VALE_DESC=	VALE Linting support
 
 EPUB_RUN_DEPENDS=	asciidoctor-epub3:textproc/rubygem-asciidoctor-epub3
 GIT_RUN_DEPENDS=	git:devel/git
 IGOR_RUN_DEPENDS=	igor:textproc/igor
 PDF_RUN_DEPENDS=	asciidoctor-pdf:textproc/rubygem-asciidoctor-pdf
 TRANSLATOR_RUN_DEPENDS=	po4a>=0.67:textproc/po4a
+VALE_RUN_DEPENDS=	vale>0:textproc/vale
 
 .include <bsd.port.mk>