mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
29 lines
584 B
Makefile
29 lines
584 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gpb
|
|
PORTVERSION= 4.3.3
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= erlang-
|
|
|
|
MAINTAINER= erlang@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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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>
|