summaryrefslogtreecommitdiffstats
path: root/devel/erlang-lager_syslog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/erlang-lager_syslog/Makefile')
-rw-r--r--devel/erlang-lager_syslog/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/devel/erlang-lager_syslog/Makefile b/devel/erlang-lager_syslog/Makefile
index 96719d0..8652e43 100644
--- a/devel/erlang-lager_syslog/Makefile
+++ b/devel/erlang-lager_syslog/Makefile
@@ -10,23 +10,12 @@ COMMENT= Syslog backend for Lager
LICENSE= APACHE20
-BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
- erlang-lager>=2.1.1:${PORTSDIR}/devel/erlang-lager \
- erlang-syslog>=1.0.3:${PORTSDIR}/devel/erlang-syslog
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-PLIST_SUB= VERSION="${PORTVERSION}"
-
+USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= basho
-do-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
- @${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
+ERL_BUILD_DEPS= devel/erlang-lager \
+ devel/erlang-syslog
+RUN_DEPENDS:= ${BUILD_DEPENDS}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud