aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2021-05-07 00:10:49 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-05-07 00:15:31 +0000
commit21a4260fb3343c08f21ec58635ddad7c522bf87a (patch)
tree8461197da3c307ec547299af4095902b7dce742f
parent73059f063ec124bb34540a609f7b6306045e9bd0 (diff)
downloadports-21a4260fb3343c08f21ec58635ddad7c522bf87a.tar.gz
ports-21a4260fb3343c08f21ec58635ddad7c522bf87a.zip
textproc/docproj: Add Hugo/Asciidoctor dependencies
This just adds the new dependencies for building the doc tree with Hugo/Asciidoctor, as we still have the legacy docs available, will be kept the former dependencies for a little while. PR: 253518 Submitted by: Yasuhiro Kimura, Dries Michiels Reviewed by: 0mp, adamw, dbaio, debdrup, lwhsu Approved by: doceng (bcr, maintainer) Differential Revision: https://reviews.freebsd.org/D28609
-rw-r--r--textproc/docproj/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile
index 59d943ff6817..9d21e4485117 100644
--- a/textproc/docproj/Makefile
+++ b/textproc/docproj/Makefile
@@ -1,31 +1,33 @@
# Created by: Nik Clayton <nik@FreeBSD.org>
PORTNAME= docproj
-PORTVERSION= 2.0
-PORTREVISION= 16
+PORTVERSION= 3.0
CATEGORIES= textproc
MAINTAINER= doceng@FreeBSD.org
COMMENT= Meta-port for the FreeBSD Documentation Project
-RUN_DEPENDS= ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \
+RUN_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor \
+ ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \
${LOCALBASE}/share/xml/xmlcharent/catalog:textproc/xmlcharent \
${LOCALBASE}/share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl:textproc/iso-schematron-xslt \
docbook-xsl-ns>=1.78.1_4:textproc/docbook-xsl-ns \
docbook>0:textproc/docbook \
+ hugo:www/gohugo \
links:www/links1 \
p5-XML-Parser>=2.41:textproc/p5-XML-Parser \
peps:graphics/peps \
pngtopnm:graphics/netpbm \
+ rougify:textproc/rubygem-rouge \
scr2png:graphics/scr2png \
scr2txt:textproc/scr2txt \
xsltproc:textproc/libxslt \
zip:archivers/zip
-USES= ghostscript:run metaport perl5
+USES= ghostscript:run metaport perl5 python:3.6+,run
USE_PERL5= run
-OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING TRANSLATOR
+OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING PDF TRANSLATOR
OPTIONS_DEFAULT= CJK GIT GROFF IGOR TRANSLATOR
CJK_DESC= CJK support
@@ -46,8 +48,10 @@ GIT_RUN_DEPENDS= git:devel/git
GROFF_USES= groff:run
IGOR_RUN_DEPENDS= igor:textproc/igor
JING_RUN_DEPENDS= jing:textproc/jing
+PDF_RUN_DEPENDS= asciidoctor-pdf:textproc/rubygem-asciidoctor-pdf
TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool \
- msgcat:devel/gettext-tools
+ msgcat:devel/gettext-tools \
+ po4a>=0.63_1:textproc/po4a
_FONTS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu \
${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \