summaryrefslogtreecommitdiff
path: root/devel/node-thrift/Makefile
blob: 8b021c979e58197fb707d60521b6ba82404eee64 (plain) (blame)
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
# Created by: Valery Komarov <komarov@valerka.net>

PORTNAME=	thrift
PORTVERSION=	${THRIFT_PORTVERSION}
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	APACHE/thrift/${PORTVERSION}
PKGNAMEPREFIX=	node-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Node.js bindings for the Apache Thrift RPC system

USES=		cpe nodejs:run
CPE_VENDOR=	apache

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>