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 16:44:50 +00:00
parent e78bbc8c83
commit 0a68394133
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361969
8 changed files with 20 additions and 16 deletions

View File

@ -25,7 +25,7 @@ GROUPS= devmon
SUB_LIST= USERS=${USERS} \
GROUPS=${GROUPS}
OPTIONS_DEFINE= MYSQL
OPTIONS_DEFINE= MYSQL DOCS
REINPLACE_ARGS= -i ''

View File

@ -21,7 +21,7 @@ USES= gmake tar:xz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= PCRE PLUGINS SETUID
OPTIONS_DEFINE= PCRE PLUGINS SETUID DOCS EXAMPLES
OPTIONS_DEFAULT= PCRE PLUGINS SETUID
SETUID_DESC= Use privilege separation

View File

@ -35,6 +35,8 @@ DOC_FILES= check_email_delivery.html check_email_delivery.pod \
PORTSCOUT= ignore:1
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
do-install:

View File

@ -21,7 +21,7 @@ LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg
.endif
OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \
DMALLOC MYSQL AX_SOCKONLY UNPRIVILEGED SMUX
DMALLOC MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS
OPTIONS_DEFAULT=IPV6 PERL PERL_EMBEDDED DUMMY SMUX
MFD_REWRITES_DESC= Build with 64-bit Interface Counters

View File

@ -34,7 +34,9 @@ WRKSRC= ${WRKDIR}/weathermap
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/editor.php
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
@ -66,4 +68,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -22,7 +22,7 @@ USES= gmake pkgconfig
PORTDOCS= README
OPTIONS_DEFINE= GTK2 NCURSES
OPTIONS_DEFINE= GTK2 NCURSES DOCS
OPTIONS_DEFAULT= GTK2 NCURSES
ALL_TARGET= spectool_net spectool_raw

View File

@ -18,7 +18,7 @@ USES= perl5 shebangfix
NO_BUILD= yes
SHEBANG_FILES= weathermap
OPTIONS_DEFINE= WGET
OPTIONS_DEFINE= WGET DOCS EXAMPLES
WGET_DESC= WGET support
PORTDOCS= README LICENSE INSTALL
@ -28,7 +28,7 @@ CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MWGET}
RUN_DEPENDS+= wget:${PORTSDIR}/ftp/wget
@ -50,4 +50,4 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,10 +1,10 @@
bin/weathermap
%%EXAMPLESDIR%%/weathermap.conf
%%EXAMPLESDIR%%/weathermap.html
%%EXAMPLESDIR%%/weathermap.png
%%EXAMPLESDIR%%/overlib_mini.js
%%EXAMPLESDIR%%/weathermap-background.png
%%EXAMPLESDIR%%/weathermap-overlib.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weathermap.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weathermap.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weathermap.png
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/overlib_mini.js
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weathermap-background.png
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weathermap-overlib.html
@sample etc/weathermap/weathermap.conf.sample
@dirrmtry etc/weathermap
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%