mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00: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
@ -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…
Reference in New Issue
Block a user