1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/node-thrift/Makefile
Michael Scheidell 052738c661 - Update to 0.9.0
PR:		ports172810
2013-02-26 16:22:58 +00:00

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>