summaryrefslogtreecommitdiffstats
path: root/devel/erlang-ssl_verify_hostname/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/erlang-ssl_verify_hostname/Makefile')
-rw-r--r--devel/erlang-ssl_verify_hostname/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/devel/erlang-ssl_verify_hostname/Makefile b/devel/erlang-ssl_verify_hostname/Makefile
index 147ebf2..61917c0 100644
--- a/devel/erlang-ssl_verify_hostname/Makefile
+++ b/devel/erlang-ssl_verify_hostname/Makefile
@@ -10,26 +10,9 @@ COMMENT= Erlang library for certificate hostname validation
LICENSE= MIT
-BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
- rebar:${PORTSDIR}/devel/rebar
-RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
-
-PLIST_SUB= VERSION="${PORTVERSION}"
-
+USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= deadtrickster
GH_PROJECT= ssl_verify_hostname.erl
-do-build:
- @cd ${WRKSRC} && rebar compile
-
-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>
OpenPOWER on IntegriCloud