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
@ -39,6 +39,7 @@ PLIST_FILES+= %%EXAMPLESDIR%%/${file}
|
||||
PLIST_DIRS+= \
|
||||
%%EXAMPLESDIR%%
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
do-build:
|
||||
@cd ${WRKSRC}/src/main/java && ${FIND} com -name "*.java" | \
|
||||
${XARGS} -n 10 -x \
|
||||
@ -49,7 +50,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
# docs
|
||||
.ifndef(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
. for file in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user