rebar is an Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases. rebar is a self-contained Erlang script, so it's easy to distribute or even embed directly in a project. Where possible, rebar uses standard Erlang/OTP conventions for project structures, thus minimizing the amount of build configuration work. rebar also provides dependency management, enabling application writers to easily re-use common libraries from a variety of locations (git, hg, etc). WWW: https://github.com/basho/rebar PR: ports/168905 Submitted by: koobs <koobs.freebsd@gmail.com>
30 lines
667 B
Makefile
30 lines
667 B
Makefile
# New ports collection makefile for: rebar
|
|
# Date created: 2012-06-09
|
|
# Whom: koobs <koobs.freebsd@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rebar
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://github.com/basho/${PORTNAME}/tarball/${GITVERSION}/
|
|
DISTNAME= basho-${PORTNAME}-${GITVERSION}
|
|
|
|
MAINTAINER= koobs.freebsd@gmail.com
|
|
COMMENT= A build-tool for Erlang that follows OTP principles
|
|
|
|
LICENSE= AL2
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/escript:${PORTSDIR}/lang/erlang
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
GITVERSION= 1c98f6c
|
|
FETCH_ARGS= -Fpr
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|