aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-11-22 04:44:18 +0800
committerantoine <antoine@FreeBSD.org>2015-11-22 04:44:18 +0800
commitba7db94207a18283b91c2be39618bb231f859652 (patch)
treec4082ae74bd9ef48bdd85523b684536464061c09 /devel
parentb779f174da75bfe663a002827d190fb4329bc5d2 (diff)
downloadfreebsd-ports-gnome-ba7db94207a18283b91c2be39618bb231f859652.tar.gz
freebsd-ports-gnome-ba7db94207a18283b91c2be39618bb231f859652.tar.zst
freebsd-ports-gnome-ba7db94207a18283b91c2be39618bb231f859652.zip
Simplify
Diffstat (limited to 'devel')
-rw-r--r--devel/node-thrift/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/node-thrift/Makefile b/devel/node-thrift/Makefile
index 255311335bc2..e8091306d0e8 100644
--- a/devel/node-thrift/Makefile
+++ b/devel/node-thrift/Makefile
@@ -5,28 +5,24 @@ PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= # empty
+MASTER_SITES= APACHE/thrift/${PORTVERSION}
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
NO_ARCH= yes
-
-.include <bsd.port.pre.mk>
+DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
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/* \
+ ${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 "${PORTSDIR}/devel/thrift/bsd.thrift.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../thrift/bsd.thrift.mk"
+.include <bsd.port.mk>