Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
This commit is contained in:
parent
8a5d35c41a
commit
debf89329c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309740
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ PLIST_FILES+= %%EXAMPLESDIR%%/${file}
|
||||||
PLIST_DIRS+= \
|
PLIST_DIRS+= \
|
||||||
%%EXAMPLESDIR%%
|
%%EXAMPLESDIR%%
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
do-build:
|
do-build:
|
||||||
@cd ${WRKSRC}/src/main/java && ${FIND} com -name "*.java" | \
|
@cd ${WRKSRC}/src/main/java && ${FIND} com -name "*.java" | \
|
||||||
${XARGS} -n 10 -x \
|
${XARGS} -n 10 -x \
|
||||||
|
@ -49,7 +50,7 @@ do-build:
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
# docs
|
# docs
|
||||||
.ifndef(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
. for file in ${DOC_FILES}
|
. for file in ${DOC_FILES}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||||
|
|
Loading…
Reference in a new issue