2010-10-26 14:28:21 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= node
|
2012-09-04 10:56:26 +00:00
|
|
|
PORTVERSION= 0.9.1
|
2010-10-26 14:28:21 +00:00
|
|
|
CATEGORIES= www
|
2011-08-05 04:51:17 +00:00
|
|
|
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
|
2010-10-26 14:28:21 +00:00
|
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= linpct@gmail.com
|
2012-08-18 12:29:17 +00:00
|
|
|
COMMENT= V8 javascript for client and server
|
2010-10-26 14:28:21 +00:00
|
|
|
|
2012-06-21 15:06:21 +00:00
|
|
|
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
|
2010-10-26 14:28:21 +00:00
|
|
|
|
|
|
|
MAN1= node.1
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2012-05-17 14:02:47 +00:00
|
|
|
USE_PYTHON= 2.7
|
2012-09-04 10:56:26 +00:00
|
|
|
USE_OPENSSL= yes
|
2011-08-05 04:51:17 +00:00
|
|
|
USE_GMAKE= yes
|
2010-10-26 14:28:21 +00:00
|
|
|
|
2011-12-05 03:18:01 +00:00
|
|
|
CONFLICTS= node-0.[0-9]*
|
2010-10-26 14:28:21 +00:00
|
|
|
|
2011-08-05 04:51:17 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
MAKE_JOBS_SAFE= yes
|
2012-09-04 10:56:26 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-openssl --shared-zlib
|
2010-10-26 14:28:21 +00:00
|
|
|
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
|
2012-06-21 15:06:21 +00:00
|
|
|
REINPLACE_ARGS= -i ''
|
2010-10-26 14:28:21 +00:00
|
|
|
|
|
|
|
post-install:
|
2012-05-14 18:57:45 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/node_modules/
|
|
|
|
${TOUCH} ${PREFIX}/lib/node_modules/.keepme
|
2012-06-21 15:06:21 +00:00
|
|
|
${CHMOD} ${MANMODE} ${PREFIX}/man/man1/node.1
|
2012-05-14 18:57:45 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "Note: If you need npm (Node Package Manager), please install www/npm."
|
|
|
|
@${ECHO_MSG}
|
2010-10-26 14:28:21 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|