From 44dd7f0d788f57fd82a5255c08ff35151260ad09 Mon Sep 17 00:00:00 2001 From: Sergio Carlavilla Delgado Date: Fri, 20 Jan 2023 16:36:43 -0300 Subject: [PATCH] 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 --- textproc/docproj/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile index 58ffcfa15b08..2229a43f6dfd 100644 --- a/textproc/docproj/Makefile +++ b/textproc/docproj/Makefile @@ -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