Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2015 20:44:18 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402201 - head/devel/node-thrift
Message-ID:  <201511212044.tALKiInD068008@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov 21 20:44:18 2015
New Revision: 402201
URL: https://svnweb.freebsd.org/changeset/ports/402201

Log:
  Simplify

Modified:
  head/devel/node-thrift/Makefile

Modified: head/devel/node-thrift/Makefile
==============================================================================
--- head/devel/node-thrift/Makefile	Sat Nov 21 20:42:57 2015	(r402200)
+++ head/devel/node-thrift/Makefile	Sat Nov 21 20:44:18 2015	(r402201)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511212044.tALKiInD068008>