textproc/docproj: Add option to install CJK fonts to build PDF files

Not enabled by default.

It uses the textproc/docproj-fonts-cjk port, which installs only the
necessary fonts.  Thanks to sunpoet.

Reviewed by:	dbaio
Approved by:	doceng (implicit)
Differential Revision:	https://reviews.freebsd.org/D37982
This commit is contained in:
Sergio Carlavilla Delgado 2023-01-20 16:36:43 -03:00 committed by Danilo G. Baio
parent 0969e162f9
commit 44dd7f0d78
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= docproj
PORTVERSION= 4.1.5
PORTVERSION= 4.1.6
CATEGORIES= textproc
MAINTAINER= doceng@FreeBSD.org
@ -12,15 +12,17 @@ RUN_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor \
USES= metaport
OPTIONS_DEFINE= EPUB GIT IGOR PDF TRANSLATOR VALE
OPTIONS_DEFINE= EPUB FONTS-CJK GIT IGOR PDF TRANSLATOR VALE
OPTIONS_DEFAULT= GIT IGOR PDF TRANSLATOR VALE
EPUB_DESC= EPUB document support
FONTS-CJK_DESC= Required CJK fonts to build PDF files
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
FONTS-CJK_RUN_DEPENDS= docproj-fonts-cjk>0:textproc/docproj-fonts-cjk
GIT_RUN_DEPENDS= git:devel/git
IGOR_RUN_DEPENDS= igor:textproc/igor
PDF_RUN_DEPENDS= asciidoctor-pdf:textproc/rubygem-asciidoctor-pdf