freebsd-ports/devel/erlang-gpb/Makefile
2017-12-30 15:32:57 +00:00

26 lines
562 B
Makefile

# $FreeBSD$
PORTNAME= gpb
PORTVERSION= 4.1.0
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
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>