diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-09-25 01:35:44 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-09-25 01:35:44 +0800 |
commit | 700a9808cc7f0a14325c982c7b4d4ec1d4ca28f0 (patch) | |
tree | c0ead5d313986329c935bc5c35cf788d3611cd97 /www/node | |
parent | 521fecb5c5833c9010d3891d86bfdeb7a4ed0588 (diff) | |
download | freebsd-ports-gnome-700a9808cc7f0a14325c982c7b4d4ec1d4ca28f0.tar.gz freebsd-ports-gnome-700a9808cc7f0a14325c982c7b4d4ec1d4ca28f0.tar.zst freebsd-ports-gnome-700a9808cc7f0a14325c982c7b4d4ec1d4ca28f0.zip |
- 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)
Diffstat (limited to 'www/node')
-rw-r--r-- | www/node/Makefile | 13 | ||||
-rw-r--r-- | www/node/pkg-plist | 1 |
2 files changed, 6 insertions, 8 deletions
diff --git a/www/node/Makefile b/www/node/Makefile index 77a7e7e6bc92..bcf2eef0fab6 100644 --- a/www/node/Makefile +++ b/www/node/Makefile @@ -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_RELDEST} --without-npm 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} diff --git a/www/node/pkg-plist b/www/node/pkg-plist index 6108ad1fcba0..407ebc873d62 100644 --- a/www/node/pkg-plist +++ b/www/node/pkg-plist @@ -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 |