1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.

This commit is contained in:
Adam Weinberger 2014-07-15 14:36:12 +00:00
parent c5f6c8b922
commit 38c88dc57d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361929
25 changed files with 38 additions and 11 deletions

View File

@ -33,7 +33,7 @@ SHLIB_VER= ${PORTVERSION}
# Wrong versioning upstream
PORTSCOUT= ignore:1
OPTIONS_DEFINE= ALSA JACK OGG
OPTIONS_DEFINE= ALSA JACK OGG DOCS
OPTIONS_GROUP= DEMOS_EXAMPLES
OPTIONS_GROUP_DEMOS_EXAMPLES= DEMOS EXAMPLES
OPTIONS_DEFAULT= ALSA DEMOS OGG

View File

@ -22,6 +22,8 @@ ONLY_FOR_ARCHS_REASON= The port fetches and installs precompiled binaries
USES= perl5
USE_PERL5= run
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:

View File

@ -30,6 +30,8 @@ PLIST_SUB= SHLIBVER=${SHLIBVER}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"

View File

@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_RC_SUBR= distccd
OPTIONS_DEFINE= GNOME GTK IPV6 AVAHI COMPILER_LINKS
OPTIONS_DEFINE= GNOME GTK IPV6 AVAHI COMPILER_LINKS DOCS
GNOME_DESC= GUI monitor based on GNOME
GTK_DESC= Build GUI monitor based on GTK
AVAHI_DESC= Avahi Zeroconf/mDNS/Bonjour support

View File

@ -21,7 +21,7 @@ USE_AUTOTOOLS= aclocal automake autoconf libtool
AUTOMAKE_ARGS= -c -a
ACLOCAL_ARGS= --automake-acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
OPTIONE_DEFINE= EXAMPLES DOCS
OPTIONS_DEFINE= EXAMPLES DOCS
PORTDOCS= *

View File

@ -21,6 +21,8 @@ PROJECTHOST= google-glog
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
post-patch:

View File

@ -29,6 +29,8 @@ USES= compiler libtool
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lexecinfo
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC)

View File

@ -17,6 +17,8 @@ COMMENT= Extremely memory-efficient hash_map implementation
GNU_CONFIGURE= yes
USE_GCC= 4.8+
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:

View File

@ -25,6 +25,8 @@ PLIST_FILES= lib/gtk-2.0/modules/libgtkparasite.a \
lib/gtk-2.0/modules/libgtkparasite.so
USE_AUTOTOOLS= autoconf automake libtool
OPTIONS_DEFINE= DOCS
pre-configure:
cd ${WRKSRC} && ${REINPLACE_CMD} -e '/.\/configure/d' ./autogen.sh \
&& ./autogen.sh

View File

@ -22,6 +22,8 @@ PORTDOCS= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:

View File

@ -14,7 +14,7 @@ LICENSE= BSD
PKGMESSAGE= ${WRKDIR}/pkg-message
USES= zip
USE_JAVA= yes
OPTIONS_DEFINE= JLINEPATCH
OPTIONS_DEFINE= JLINEPATCH DOCS
JLINEPATCH_DESC= Allow ConsoleRunner customized completion
JLINEJAR= ${WRKSRC}/jline-${PORTVERSION}.jar
SUB_FILES= pkg-message

View File

@ -22,6 +22,8 @@ USE_GCC= yes
INFO= liblouisxml
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:

View File

@ -22,6 +22,8 @@ GNU_CONFIGURE= yes
PLIST_SUB= VERSION="2.0" API_VERSION="2.0"
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}

View File

@ -32,6 +32,8 @@ PLIST_FILES= bin/love5
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}5
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:

View File

@ -37,7 +37,7 @@ CONFIGURE_ARGS= --destdir "${STAGEDIR}" \
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
SA_DIR= ${PREFIX}/${OCAML_SITELIBDIR}
OPTIONS_DEFINE= TOPLEVEL
OPTIONS_DEFINE= TOPLEVEL DOCS
OPTIONS_DEFAULT= TOPLEVEL
TOPLEVEL_DESC= Include enhanced OCaml toplevel

View File

@ -19,6 +19,8 @@ MAKE_JOBS_UNSAFE= yes
INFO= omake-doc
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"

View File

@ -25,7 +25,7 @@ CONFIGURE_ARGS= --enable-utf --enable-unicode-properties \
--enable-pcretest-libedit
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= STACK_RECURSION
OPTIONS_DEFINE= STACK_RECURSION DOCS
OPTIONS_DEFAULT= STACK_RECURSION
STACK_RECURSION_DESC= Use the stack for recursion during matching

View File

@ -20,6 +20,8 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= Durus
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:

View File

@ -20,7 +20,7 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= SimPy
OPTIONS_DEFINE= TKINTER
OPTIONS_DEFINE= TKINTER DOCS
TKINTER_DESC= py-tkinter for plot
.include <bsd.port.options.mk>

View File

@ -28,7 +28,7 @@ USE_PYDISTUTILS= yes
PLIST_FILES= bin/pt2to3 bin/ptdump bin/ptrepack
OPTIONS_DEFINE= PYREX
OPTIONS_DEFINE= PYREX DOCS EXAMPLES
PYREX_DESC= Use code generated by Pyrex to build
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options

View File

@ -29,6 +29,7 @@ PORTDOCS= changes.html customers.html features.html \
simian.jpg \
javadoc
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= LANG
OPTIONS_SINGLE_LANG= JAVA MONO

View File

@ -21,7 +21,7 @@ USE_BZIP2= yes
NO_BUILD= yes
OPTIONS_SUB= yes
OPTIONS_DEFINE= HTML_SINGLE PDF
OPTIONS_DEFINE= HTML_SINGLE PDF DOCS
OPTIONS_DEFAULT= HTML_SINGLE
HTML_SINGLE_DESC= Single HTML page edition

View File

@ -31,6 +31,8 @@ CONFIGURE_ARGS+=--with-lua=${LUA_BINDIR}/lua \
OCTAVE_VER_CMD= ${LOCALBASE}/bin/octave-config -v 2>/dev/null || ${TRUE}
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
post-patch:

View File

@ -24,7 +24,7 @@ LIB32_PATH?= ${DESTDIR}/usr/lib32/libc.so
BUILD_DEPENDS+= docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl \
xsltproc:${PORTSDIR}/textproc/libxslt
OPTIONS_DEFINE= MPI
OPTIONS_DEFINE= MPI DOCS
OPTIONS_DEFINE_amd64= 32BIT
#.if exists(${LIB32_PATH})
#OPTIONS_DEFAULT_amd64= 32BIT

View File

@ -21,7 +21,7 @@ ONLY_FOR_ARCHS= i386 amd64
LIB32_PATH?= ${DESTDIR}/usr/lib32/libc.so
OPTIONS_DEFINE= MPI
OPTIONS_DEFINE= MPI DOCS
OPTIONS_DEFINE_amd64= 32BIT
.if exists(${LIB32_PATH})
OPTIONS_DEFAULT_amd64= 32BIT