mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add staging support.
This commit is contained in:
parent
3a529b4f78
commit
959508b5bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331969
@ -22,22 +22,17 @@ GH_TAGNAME= ${PORTVERSION}
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/guide/* ${DOCSDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${MKDIR} ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}
|
||||
@${MKDIR} ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
|
||||
@${MKDIR} ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
|
||||
${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
|
||||
${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/guide/* ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
|
||||
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
|
||||
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user