1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Add staging support.

- Do not mute install commands.
This commit is contained in:
Jimmy Olgeni 2013-10-29 16:31:20 +00:00
parent be45891ea1
commit bb4b97b465
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331965

View File

@ -25,18 +25,15 @@ GH_TAGNAME= ${PORTVERSION}
PORTDOCS= *
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
.endif
@${MKDIR} ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}
@${MKDIR} ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin
@${MKDIR} ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src
@${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src
.include <bsd.port.mk>