mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
052738c661
PR: ports172810
32 lines
789 B
Makefile
32 lines
789 B
Makefile
# Created by: Valery Komarov <komarov@valerka.net>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= thrift
|
|
PORTVERSION= ${THRIFT_PORTVERSION}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= # empty
|
|
PKGNAMEPREFIX= node-
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= komarov@valerka.net
|
|
COMMENT= Node.js bindings for the Apache Thrift RPC system
|
|
|
|
RUN_DEPENDS= node:${PORTSDIR}/www/node
|
|
FETCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
|
|
|
|
NO_BUILD= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/node_modules/thrift
|
|
${MKDIR} ${PREFIX}/lib/node
|
|
${CP} -R \
|
|
`${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/nodejs/* \
|
|
${PREFIX}/lib/node_modules/thrift
|
|
${LN} -s ${PREFIX}/lib/node_modules/thrift/lib/thrift ${PREFIX}/lib/node
|
|
|
|
.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk"
|
|
.include <bsd.port.post.mk>
|