Changeset View
Changeset View
Standalone View
Standalone View
textproc/docproj/Makefile
# Created by: Nik Clayton <nik@FreeBSD.org> | # Created by: Nik Clayton <nik@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= docproj | PORTNAME= docproj | ||||
PORTVERSION= 2.0 | PORTVERSION= 2.0 | ||||
PORTREVISION= 13 | PORTREVISION= 14 | ||||
CATEGORIES= textproc | CATEGORIES= textproc | ||||
MAINTAINER= doceng@FreeBSD.org | MAINTAINER= doceng@FreeBSD.org | ||||
COMMENT= Meta-port for the FreeBSD Documentation Project | COMMENT= Meta-port for the FreeBSD Documentation Project | ||||
RUN_DEPENDS= links:www/links1 \ | RUN_DEPENDS= links:www/links1 \ | ||||
pngtopnm:graphics/netpbm \ | pngtopnm:graphics/netpbm \ | ||||
scr2png:graphics/scr2png \ | scr2png:graphics/scr2png \ | ||||
scr2txt:textproc/scr2txt \ | scr2txt:textproc/scr2txt \ | ||||
xsltproc:textproc/libxslt \ | xsltproc:textproc/libxslt \ | ||||
peps:graphics/peps \ | peps:graphics/peps \ | ||||
${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \ | ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \ | ||||
docbook-xsl-ns>=1.78.1_4:textproc/docbook-xsl-ns \ | 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 \ | ${LOCALBASE}/share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl:textproc/iso-schematron-xslt \ | ||||
docbook>0:textproc/docbook \ | docbook>0:textproc/docbook \ | ||||
${LOCALBASE}/share/xml/xmlcharent/catalog:textproc/xmlcharent \ | ${LOCALBASE}/share/xml/xmlcharent/catalog:textproc/xmlcharent \ | ||||
p5-XML-Parser>=2.41:textproc/p5-XML-Parser \ | p5-XML-Parser>=2.41:textproc/p5-XML-Parser \ | ||||
zip:archivers/zip | zip:archivers/zip | ||||
USES= ghostscript:run metaport perl5 | USES= ghostscript:run metaport perl5 | ||||
USE_PERL5= run | USE_PERL5= run | ||||
OPTIONS_DEFINE= CJK DBLATEX FOP GROFF IGOR JING SVN TRANSLATOR | OPTIONS_DEFINE= CJK DBLATEX FOP GROFF IGOR JING SUBVERSION TRANSLATOR | ||||
OPTIONS_DEFAULT= CJK IGOR TRANSLATOR | OPTIONS_DEFAULT= CJK IGOR TRANSLATOR | ||||
.if !exists(/usr/bin/groff) | .if !exists(/usr/bin/groff) | ||||
OPTIONS_DEFAULT+= GROFF | OPTIONS_DEFAULT+= GROFF | ||||
.endif | .endif | ||||
.if !exists(/usr/bin/svnlite) && !exists(/usr/bin/svn) | .if !exists(/usr/bin/svnlite) && !exists(/usr/bin/svn) | ||||
OPTIONS_DEFAULT+= SVN | OPTIONS_DEFAULT+= SUBVERSION | ||||
.endif | .endif | ||||
CJK_DESC= CJK support | CJK_DESC= CJK support | ||||
CJK_RUN_DEPENDS= html2text:textproc/html2text | CJK_RUN_DEPENDS= html2text:textproc/html2text | ||||
DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) | DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) | ||||
DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex | DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex | ||||
DBLATEX_USE= TEX=xetex | DBLATEX_USE= TEX=xetex | ||||
FOP_DESC= FOP PDF renderer (requires Java) | FOP_DESC= FOP PDF renderer (requires Java) | ||||
FOP_RUN_DEPENDS= fop:textproc/fop \ | FOP_RUN_DEPENDS= fop:textproc/fop \ | ||||
${FONTS} | ${FONTS} | ||||
GROFF_DESC= Groff support from ports | GROFF_DESC= Groff support from ports | ||||
GROFF_RUN_DEPENDS= ${LOCALBASE}/bin/groff:textproc/groff | GROFF_RUN_DEPENDS= ${LOCALBASE}/bin/groff:textproc/groff | ||||
IGOR_DESC= Igor automated proofreader for documentation | IGOR_DESC= Igor automated proofreader for documentation | ||||
IGOR_RUN_DEPENDS= igor:textproc/igor | IGOR_RUN_DEPENDS= igor:textproc/igor | ||||
JING_DESC= Jing for advanced RELAX NG validation | JING_DESC= Jing for advanced RELAX NG validation | ||||
JING_RUN_DEPENDS= jing:textproc/jing | JING_RUN_DEPENDS= jing:textproc/jing | ||||
SVN_DESC= Subversion support from ports | SUBVERSION_DESC= Subversion support from ports | ||||
koobs: Does "from ports" here mean that if the option is not defined, it uses svnlite from base?
If… | |||||
SVN_RUN_DEPENDS= ${LOCALBASE}/bin/svn:devel/subversion | SUBVERSION_RUN_DEPENDS= ${LOCALBASE}/bin/svn:devel/subversion | ||||
TRANSLATOR_DESC= Tools for translators | TRANSLATOR_DESC= Tools for translators | ||||
TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool22 \ | TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool22 \ | ||||
msgcat:devel/gettext-tools | msgcat:devel/gettext-tools | ||||
FONTS= ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-R.ttf:x11-fonts/gentium-plus \ | 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/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \ | ||||
${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit \ | ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit \ | ||||
${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu | ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu | ||||
Show All 18 Lines |
Does "from ports" here mean that if the option is not defined, it uses svnlite from base?
If so, the shared 'Subversion version control support' is probably not appropriate, and the port-defined description should remain.
If not, and this options explicitly and only means 'version control support', this change is fine.