aboutsummaryrefslogtreecommitdiffstats
path: root/devel/erlang-gpb/Makefile
blob: bd3d8e216af3259160d78602135eebf30f1414a9 (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
# $FreeBSD$

PORTNAME=   gpb
PORTVERSION=    3.18.9
CATEGORIES= devel
PKGNAMEPREFIX=  erlang-

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Google Protobuf implementation for Erlang

LICENSE=    LGPL21

SUB_FILES+= protoc-erl
SUB_LIST+=  PORTNAME=${PORTNAME} \
        PORTVERSION=${PORTVERSION}

USES=       erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= tomas-abrahamsson
GH_PROJECT= gpb

post-install:
    @${MKDIR} ${STAGEDIR}${ERL_APP_ROOT}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bin/protoc-erl ${STAGEDIR}${ERL_APP_ROOT}/bin
    ${INSTALL_SCRIPT} ${WRKDIR}/protoc-erl ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>