diff --git a/textproc/Makefile b/textproc/Makefile --- a/textproc/Makefile +++ b/textproc/Makefile @@ -151,6 +151,7 @@ SUBDIR += docbook2odf SUBDIR += docbookrx SUBDIR += docproj + SUBDIR += docproj-legacy SUBDIR += dom4j SUBDIR += domc SUBDIR += dsssl-docbook-modular diff --git a/textproc/docproj/Makefile b/textproc/docproj-legacy/Makefile copy from textproc/docproj/Makefile copy to textproc/docproj-legacy/Makefile --- a/textproc/docproj/Makefile +++ b/textproc/docproj-legacy/Makefile @@ -1,35 +1,32 @@ # Created by: Nik Clayton PORTNAME= docproj -PORTVERSION= 3.0 -PORTREVISION= 1 +PORTVERSION= 3.1 CATEGORIES= textproc +PKGNAMESUFFIX= -legacy MAINTAINER= doceng@FreeBSD.org -COMMENT= Meta-port for the FreeBSD Documentation Project +COMMENT= Meta-port for the FreeBSD Legacy Documentation Project -RUN_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor \ - ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \ +RUN_DEPENDS= ${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 python:3.6+,run +USES= ghostscript:run metaport perl5 USE_PERL5= run -OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING PDF TRANSLATOR -OPTIONS_DEFAULT= CJK GIT GROFF IGOR PDF TRANSLATOR +OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING TRANSLATOR +OPTIONS_DEFAULT= CJK GIT GROFF IGOR TRANSLATOR CJK_DESC= CJK support DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) @@ -49,10 +46,8 @@ 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 \ - po4a>=0.63_1:textproc/po4a + msgcat:devel/gettext-tools _FONTS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \ diff --git a/textproc/docproj-legacy/pkg-descr b/textproc/docproj-legacy/pkg-descr new file mode 100644 --- /dev/null +++ b/textproc/docproj-legacy/pkg-descr @@ -0,0 +1,9 @@ +The FreeBSD Documentation Project maintains the FAQ, Handbook and tutorials. + +This package does not contain anything by itself -- it is a +"meta-port" that depends on other text processing packages. Its sole +purpose is to require dependencies so users can install this package only +and have all the Documentation Project stuff pulled in by the port/package +dependency mechanism. + +WWW: https://www.freebsd.org/docproj diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile --- a/textproc/docproj/Makefile +++ b/textproc/docproj/Makefile @@ -1,78 +1,25 @@ -# Created by: Nik Clayton - PORTNAME= docproj -PORTVERSION= 3.0 -PORTREVISION= 1 +PORTVERSION= 4.0 CATEGORIES= textproc MAINTAINER= doceng@FreeBSD.org COMMENT= Meta-port for the FreeBSD Documentation Project 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 python:3.6+,run -USE_PERL5= run +USES= metaport python:3.6+,run -OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING PDF TRANSLATOR -OPTIONS_DEFAULT= CJK GIT GROFF IGOR PDF TRANSLATOR +OPTIONS_DEFINE= GIT IGOR PDF TRANSLATOR +OPTIONS_DEFAULT= GIT IGOR PDF TRANSLATOR -CJK_DESC= CJK support -DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) -FOP_DESC= FOP PDF renderer (requires Java) -GIT_DESC= Git support -GROFF_DESC= Groff support from ports IGOR_DESC= Igor automated proofreader for documentation -JING_DESC= Jing for advanced RELAX NG validation TRANSLATOR_DESC= Tools for translators -CJK_RUN_DEPENDS= html2text:textproc/html2text -DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex -DBLATEX_USE= TEX=xetex -FOP_RUN_DEPENDS= ${_FONTS} \ - fop:textproc/fop 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 \ - 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 \ - ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-Regular.ttf:x11-fonts/gentium-plus \ - ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit -_FONTS_CJK= ${LOCALBASE}/share/fonts/ipa/ipam.otf:japanese/font-ipa \ - ${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf \ - ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf - -.include - -.if ${PORT_OPTIONS:MFOP} || ${PORT_OPTIONS:MDBLATEX} -ONLY_FOR_ARCHS= amd64 i386 -CJK_RUN_DEPENDS+= ${_FONTS_CJK} -.endif - -# generate MINIMALDOCPORTS for src/release/Makefile.inc.docports. -# (XXX: incomplete yet) -minimaldocports: - @${ECHO_CMD} "MINIMALDOCPORTS= \\" - @${MAKE} all-depends-list | ${SED} -e 's,^${PORTSDIR}/, ,' -e 's,$$, \\,' +TRANSLATOR_RUN_DEPENDS= po4a>=0.63_1:textproc/po4a .include