mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 19:35:28 -04:00
- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
ca660606b5
commit
1df17fccd8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397391
1 changed files with 3 additions and 7 deletions
|
@ -30,16 +30,12 @@ MAKE_FLAGS= OSVER="${OSVERSION}" HASH_TYPE=openssl
|
|||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/samples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue