aboutsummaryrefslogtreecommitdiff
path: root/devel/erlang-protobuffs/Makefile
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 22:27:17 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 22:27:17 +0000
commita0b3668460499425f5779bcd059f7ac0ef42e65c (patch)
tree8b590048db59196d48712afbd86344d32bdee72b /devel/erlang-protobuffs/Makefile
parentf0374cad5e967f7a0b06d7c801410cd717862842 (diff)
downloadports-a0b3668460499425f5779bcd059f7ac0ef42e65c.tar.gz
ports-a0b3668460499425f5779bcd059f7ac0ef42e65c.zip
Notes
Diffstat (limited to 'devel/erlang-protobuffs/Makefile')
-rw-r--r--devel/erlang-protobuffs/Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/devel/erlang-protobuffs/Makefile b/devel/erlang-protobuffs/Makefile
index a7e4a41464af..fdd3447d9199 100644
--- a/devel/erlang-protobuffs/Makefile
+++ b/devel/erlang-protobuffs/Makefile
@@ -9,27 +9,9 @@ PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Protocol Buffers interface for Erlang
-BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
-RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
-
-PLIST_SUB= VERSION="${PORTVERSION}"
-
+USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= basho
GH_PROJECT= erlang_protobuffs
-.include <bsd.port.options.mk>
-
-post-patch:
- @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
-
-do-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.markdown ${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
-
.include <bsd.port.mk>