diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2010-04-12 07:26:45 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2010-04-12 07:26:45 +0000 |
commit | a977353f4ba275f4b476aabcd81180501eb9361d (patch) | |
tree | d320b406df6a590b53f7bfb9bbaa1edcae2bfb7d /www/node/Makefile | |
parent | 1b40eaa840bd4dfd1a521700e2e0a77fa7851e45 (diff) |
Notes
Diffstat (limited to 'www/node/Makefile')
-rw-r--r-- | www/node/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/www/node/Makefile b/www/node/Makefile new file mode 100644 index 000000000000..d8961a8226ba --- /dev/null +++ b/www/node/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: node +# Date created: 2010-04-12 +# Whom: Jin-Sih Lin <linpct@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= node +PORTVERSION= 0.1.90 +CATEGORIES= www +MASTER_SITES= http://nodejs.org/dist/ +DISTNAME= ${PORTNAME}-v${PORTVERSION} + +MAINTAINER= linpct@gmail.com +COMMENT= V8 javascript for client and server + +LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo + +HAS_CONFIGURE= yes +USE_LDCONFIG= yes +USE_PYTHON= yes + +ONLY_FOR_ARCHS= i386 amd64 +MAKE_JOBS_SAFE= yes + +CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} +PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} + +MAN1= ${PORTNAME}.1 +MANCOMPRESSED= yes + +do-build: + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} tools/waf-light --jobs=${MAKE_JOBS_NUMBER} build) + +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${PREFIX}/man/man1 + ${GZIP_CMD} ${PREFIX}/man/man1/${PORTNAME}.1 + +.include <bsd.port.mk> |