freebsd-ports/devel/node-thrift/Makefile
David Thiel 0ca553a5f6 Update thrift ports to 0.11.0.
PR:		225798
Approved by:	maintainer timeout
2018-02-24 20:40:27 +00:00

27 lines
734 B
Makefile

# Created by: Valery Komarov <komarov@valerka.net>
# $FreeBSD$
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
CATEGORIES= devel
MASTER_SITES= APACHE/thrift/${PORTVERSION}
PKGNAMEPREFIX= node-
MAINTAINER= ports@FreeBSD.org
COMMENT= Node.js bindings for the Apache Thrift RPC system
RUN_DEPENDS= node:www/node
NO_BUILD= yes
NO_ARCH= yes
DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/thrift
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node
${CP} -R ${WRKSRC}/lib/nodejs/* \
${STAGEDIR}${PREFIX}/lib/node_modules/thrift
${LN} -s ${PREFIX}/lib/node_modules/thrift/lib/thrift ${STAGEDIR}${PREFIX}/lib/node
.include "${.CURDIR}/../thrift/bsd.thrift.mk"
.include <bsd.port.mk>