blob: 49f9a89bba4d183af92709ac03ab2e55cf64a7e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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
NO_STAGE= 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>
|