Date: Thu, 7 Nov 2013 16:49:34 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333139 - head/textproc/docproj Message-ID: <201311071649.rA7GnYCW068640@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gabor Date: Thu Nov 7 16:49:34 2013 New Revision: 333139 URL: http://svnweb.freebsd.org/changeset/ports/333139 Log: Update to 2.0 to reflect the dependency changes for the DocBook 5.0 tree: - DocBook 4.5 - DocBook DSSSL - (Open)Jade - ISO8879 SGML character entities - fixrtf + DocBook 5.0 + Apache FOP (pdf only) + new fonts (pdf only) + optional: jing Approved by: doceng (self) Modified: head/textproc/docproj/Makefile Modified: head/textproc/docproj/Makefile ============================================================================== --- head/textproc/docproj/Makefile Thu Nov 7 16:42:38 2013 (r333138) +++ head/textproc/docproj/Makefile Thu Nov 7 16:49:34 2013 (r333139) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= docproj -PORTVERSION= 1.17 -PORTREVISION= 13 +PORTVERSION= 2.0 CATEGORIES= textproc MASTER_SITES= # empty DISTFILES= # empty @@ -18,34 +17,28 @@ USE_PERL5= run # This dependency list should be kept in sync with the list of # required ports in src/release/Makefile.inc.docports. -RUN_DEPENDS= fixrtf:${PORTSDIR}/textproc/fixrtf \ - links:${PORTSDIR}/www/links1 \ +RUN_DEPENDS= links:${PORTSDIR}/www/links1 \ pngtopnm:${PORTSDIR}/graphics/netpbm \ scr2png:${PORTSDIR}/graphics/scr2png \ scr2txt:${PORTSDIR}/textproc/scr2txt \ xsltproc:${PORTSDIR}/textproc/libxslt \ peps:${PORTSDIR}/graphics/peps \ - ${LOCALBASE}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \ - ${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \ ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:${PORTSDIR}/textproc/xhtml \ - ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ + ${LOCALBASE}/share/xsl/docbook-ns/xhtml/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl-ns \ ${LOCALBASE}/share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl:${PORTSDIR}/textproc/iso-schematron-xslt \ - ${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml-450 \ + ${LOCALBASE}/share/xml/docbook/5.0/dtd/docbook.dtd:${PORTSDIR}/textproc/docbook-500 \ ${LOCALBASE}/share/xml/xmlcharent/catalog:${PORTSDIR}/textproc/xmlcharent \ p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser \ zip:${PORTSDIR}/archivers/zip -OPTIONS_DEFINE= X11 JADETEX OPENJADE CJK SVN IGOR -JADETEX_DESC= Support building additional document formats (PDF) -OPENJADE_DESC= Install textproc/openjade instead of textproc/jade +OPTIONS_DEFINE= X11 CJK SVN IGOR FOP JING DBLATEX CJK_DESC= CJK (Simplified Chinese Language) support SVN_DESC= Subversion support (required to check out sources) IGOR_DESC= Igor automated proofreader for documentation -OPTIONS_DEFAULT= X11 OPENJADE CJK SVN IGOR - -.if !defined(WITHOUT_JADETEX) || defined(PACKAGE_BUILDING) -OPTIONS_DEFAULT+= JADETEX -.endif +FOP_DESC= FOP PDF renderer (requires Java) +JING_DESC= Jing for advanced RELAX NG validation (optional) +DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) +OPTIONS_DEFAULT= X11 CJK SVN IGOR NO_STAGE= yes .include <bsd.port.options.mk> @@ -58,20 +51,37 @@ RUN_DEPENDS+= svn:${PORTSDIR}/devel/subv RUN_DEPENDS+= igor:${PORTSDIR}/textproc/igor .endif -.if ${PORT_OPTIONS:MJADETEX} -USE_TEX= jadetex dvipsk .if ${PORT_OPTIONS:MCJK} -RUN_DEPENDS+= cjktexsty:${PORTSDIR}/chinese/docproj +RUN_DEPENDS+= html2text:${PORTSDIR}/textproc/html2text +.endif + +.if ${PORT_OPTIONS:MFOP} +RUN_DEPENDS+= fop:${PORTSDIR}/textproc/fop +.endif + +.if ${PORT_OPTIONS:MJING} +RUN_DEPENDS+= jing:${PORTSDIR}/textproc/jing .endif + +.if ${PORT_OPTIONS:MDBLATEX} +USE_TEX= texlive xetex +RUN_DEPENDS+= dblatex:${PORTSDIR}/textproc/dblatex .endif +.if ${PORT_OPTIONS:MFOP} || ${PORT_OPTIONS:MDBLATEX} +ONLY_FOR_ARCHS= amd64 i386 +RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/GentiumPlus/GentiumPlus-R.ttf:${PORTSDIR}/x11-fonts/gentium-plus +RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/Droid/DroidSans.ttf:${PORTSDIR}/x11-fonts/droid-fonts-ttf +RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/Lohit/Lohit-Bengali.ttf:${PORTSDIR}/x11-fonts/lohit +RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSansMono.ttf:${PORTSDIR}/x11-fonts/dejavu .if ${PORT_OPTIONS:MCJK} -RUN_DEPENDS+= html2text:${PORTSDIR}/textproc/html2text +RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:${PORTSDIR}/chinese/arphicttf +RUN_DEPENDS+= ${LOCALBASE}/share/fonts/OTF/ipam.otf:${PORTSDIR}/japanese/font-ipa +.endif .endif -NO_BUILD= yes USE_GHOSTSCRIPT_RUN= yes -PLIST_FILES= #empty +NO_BUILD= yes DEPENDS_ARGS+= BATCH=yes @@ -87,12 +97,4 @@ minimaldocports: do-install: # empty -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MOPENJADE} || ${ARCH} != "i386" -RUN_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade -.else -RUN_DEPENDS+= jade:${PORTSDIR}/textproc/jade -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311071649.rA7GnYCW068640>