diff options
Diffstat (limited to 'devel/erlang-recon/Makefile')
-rw-r--r-- | devel/erlang-recon/Makefile | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/devel/erlang-recon/Makefile b/devel/erlang-recon/Makefile index 69e2362..25dceec 100644 --- a/devel/erlang-recon/Makefile +++ b/devel/erlang-recon/Makefile @@ -10,31 +10,18 @@ COMMENT= Collection of functions and scripts to debug Erlang in production LICENSE= BSD3CLAUSE -BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang -RUN_DEPENDS:= ${BUILD_DEPENDS} - -PLIST_SUB= VERSION="${PORTVERSION}" - +USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= ferd -post-patch: - @${REINPLACE_CMD} -i '' -e "s@%%LOCALBASE%%@${LOCALBASE}@" ${WRKSRC}/script/app_deps.erl +ERL_DOCS= README.md doc/* +REBAR_TARGETS= compile doc -do-build: - @cd ${WRKSRC} && ./rebar compile doc +post-build: @${RM} ${WRKSRC}/doc/packages-frame.html -do-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin +post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/script - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src - ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin - ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/script/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/script .include <bsd.port.mk> |