# Created by: Nik Clayton # $FreeBSD$ PORTNAME= docproj PORTVERSION= 2.0 PORTREVISION= 9 CATEGORIES= textproc MAINTAINER= doceng@FreeBSD.org COMMENT= Meta-port for the FreeBSD Documentation Project RUN_DEPENDS= links:www/links1 \ pngtopnm:graphics/netpbm \ scr2png:graphics/scr2png \ scr2txt:textproc/scr2txt \ xsltproc:textproc/libxslt \ peps:graphics/peps \ ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \ docbook-xsl-ns>=1.78.1_4:textproc/docbook-xsl-ns \ ${LOCALBASE}/share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl:textproc/iso-schematron-xslt \ docbook>0:textproc/docbook \ ${LOCALBASE}/share/xml/xmlcharent/catalog:textproc/xmlcharent \ p5-XML-Parser>=2.41:textproc/p5-XML-Parser \ zip:archivers/zip USES= ghostscript:run metaport perl5 USE_PERL5= run OPTIONS_DEFINE= DBLATEX CJK FOP IGOR JING SVN TRANSLATOR OPTIONS_DEFAULT= CJK IGOR TRANSLATOR .if !exists(/usr/bin/svnlite) OPTIONS_DEFAULT+= SVN .endif CJK_DESC= CJK support CJK_RUN_DEPENDS= html2text:textproc/html2text SVN_DESC= Subversion support (required to check out sources) SVN_RUN_DEPENDS= svn:devel/subversion IGOR_DESC= Igor automated proofreader for documentation IGOR_RUN_DEPENDS= igor:textproc/igor FOP_DESC= FOP PDF renderer (requires Java) FOP_RUN_DEPENDS= fop:textproc/fop \ ${FONTS} JING_DESC= Jing for advanced RELAX NG validation (optional) JING_RUN_DEPENDS= jing:textproc/jing DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex \ ${FONTS} DBLATEX_USE= TEX=xetex TRANSLATOR_DESC= Tools for translators TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool \ msgcat:devel/gettext-tools FONTS= ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-R.ttf:x11-fonts/gentium-plus \ ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \ ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu FONTS_CJK=${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf \ ${LOCALBASE}/share/fonts/OTF/ipam.otf:japanese/font-ipa \ ${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf .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,$$, \\,' .include