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> | ||||
0mp: This line should be left as it is. It is discouraged to use it in new ports, yes. At the same… | |||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= docproj | PORTNAME= docproj | ||||
PORTVERSION= 2.0 | PORTVERSION= 2.0 | ||||
PORTREVISION= 16 | PORTREVISION= 17 | ||||
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= ${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/xml/xmlcharent/catalog:textproc/xmlcharent \ | ||||
${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-xsl-ns>=1.78.1_4:textproc/docbook-xsl-ns \ | asciidoctor:textproc/rubygem-asciidoctor \ | ||||
docbook>0:textproc/docbook \ | asciidoctor-pdf:textproc/rubygem-asciidoctor-pdf \ | ||||
hugo:www/gohugo \ | |||||
links:www/links1 \ | links:www/links1 \ | ||||
p5-XML-Parser>=2.41:textproc/p5-XML-Parser \ | p5-XML-Parser>=2.41:textproc/p5-XML-Parser \ | ||||
peps:graphics/peps \ | peps:graphics/peps \ | ||||
pngtopnm:graphics/netpbm \ | rougify:textproc/rubygem-rouge \ | ||||
scr2png:graphics/scr2png \ | |||||
scr2txt:textproc/scr2txt \ | scr2txt:textproc/scr2txt \ | ||||
xsltproc:textproc/libxslt \ | |||||
zip:archivers/zip | zip:archivers/zip | ||||
Done Inline ActionsUsually, depending on a binary rather than the version is preferred. hugo:www/gohugo adamw: Usually, depending on a binary rather than the version is preferred.
hugo:www/gohugo | |||||
USES= ghostscript:run metaport perl5 | USES= ghostscript:run metaport perl5 python | ||||
Done Inline Actionspython:3.6+,run here. dbaio: `python:3.6+,run` here.
Python is necessary just to to run some scripts (to create toc-files)… | |||||
USE_PERL5= run | USE_PERL5= run | ||||
OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING TRANSLATOR | OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING TRANSLATOR | ||||
OPTIONS_DEFAULT= CJK GIT GROFF IGOR TRANSLATOR | OPTIONS_DEFAULT= CJK GIT GROFF IGOR TRANSLATOR | ||||
CJK_DESC= CJK support | CJK_DESC= CJK support | ||||
DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) | DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) | ||||
FOP_DESC= FOP PDF renderer (requires Java) | FOP_DESC= FOP PDF renderer (requires Java) | ||||
GIT_DESC= Git support | GIT_DESC= Git support | ||||
GROFF_DESC= Groff support from ports | GROFF_DESC= Groff support from ports | ||||
IGOR_DESC= Igor automated proofreader for documentation | IGOR_DESC= Igor automated proofreader for documentation | ||||
JING_DESC= Jing for advanced RELAX NG validation | JING_DESC= Jing for advanced RELAX NG validation | ||||
TRANSLATOR_DESC= Tools for translators | TRANSLATOR_DESC= Tools for translators | ||||
Done Inline ActionsGIT_DESC already exists in Mk/bsd.options.desc.mk and can be safely removed. adamw: `GIT_DESC` already exists in Mk/bsd.options.desc.mk and can be safely removed. | |||||
CJK_RUN_DEPENDS= html2text:textproc/html2text | CJK_RUN_DEPENDS= html2text:textproc/html2text | ||||
DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex | DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex | ||||
DBLATEX_USE= TEX=xetex | DBLATEX_USE= TEX=xetex | ||||
FOP_RUN_DEPENDS= ${_FONTS} \ | FOP_RUN_DEPENDS= ${_FONTS} \ | ||||
fop:textproc/fop | fop:textproc/fop | ||||
GIT_RUN_DEPENDS= git:devel/git | GIT_RUN_DEPENDS= git:devel/git | ||||
GROFF_USES= groff:run | GROFF_USES= groff:run | ||||
IGOR_RUN_DEPENDS= igor:textproc/igor | IGOR_RUN_DEPENDS= igor:textproc/igor | ||||
JING_RUN_DEPENDS= jing:textproc/jing | JING_RUN_DEPENDS= jing:textproc/jing | ||||
TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool \ | TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool \ | ||||
msgcat:devel/gettext-tools | msgcat:devel/gettext-tools | ||||
Done Inline Actionspo4a>=0.63_1:textproc/po4a here. dbaio: `po4a>=0.63_1:textproc/po4a` here.
this doesn't work with older versions and I updated it… | |||||
_FONTS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu \ | _FONTS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu \ | ||||
${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/GentiumPlus/GentiumPlus-R.ttf:x11-fonts/gentium-plus \ | ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-R.ttf:x11-fonts/gentium-plus \ | ||||
${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit | ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit | ||||
_FONTS_CJK= ${LOCALBASE}/share/fonts/ipa/ipam.otf:japanese/font-ipa \ | _FONTS_CJK= ${LOCALBASE}/share/fonts/ipa/ipam.otf:japanese/font-ipa \ | ||||
${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf \ | ${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf \ | ||||
${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf | ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf | ||||
Show All 14 Lines |
This line should be left as it is. It is discouraged to use it in new ports, yes. At the same time it is not desired to remove existing created-by lines. We should probably document it in the handbook. I had been confused about it as well 2 years ago before I learnt about this unwritten convention.