aboutsummaryrefslogtreecommitdiff
path: root/www/erlang-ibrowse/Makefile
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 22:34:11 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 22:34:11 +0000
commit37893c2bae470a4676caf15fe598c2299f989b56 (patch)
tree3e29cba43e97a56867bc38f2a6f4fec18fcc241a /www/erlang-ibrowse/Makefile
parenta0b3668460499425f5779bcd059f7ac0ef42e65c (diff)
downloadports-37893c2bae470a4676caf15fe598c2299f989b56.tar.gz
ports-37893c2bae470a4676caf15fe598c2299f989b56.zip
Update the remaining Erlang ports to use erlang.mk.
A few mistakes in plists came up, so these ports get a PORTREVISION bump. Some of the older ports are still left out.
Notes
Notes: svn path=/head/; revision=391484
Diffstat (limited to 'www/erlang-ibrowse/Makefile')
-rw-r--r--www/erlang-ibrowse/Makefile23
1 files changed, 3 insertions, 20 deletions
diff --git a/www/erlang-ibrowse/Makefile b/www/erlang-ibrowse/Makefile
index 32ca6ccb2f3a..6defb103e5ac 100644
--- a/www/erlang-ibrowse/Makefile
+++ b/www/erlang-ibrowse/Makefile
@@ -2,7 +2,8 @@
PORTNAME= ibrowse
PORTVERSION= 4.1.1
-DISTVERSIONPREFIX=v
+DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= erlang-
@@ -12,26 +13,8 @@ COMMENT= HTTP client library for Erlang
LICENSE= BSD3CLAUSE LGPL21
LICENSE_COMB= dual
-BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-PLIST_SUB= VERSION="${PORTVERSION}"
-
+USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= cmullaparthi
-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}/include
- @${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}/include
- ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
-
.include <bsd.port.mk>