mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
6e13b7458a
commit
b60bc14888
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403336
1 changed files with 2 additions and 6 deletions
|
@ -20,14 +20,10 @@ PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TO-DO
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for I in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/$I ${STAGEDIR}${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue