aboutsummaryrefslogtreecommitdiff
path: root/devel/node-thrift
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2013-02-26 16:22:58 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2013-02-26 16:22:58 +0000
commit052738c6617651a45c42f60f15373648fc39d2e1 (patch)
tree45be4265be60afe907d3bc712fc49ca2ec3e9dec /devel/node-thrift
parentf87aa83e0ec67c1b04028403ddbef96348838a4e (diff)
downloadports-052738c6617651a45c42f60f15373648fc39d2e1.tar.gz
ports-052738c6617651a45c42f60f15373648fc39d2e1.zip
Notes
Diffstat (limited to 'devel/node-thrift')
-rw-r--r--devel/node-thrift/Makefile10
-rw-r--r--devel/node-thrift/pkg-plist4
2 files changed, 8 insertions, 6 deletions
diff --git a/devel/node-thrift/Makefile b/devel/node-thrift/Makefile
index 910b96939811..7832d4828b27 100644
--- a/devel/node-thrift/Makefile
+++ b/devel/node-thrift/Makefile
@@ -1,13 +1,11 @@
-# New ports collection makefile for: node-thrift
-# Date created: 2012-01-02
-# Whom: Valery Komarov <komarov@valerka.net>
-#
+# Created by: Valery Komarov <komarov@valerka.net>
# $FreeBSD$
#
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
CATEGORIES= devel
+MASTER_SITES= # empty
PKGNAMEPREFIX= node-
DISTFILES= # empty
@@ -22,8 +20,10 @@ 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 \
+ `${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
diff --git a/devel/node-thrift/pkg-plist b/devel/node-thrift/pkg-plist
index 62a5721e44db..bddddd6859dd 100644
--- a/devel/node-thrift/pkg-plist
+++ b/devel/node-thrift/pkg-plist
@@ -1,3 +1,4 @@
+lib/node/thrift
lib/node_modules/thrift/README.md
lib/node_modules/thrift/examples/Makefile
lib/node_modules/thrift/examples/README.md
@@ -14,8 +15,9 @@ lib/node_modules/thrift/lib/thrift/server.js
lib/node_modules/thrift/lib/thrift/thrift.js
lib/node_modules/thrift/lib/thrift/transport.js
lib/node_modules/thrift/package.json
-lib/node/thrift
@dirrm lib/node_modules/thrift/lib/thrift
@dirrm lib/node_modules/thrift/lib
@dirrm lib/node_modules/thrift/examples
@dirrm lib/node_modules/thrift
+@dirrm lib/node_modules
+@dirrm lib/node