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

This commit is contained in:
Adam Weinberger 2014-07-15 16:50:33 +00:00
parent cd13c75523
commit a76156a41f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361974
3 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,8 @@ post-configure:
@${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g"
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:

View File

@ -27,6 +27,8 @@ CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME}
CLASS_FILES= svninfo.sty svninfo.cfg
PORTDOCS= README svninfo.dvi
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
do-build:

View File

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