freebsd-ports/www/node/Makefile
Bernhard Froehlich 49cb2950de - Update to 0.2.1
PR:		ports/150482
Submitted by:	Jin-Sih Lin <linpct at gmail dot com>
Approved by:	beat (co-mentor, implicit)
2010-09-11 13:29:51 +00:00

37 lines
807 B
Makefile

# New ports collection makefile for: node
# Date created: 2010-04-12
# Whom: Jin-Sih Lin <linpct@gmail.com>
#
# $FreeBSD$
#
PORTNAME= node
PORTVERSION= 0.2.1
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
MAN1= node.1
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},,}
do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} tools/waf-light --jobs=${MAKE_JOBS_NUMBER} build)
post-install:
@${INSTALL_MAN} ${WRKSRC}/doc/node.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>