aboutsummaryrefslogtreecommitdiff
path: root/dns/erlang-idna
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 /dns/erlang-idna
parentf0374cad5e967f7a0b06d7c801410cd717862842 (diff)
downloadports-a0b3668460499425f5779bcd059f7ac0ef42e65c.tar.gz
ports-a0b3668460499425f5779bcd059f7ac0ef42e65c.zip
Update most of the Erlang ports to use erlang.mk.
These do not require a PORTREVISION bump.
Notes
Notes: svn path=/head/; revision=391483
Diffstat (limited to 'dns/erlang-idna')
-rw-r--r--dns/erlang-idna/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/dns/erlang-idna/Makefile b/dns/erlang-idna/Makefile
index ecface067f36..6bcf06f20bfc 100644
--- a/dns/erlang-idna/Makefile
+++ b/dns/erlang-idna/Makefile
@@ -10,22 +10,9 @@ COMMENT= IDNA implementation in pure Erlang
LICENSE= MIT
-BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-PLIST_SUB= VERSION="${PORTVERSION}"
-
+USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= benoitc
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
-do-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${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>