aboutsummaryrefslogtreecommitdiffstats
path: root/devel/goldrush/Makefile
blob: 6d80a160bd59acd36794f151a6282d3419ff7b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

PORTNAME=   goldrush
PORTVERSION=    0.1.7
CATEGORIES= devel

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Fast event stream processing library for Erlang

LICENSE=    ISCL

BUILD_DEPENDS=  erl:${PORTSDIR}/lang/erlang \
        rebar:${PORTSDIR}/devel/rebar
RUN_DEPENDS=    erl:${PORTSDIR}/lang/erlang

PLIST_SUB=  VERSION="${PORTVERSION}"

USE_GITHUB= yes
GH_ACCOUNT= DeadZen

do-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.org ${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>