Date: Tue, 24 Sep 2013 17:35:45 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328181 - head/www/node Message-ID: <201309241735.r8OHZjRG033000@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Sep 24 17:35:44 2013 New Revision: 328181 URL: http://svnweb.freebsd.org/changeset/ports/328181 Log: - Convert to new LIB_DEPENDS format - Use USES=gmake - Support STAGEDIR Submitted by: sunpoet (myself) Approved by: Jin-Sih Lin <linpct@gmail.com> (maintainer, via IRC) Modified: head/www/node/Makefile head/www/node/pkg-plist Modified: head/www/node/Makefile ============================================================================== --- head/www/node/Makefile Tue Sep 24 17:35:40 2013 (r328180) +++ head/www/node/Makefile Tue Sep 24 17:35:44 2013 (r328181) @@ -10,14 +10,12 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= linpct@gmail.com COMMENT= V8 JavaScript for client and server -LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo - -MAN1= node.1 +LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo HAS_CONFIGURE= yes USE_LDCONFIG= yes USE_PYTHON= 2.7 -USE_GMAKE= yes +USES= gmake CONFLICTS= node-0.[02-9][0-9]* node-devel-0.[0-9]* @@ -26,16 +24,15 @@ CONFIGURE_ARGS= --prefix=${PREFIX_RELDES PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/deps/v8/build/common.gypi \ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp post-install: - ${MKDIR} ${PREFIX}/lib/node_modules/ - ${TOUCH} ${PREFIX}/lib/node_modules/.keepme - ${CHMOD} ${MANMODE} ${PREFIX}/man/man1/node.1 + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ + ${TOUCH} ${STAGEDIR}${PREFIX}/lib/node_modules/.keepme + ${CHMOD} ${MANMODE} ${STAGEDIR}${PREFIX}/man/man1/node.1 @${ECHO_MSG} @${ECHO_MSG} "Note: If you need npm (Node Package Manager), please install www/npm." @${ECHO_MSG} Modified: head/www/node/pkg-plist ============================================================================== --- head/www/node/pkg-plist Tue Sep 24 17:35:40 2013 (r328180) +++ head/www/node/pkg-plist Tue Sep 24 17:35:44 2013 (r328181) @@ -1,5 +1,6 @@ bin/node lib/dtrace/node.d lib/node_modules/.keepme +man/man1/node.1.gz @dirrm lib/node_modules @dirrm lib/dtrace
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241735.r8OHZjRG033000>