1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/node-thrift/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

29 lines
750 B
Makefile

# Created by: Valery Komarov <komarov@valerka.net>
# $FreeBSD$
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
PORTREVISION= 2
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>