aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
commite1bfdfbe5665c963621e06f6bbfbbc2c000a804e (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /textproc
parentf57bc4af665126de839ff734a08e57726e84da84 (diff)
downloadports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.tar.gz
ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/bibtool/Makefile2
-rw-r--r--textproc/docbook-utils/Makefile2
-rw-r--r--textproc/elixir-earmark/Makefile2
-rw-r--r--textproc/elixir-ex_doc/Makefile2
-rw-r--r--textproc/elixir-funnel/Makefile2
-rw-r--r--textproc/elixir-sweet_xml/Makefile2
-rw-r--r--textproc/erlang-edown/Makefile2
-rw-r--r--textproc/erlang-fast_xml/Makefile2
-rw-r--r--textproc/erlang-p1_utils/Makefile2
-rw-r--r--textproc/erlang-yamerl/Makefile2
-rw-r--r--textproc/expat2/Makefile2
-rw-r--r--textproc/highlight/Makefile2
-rw-r--r--textproc/html-xml-utils/Makefile2
-rw-r--r--textproc/htmlc/Makefile2
-rw-r--r--textproc/java2html/Makefile2
-rw-r--r--textproc/kompare/Makefile2
-rw-r--r--textproc/libepubgen/Makefile3
-rw-r--r--textproc/libkomparediff2/Makefile2
-rw-r--r--textproc/libqxp/Makefile3
-rw-r--r--textproc/librevenge/Makefile3
-rw-r--r--textproc/linux-c6-expat/Makefile2
-rw-r--r--textproc/linux-c6-libxml2/Makefile2
-rw-r--r--textproc/linux-c7-expat/Makefile2
-rw-r--r--textproc/linux-c7-libxml2/Makefile2
-rw-r--r--textproc/metauml/Makefile2
-rw-r--r--textproc/rss2html/Makefile2
-rw-r--r--textproc/smi/Makefile2
-rw-r--r--textproc/xerces-j/Makefile2
-rw-r--r--textproc/xp/Makefile2
29 files changed, 57 insertions, 4 deletions
diff --git a/textproc/bibtool/Makefile b/textproc/bibtool/Makefile
index a45f7d1b6c5d..122056a258b8 100644
--- a/textproc/bibtool/Makefile
+++ b/textproc/bibtool/Makefile
@@ -23,6 +23,8 @@ INSTALL_TARGET= install install.man
PORTDOCS= bibtool.pdf ref_card.pdf c_lib.pdf
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} 's/bibtex$$/&8/' ${WRKSRC}/doc/Makefile
diff --git a/textproc/docbook-utils/Makefile b/textproc/docbook-utils/Makefile
index 95ad8d246720..9c16e6a27ba5 100644
--- a/textproc/docbook-utils/Makefile
+++ b/textproc/docbook-utils/Makefile
@@ -30,6 +30,8 @@ perl_OLD_CMD= @perl_bindir@/perl
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc/sgml/catalog|${PREFIX}/share/sgml/catalog|g' \
${WRKSRC}/doc/HTML/Makefile.in
diff --git a/textproc/elixir-earmark/Makefile b/textproc/elixir-earmark/Makefile
index 145e5ddfa3e9..7c976bc6c023 100644
--- a/textproc/elixir-earmark/Makefile
+++ b/textproc/elixir-earmark/Makefile
@@ -17,4 +17,6 @@ GH_ACCOUNT= pragdave
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/elixir-ex_doc/Makefile b/textproc/elixir-ex_doc/Makefile
index ddd2a7278e52..d151ea29d270 100644
--- a/textproc/elixir-ex_doc/Makefile
+++ b/textproc/elixir-ex_doc/Makefile
@@ -22,4 +22,6 @@ MIX_BUILD_DEPS= textproc/elixir-earmark
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/elixir-funnel/Makefile b/textproc/elixir-funnel/Makefile
index 9daad4ef44e2..6adc1c4cd66b 100644
--- a/textproc/elixir-funnel/Makefile
+++ b/textproc/elixir-funnel/Makefile
@@ -21,4 +21,6 @@ MIX_BUILD_DEPS= devel/elixir-poison \
www/elixir-httpoison
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/elixir-sweet_xml/Makefile b/textproc/elixir-sweet_xml/Makefile
index 327980b84578..18fd0aab33c2 100644
--- a/textproc/elixir-sweet_xml/Makefile
+++ b/textproc/elixir-sweet_xml/Makefile
@@ -15,4 +15,6 @@ USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= gniquil
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/erlang-edown/Makefile b/textproc/erlang-edown/Makefile
index 4d23577bfa8c..484dc9f8506c 100644
--- a/textproc/erlang-edown/Makefile
+++ b/textproc/erlang-edown/Makefile
@@ -14,4 +14,6 @@ GH_ACCOUNT= uwiger
ERL_DOCS= doc/*
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/erlang-fast_xml/Makefile b/textproc/erlang-fast_xml/Makefile
index a39b462ad800..16f88173472f 100644
--- a/textproc/erlang-fast_xml/Makefile
+++ b/textproc/erlang-fast_xml/Makefile
@@ -22,6 +22,8 @@ ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -l expat
+OPTIONS_DEFINE= DOCS
+
pre-install:
${STRIP_CMD} ${WRKSRC}/priv/lib/*.so
diff --git a/textproc/erlang-p1_utils/Makefile b/textproc/erlang-p1_utils/Makefile
index 09c89dd55e34..0b5314b4c7f9 100644
--- a/textproc/erlang-p1_utils/Makefile
+++ b/textproc/erlang-p1_utils/Makefile
@@ -14,4 +14,6 @@ USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= processone
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/erlang-yamerl/Makefile b/textproc/erlang-yamerl/Makefile
index 516de1f38ca0..9d862fde8ac6 100644
--- a/textproc/erlang-yamerl/Makefile
+++ b/textproc/erlang-yamerl/Makefile
@@ -17,4 +17,6 @@ GH_ACCOUNT= yakaz
ERL_DOCS= README.md doc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile
index 4d211683e70b..215dc10c0aa3 100644
--- a/textproc/expat2/Makefile
+++ b/textproc/expat2/Makefile
@@ -19,4 +19,6 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-docbook
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile
index 39aa1c5788c3..b9d6f94a3e52 100644
--- a/textproc/highlight/Makefile
+++ b/textproc/highlight/Makefile
@@ -25,6 +25,8 @@ MAKE_ARGS= CXX="${CXX}" \
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} \
-e 's|^PREFIX =|PREFIX ?=|' \
diff --git a/textproc/html-xml-utils/Makefile b/textproc/html-xml-utils/Makefile
index da3838a8f4da..2e998addc93f 100644
--- a/textproc/html-xml-utils/Makefile
+++ b/textproc/html-xml-utils/Makefile
@@ -21,7 +21,7 @@ SHEBANG_FILES= ${WRKSRC}/hxcite-mkbib
CONFIGURE_ARGS= LDFLAGS=${ICONV_LIB}
OPTIONS_SUB= yes
-OPTIONS_DEFINE= CURL IDN IDN2
+OPTIONS_DEFINE= CURL IDN IDN2 DOCS
CURL_CONFIGURE_WITH= libcurl=${LOCALBASE}
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
IDN_CONFIGURE_WITH= libidn=${LOCALBASE}
diff --git a/textproc/htmlc/Makefile b/textproc/htmlc/Makefile
index 114016f24214..ce610b712945 100644
--- a/textproc/htmlc/Makefile
+++ b/textproc/htmlc/Makefile
@@ -21,6 +21,8 @@ PORTDOCS= LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${LOCALBASE}
+OPTIONS_DEFINE= DOCS
+
post-patch:
${RM} ${WRKSRC}/doc/Makefile
${TOUCH} ${WRKSRC}/doc/Makefile
diff --git a/textproc/java2html/Makefile b/textproc/java2html/Makefile
index 3015897136d7..91da197f2a0c 100644
--- a/textproc/java2html/Makefile
+++ b/textproc/java2html/Makefile
@@ -16,6 +16,8 @@ GNU_CONFIGURE= yes
PORTDOCS= AUTHORS NEWS README
PLIST_FILES= bin/java2html man/man1/java2html.1.gz
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
diff --git a/textproc/kompare/Makefile b/textproc/kompare/Makefile
index 41d75dbbd9e9..2c85690bfe52 100644
--- a/textproc/kompare/Makefile
+++ b/textproc/kompare/Makefile
@@ -16,4 +16,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \
USE_QT= core dbus gui network printsupport widgets xml \
buildtools_build qmake_build
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/libepubgen/Makefile b/textproc/libepubgen/Makefile
index 1dbce5f6bbf7..bf89fdc446be 100644
--- a/textproc/libepubgen/Makefile
+++ b/textproc/libepubgen/Makefile
@@ -28,7 +28,7 @@ USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= DOXYGEN TEST
+OPTIONS_DEFINE= DOCS DOXYGEN TEST
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
@@ -40,5 +40,6 @@ TEST_CONFIGURE_ENABLE= tests
PORTDOCS= *
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_OFF= --without-docs
+DOXYGEN_IMPLIES= DOCS
.include <bsd.port.mk>
diff --git a/textproc/libkomparediff2/Makefile b/textproc/libkomparediff2/Makefile
index 9a857ea53e6c..beb714784a90 100644
--- a/textproc/libkomparediff2/Makefile
+++ b/textproc/libkomparediff2/Makefile
@@ -14,4 +14,6 @@ USE_QT= core dbus gui widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/libqxp/Makefile b/textproc/libqxp/Makefile
index 14cb2ddcafe0..270505828345 100644
--- a/textproc/libqxp/Makefile
+++ b/textproc/libqxp/Makefile
@@ -30,7 +30,7 @@ USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= DOXYGEN TEST
+OPTIONS_DEFINE= DOCS DOXYGEN TEST
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
@@ -41,5 +41,6 @@ TEST_CONFIGURE_ENABLE= tests
PORTDOCS= *
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_OFF= --without-docs
+DOXYGEN_IMPLIES= DOCS
.include <bsd.port.mk>
diff --git a/textproc/librevenge/Makefile b/textproc/librevenge/Makefile
index b3a97b6b43d1..6f7d70c49bc9 100644
--- a/textproc/librevenge/Makefile
+++ b/textproc/librevenge/Makefile
@@ -19,12 +19,13 @@ INSTALL_TARGET= install-strip
BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs
-OPTIONS_DEFINE= DOXYGEN
+OPTIONS_DEFINE= DOXYGEN DOCS
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ARGS= -disable-werror --disable-tests
PORTDOCS= *
+DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_OFF= --without-docs
diff --git a/textproc/linux-c6-expat/Makefile b/textproc/linux-c6-expat/Makefile
index b212984d9b50..ba96f1190c6b 100644
--- a/textproc/linux-c6-expat/Makefile
+++ b/textproc/linux-c6-expat/Makefile
@@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/linux-c6-libxml2/Makefile b/textproc/linux-c6-libxml2/Makefile
index a7a519b0040c..ba6641234886 100644
--- a/textproc/linux-c6-libxml2/Makefile
+++ b/textproc/linux-c6-libxml2/Makefile
@@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/linux-c7-expat/Makefile b/textproc/linux-c7-expat/Makefile
index 958712c37409..272d3914ec72 100644
--- a/textproc/linux-c7-expat/Makefile
+++ b/textproc/linux-c7-expat/Makefile
@@ -19,4 +19,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/linux-c7-libxml2/Makefile b/textproc/linux-c7-libxml2/Makefile
index be3580c9d024..c0baf1ac538f 100644
--- a/textproc/linux-c7-libxml2/Makefile
+++ b/textproc/linux-c7-libxml2/Makefile
@@ -19,4 +19,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/textproc/metauml/Makefile b/textproc/metauml/Makefile
index 8075c5448940..0037645a2af5 100644
--- a/textproc/metauml/Makefile
+++ b/textproc/metauml/Makefile
@@ -32,6 +32,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_lib
PORTDOCS= ${PORTNAME}_manual_${PORTVERSION}.pdf
PORTEXAMPLES= *.1 *.jpg *.mp lop lop.html lop.pdf lop.tex
+OPTIONS_DEFINE= DOCS
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${MPDIR}
${INSTALL_DATA} ${WRKSRC}/thrunk/*.mp ${STAGEDIR}${PREFIX}/${MPDIR}
diff --git a/textproc/rss2html/Makefile b/textproc/rss2html/Makefile
index d00a3044ffed..d110416fc2d2 100644
--- a/textproc/rss2html/Makefile
+++ b/textproc/rss2html/Makefile
@@ -20,6 +20,8 @@ CFLAGS+= "-I${LOCALBASE}/include" "-L${LOCALBASE}/lib"
PLIST_FILES= bin/rss2html man/man1/rss2html.1.gz
PORTDOCS= rss2html.links usage.example rss2html.template
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '16,20d' ${WRKSRC}/Makefile.acr
diff --git a/textproc/smi/Makefile b/textproc/smi/Makefile
index 85edf5fc535b..55dcf418a01f 100644
--- a/textproc/smi/Makefile
+++ b/textproc/smi/Makefile
@@ -24,6 +24,8 @@ MAKE_ENV= PROG="${PORTNAME}" FILES="${PORTDOCS}" \
MANDIR="${MANPREFIX}/man/man"
CFLAGS+= -DVERSION=${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
pre-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile
index 8197a835c219..4cce8e4bff5d 100644
--- a/textproc/xerces-j/Makefile
+++ b/textproc/xerces-j/Makefile
@@ -26,6 +26,8 @@ JARFILES= xercesImpl.jar xml-apis.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
.for JARFILE in ${JARFILES}
diff --git a/textproc/xp/Makefile b/textproc/xp/Makefile
index 3c36ee841ae4..950b5b57cc90 100644
--- a/textproc/xp/Makefile
+++ b/textproc/xp/Makefile
@@ -23,6 +23,8 @@ PORTDOCS= api copying.txt index.html
JARFILE= ${PORTNAME}.jar
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}