1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/node-thrift/Makefile
Dmitry Marakasov 347a106f0f - Stagify
- Fix plist
2014-08-26 19:34:14 +00:00

32 lines
844 B
Makefile

# Created by: Valery Komarov <komarov@valerka.net>
# $FreeBSD$
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= # empty
PKGNAMEPREFIX= node-
DISTFILES= # empty
MAINTAINER= ports@FreeBSD.org
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} ${STAGEDIR}${PREFIX}/lib/node_modules/thrift
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node
${CP} -R \
`${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/nodejs/* \
${STAGEDIR}${PREFIX}/lib/node_modules/thrift
${LN} -s ${PREFIX}/lib/node_modules/thrift/lib/thrift ${STAGEDIR}${PREFIX}/lib/node
.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk"
.include <bsd.port.post.mk>