git: c4ba03505970 - 2021Q2 - textproc/docproj: Add Hugo/Asciidoctor dependencies

Danilo G. Baio dbaio at FreeBSD.org
Fri May 7 18:38:22 UTC 2021


The branch 2021Q2 has been updated by dbaio:

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

commit c4ba03505970eb233fc57991252bd451cfd7109a
Author:     Danilo G. Baio <dbaio at FreeBSD.org>
AuthorDate: 2021-05-07 00:10:49 +0000
Commit:     Danilo G. Baio <dbaio at FreeBSD.org>
CommitDate: 2021-05-07 18:37:38 +0000

    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
    
    (cherry picked from commit 21a4260fb3343c08f21ec58635ddad7c522bf87a)
---
 textproc/docproj/Makefile | 16 ++++++++++------
 1 file 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 at FreeBSD.org>
 
 PORTNAME=	docproj
-PORTVERSION=	2.0
-PORTREVISION=	16
+PORTVERSION=	3.0
 CATEGORIES=	textproc
 
 MAINTAINER=	doceng at 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 \


More information about the dev-commits-ports-all mailing list