aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2023-01-20 19:36:43 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2023-01-20 19:43:54 +0000
commit44dd7f0d788f57fd82a5255c08ff35151260ad09 (patch)
treec16d64654cd5f15baaf1a8bf783a543f80fba76a
parent0969e162f978572b360f5ce50fe8a4855d4f75e1 (diff)
downloadports-44dd7f0d788f57fd82a5255c08ff35151260ad09.tar.gz
ports-44dd7f0d788f57fd82a5255c08ff35151260ad09.zip
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
-rw-r--r--textproc/docproj/Makefile6
1 files 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