mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
b554259a32
version come out. PR: ports/154990 Submitted by: Jin-Sih Lin <linpct@gmail.com> (maintainer)
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: node
|
|
# Date created: 2010-10-26
|
|
# Whom: Jin-Sih Lin <linpct@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= node
|
|
PORTVERSION= 0.4.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://nodejs.org/dist/
|
|
PKGNAMESUFFIX= -devel
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
|
|
|
MAINTAINER= linpct@gmail.com
|
|
COMMENT= V8 javascript for client and server
|
|
|
|
IGNORE= is currently suspended, install www/node that is the current stable version
|
|
|
|
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
|
|
|
|
MAN1= node.1
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_PYTHON= yes
|
|
USE_GNOME= pkgconfig
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CONFLICTS= node-0.2.[0-9]*
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST}
|
|
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
|
|
|
|
.if !defined(DISABLE_MAKE_JOBS)
|
|
WAF_ARGS= --jobs=${MAKE_JOBS_NUMBER}
|
|
.endif
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} tools/waf-light ${WAF_ARGS} build)
|
|
|
|
do-install:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} tools/waf-light ${WAF_ARGS} install)
|
|
|
|
post-install:
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/node.1 ${MANPREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|