- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
b0674d8633
commit
261e575224
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397384
@ -39,15 +39,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
CONFIGURE_ENV+= CCPIC=-fPIC
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
|
||||
${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user