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 15:30:08 +00:00
parent 7c686ee9ea
commit 3ea4f8af7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361950
18 changed files with 24 additions and 23 deletions

View File

@ -29,6 +29,8 @@ DOCS= download.html freeglut.html freeglut_logo.png \
progress.html structure.html
BINS= CallbackMaker Fractals Fractals_random Lorenz One shapes
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
pre-configure:

View File

@ -42,7 +42,7 @@ FREI0R_PLUGINS= rgbparade scale0tilt vectorscope
PORTDOCS= *
OPTIONS_DEFINE= APIDOC
OPTIONS_DEFINE= APIDOC DOCS
OPTIONS_DEFINE_amd64= MMX
APIDOC_DESC= Install full documentation (requires doxygen)
MMX_DESC= MMX CPU instructions

View File

@ -13,7 +13,7 @@ COMMENT= Graph based image processing framework
LIB_DEPENDS= libbabl-0.1.so:${PORTSDIR}/x11/babl
OPTIONS_DEFINE= CAIRO ENSCRIPT EXIV2 FFMPEG PIXBUF GRAPHVIZ JASPER JPEG \
LUA OPENEXR OPENRAW SIMD PANGO PNG LIBRSVG2 SDL SPIRO V4L
LUA OPENEXR OPENRAW SIMD PANGO PNG LIBRSVG2 SDL SPIRO V4L DOCS
OPTIONS_DEFAULT=CAIRO ENSCRIPT EXIV2 PIXBUF GRAPHVIZ JASPER JPEG LUA \
OPENEXR OPENRAW PANGO PNG LIBRSVG2 SDL SPIRO V4L

View File

@ -18,6 +18,8 @@ NO_WRKSUBDIR= yes
JARFILES= geoapi-${PORTVERSION} jsr-275-0.9.3 geoapi-conformance-${PORTVERSION}
DOCS= README.txt
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:

View File

@ -24,7 +24,7 @@ LMAN1= gif2rgb.1 gifasm.1 gifbg.1 gifclip.1 gifclrmp.1 gifcolor.1 gifcomb.1 \
gifinto.1 gifovly.1 gifpos.1 gifrotat.1 gifrsize.1 gifspnge.1 \
giftext.1 gifwedge.1 icon2gif.1 raw2gif.1 rgb2gif.1 text2gif.1
OPTIONS_DEFINE= DOCBOOK X11
OPTIONS_DEFINE= DOCBOOK X11 DOCS
OPTIONS_SUB= yes
DOCBOOK_DESC= Generate API documentation (requires DOCS)

View File

@ -15,23 +15,16 @@ GNU_CONFIGURE= yes
PORTDOCS= NEWS README.md
OPTIONS_DEFINE= X11
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT=X11
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MX11}
CONFIGURE_ARGS+= --without-x --disable-gifview
.else
USE_XORG= x11
.endif
X11_CONFIGURE_OFF= --without-x --disable-gifview
X11_USE= XORG=x11
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -31,7 +31,7 @@ DOCSRCDIR2= ${WRKSRC}/doc
DOCSDIR2= ${DOCSDIR}/doc
DOC_FILES2= *.dtd *.xml *.html *.txt *.fig *.png
OPTIONS_DEFINE= X11
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT= X11
.include <bsd.port.options.mk>

View File

@ -52,7 +52,7 @@ USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO LIBRSVG2 POPPLER \
ANN GTS GTK2 GDK GDK_PIXBUF GNOMEUI SMYRNA GVEDIT MING DEVIL \
GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE NVTHREADS
GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE NVTHREADS DOCS
OPTIONS_DEFAULT= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO
NO_OPTIONS_SORT=yes
OPTIONS_SUB= yes

View File

@ -27,7 +27,7 @@ MASTER_SITE_IMAGEMAGICK= \
ftp://ftp.imagemagick.org/pub/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/&,}
OPTIONS_DEFINE= OPENGL UUID
OPTIONS_DEFINE= OPENGL UUID DOCS
UUID_DESC= UUID support (required by GDAL)
.include <bsd.port.options.mk>

View File

@ -25,6 +25,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/-.$//}
PORTDOCS= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
.if ${ARCH} != i386

View File

@ -19,7 +19,7 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFINE= EXAMPLES DOCS
EXAMPLES_DESC= Compile examples, need libglut
.include <bsd.port.options.mk>

View File

@ -26,7 +26,7 @@ PORTEXAMPLES= *
# chase graphics/jpeg
SOVERSION= 11
OPTIONS_DEFINE= PIC
OPTIONS_DEFINE= PIC DOCS EXAMPLES
PIC_DESC= Static library with PIC (required for VirtualGL)
.include <bsd.port.options.mk>

View File

@ -29,7 +29,7 @@ USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= X11
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT=X11
OPTIONS_SUB= yes

View File

@ -33,7 +33,7 @@ PORTDOCS= *
WITH_PTHREAD= yes
OPTIONS_DEFINE= OPTIMIZE_O3
OPTIONS_DEFINE= OPTIMIZE_O3 DOCS
OPTIMIZE_O3_DESC= Use O3 Optimization
.include <bsd.port.options.mk>

View File

@ -31,7 +31,7 @@ USE_LDCONFIG= yes
SHEBANG_FILES= editor/pnmflip editor/pnmquant editor/ppmfade \
editor/ppmquant editor/ppmshadow generator/ppmrainbow
OPTIONS_DEFINE= X11 MANPAGES
OPTIONS_DEFINE= X11 MANPAGES DOCS
OPTIONS_SUB= yes
X11_USE= xorg=x11

View File

@ -25,6 +25,8 @@ CONFIGURE_ARGS+= --with-jpeg-include-dir=${LOCALBASE}/include \
--with-jpeg-lib-dir=${LOCALBASE}/lib \
--without-x
OPTIONS_DEFINE= DOCS
MLNKS= TIFFError.3tiff TIFFSetErrorHandler.3tiff \
TIFFFlush.3tiff TIFFFlushData.3tiff \
TIFFGetField.3tiff TIFFGetFieldDefaulted.3tiff \

View File

@ -26,7 +26,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
USES= imake
USE_XORG= xext x11 xt
OPTIONS_DEFINE= M17N
OPTIONS_DEFINE= M17N DOCS
M17N_DESC= build with Multilingualization support
.include <bsd.port.options.mk>

View File

@ -20,7 +20,7 @@ USES= iconv libtool gmake pkgconfig
CONFIGURE_ARGS= --with-jpeg=yes
OPTIONS_DEFINE= X11 IMAGEMAGICK V4L PYTHON GTK2 QT4
OPTIONS_DEFINE= X11 IMAGEMAGICK V4L PYTHON GTK2 QT4 DOCS
OPTIONS_DEFAULT= X11 IMAGEMAGICK
V4L_DESC= Build zbarcam video scanner