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:36:19 +00:00
parent 7fa6b0dae2
commit fe8d1fdffc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361967
16 changed files with 35 additions and 30 deletions

View File

@ -26,7 +26,7 @@ LIBS+= -L${LOCALBASE}/lib
# Within it all options except DBCS are enabled by default.
OPTIONS_DEFINE= OPENSSL READLINE PR3287 ANSI APL DBCS FT LOCAL_PROCESS \
PRINTER SCRIPT TN3270E TRACE
PRINTER SCRIPT TN3270E TRACE DOCS
OPTIONS_DEFAULT= OPENSSL READLINE PR3287 ANSI APL FT LOCAL_PROCESS \
PRINTER SCRIPT TN3270E TRACE
PR3287_DESC= Build pr3287 component

View File

@ -19,6 +19,8 @@ PORTDOCS= *
USE_PYTHON= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
get_src= ${MAKE} -C ${PORTSDIR}/net/cvsup-without-gui -V WRKSRC

View File

@ -81,7 +81,7 @@ _REQUIRE= NETWORKING SERVERS
OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
PGSQL UNIXODBC FIREBIRD PERL PYTHON OCI8 RUBY DHCP \
EXPERIMENTAL UDPFROMTO DEVELOPER EDIR SSL_PORT
EXPERIMENTAL UDPFROMTO DEVELOPER EDIR SSL_PORT DOCS
OPTIONS_DEFAULT=USER PERL PYTHON
DHCP_DESC= With DHCP support (EXPERIMENTAL)

View File

@ -45,7 +45,7 @@ PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g}
OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \
EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
FREETDS IDN SSL_PORT
FREETDS IDN SSL_PORT DOCS
OPTIONS_DEFAULT=USER PERL
USER_DESC= Run as user freeradius, group freeradius

View File

@ -15,7 +15,9 @@ OPTIONS_DEFINE= NTPSNMPD \
CHU \
AUDIO_CHU \
DATUM \
DOCS \
DUMBCLOCK \
EXAMPLES \
FG \
HEATH \
HOPFSERIAL \

View File

@ -213,13 +213,13 @@ man/man1/ntp-keygen.1.gz
%%PORTDOCS%%%%DOCSDIR%%/sntp.html
%%PORTDOCS%%%%DOCSDIR%%/tickadj.html
%%PORTDOCS%%%%DOCSDIR%%/xleave.html
%%EXAMPLESDIR%%/README
%%EXAMPLESDIR%%/baldwin.conf
%%EXAMPLESDIR%%/beauregard.conf
%%EXAMPLESDIR%%/grundoon.conf
%%EXAMPLESDIR%%/malarky.conf
%%EXAMPLESDIR%%/pogo.conf
%%EXAMPLESDIR%%/rackety.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/baldwin.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beauregard.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grundoon.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/malarky.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pogo.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rackety.conf
%%PORTDOCS%%@dirrm %%DOCSDIR%%/scripts
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pic
%%PORTDOCS%%@dirrm %%DOCSDIR%%/icons
@ -229,4 +229,4 @@ man/man1/ntp-keygen.1.gz
%%PORTDOCS%%@dirrm %%DOCSDIR%%/drivers
%%PORTDOCS%%@dirrm %%DOCSDIR%%/description_files
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

View File

@ -21,6 +21,8 @@ PORTDOCS= *
USE_RC_SUBR= ptpd2
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install::

View File

@ -21,8 +21,9 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@ -35,4 +36,4 @@ post-install:
cd ${WRKSRC}/scripts && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -14,6 +14,8 @@ COMMENT= Unix-like tools to manipulate stored files from the command line
USE_PYDISTUTILS= yes
USE_PYTHON= 2
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:

View File

@ -22,7 +22,7 @@ DOCFILES= COPYRIGHT INSTALL doc/ChangeLog doc/README doc/README.Y2K \
doc/README.cisco doc/README.pam doc/README.proxy \
doc/README.simul doc/README.usersfile
OPTIONS_DEFINE= PAM
OPTIONS_DEFINE= PAM DOCS
OPTIONS_DEFAULT=PAM
OPTIONS_SUB= yes
@ -31,16 +31,14 @@ OPTIONS_SUB= yes
PLIST_SUB+= PAMBASE="/usr/local/etc"
do-build:
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE}
${DO_MAKE_BUILD} -C ${WRKSRC}/src
do-install:
.if ${PORT_OPTIONS:MPAM}
${MKDIR} ${STAGEDIR}/etc/pam.d
.endif
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} install
.if ${PORT_OPTIONS:MDOCS}
${DO_MAKE_BUILD} -C ${WRKSRC}/src install
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -27,8 +27,8 @@ WRKSRC= ${WRKDIR}/aiccu
BUILD_WRKSRC= ${WRKDIR}/aiccu/unix-console
PORTDOCS= README
OPTIONS_DEFINE= LOG_DAEMON
LOG_DAEMON_DESC= log to LOG_DAEMON instead to LOG_LOCAL7
OPTIONS_DEFINE= LOG_DAEMON DOCS
LOG_DAEMON_DESC=Log to LOG_DAEMON instead to LOG_LOCAL7
post-patch:
@${REINPLACE_CMD} \
@ -51,10 +51,8 @@ do-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${STAGEDIR}${PREFIX}/sbin/sixxs-aiccu
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}/
.endif
${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${STAGEDIR}${PREFIX}/etc/aiccu.conf.sample
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
@unexec if cmp -s %D/etc/aiccu.conf %D/etc/aiccu.conf.sample; then rm -f %D/etc/aiccu.conf; fi
etc/aiccu.conf.sample
@exec [ -f %B/aiccu.conf ] || install -m 0644 %B/%f %B/aiccu.conf
@sample etc/aiccu.conf.sample
sbin/sixxs-aiccu

View File

@ -27,7 +27,7 @@ USE_RC_SUBR= turnserver
HAS_CONFIGURE= YES
OPTIONS_DEFINE= MYSQL PGSQL REDIS
OPTIONS_DEFINE= MYSQL PGSQL REDIS DOCS EXAMPLES
SHEBANG_FILES= examples/scripts/restapi/shared_secret_maintainer.pl
USES= perl5 shebangfix

View File

@ -20,6 +20,8 @@ USE_LDCONFIG= yes
UDT_APPS= appclient appserver recvfile sendfile test
USES= uidfix
OPTIONS_DEFINE= DOCS
post-build:
# Building sample applications:
.for a in ${UDT_APPS}

View File

@ -32,7 +32,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= vinagre.schemas
OPTIONS_DEFINE= TELEPATHY
OPTIONS_DEFINE= TELEPATHY DOCS
OPTIONS_DEFAULT=TELEPATHY
OPTIONS_SUB= yes
TELEPATHY_DESC= Telepathy integration

View File

@ -27,7 +27,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
OPTIONS_DEFINE=NLS AVAHI
OPTIONS_DEFINE= NLS AVAHI DOCS
OPTIONS_DEFAULT=NLS AVAHI
NO_OPTIONS_SORT=yes
NLS_USES= gettext