1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/devel/libuv/Makefile
2014-05-07 19:29:06 +00:00

41 lines
1.0 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= libuv
PORTVERSION= 0.11.25
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://libuv.org/dist/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Multi-platform support library with a focus on asynchronous I/O
LICENSE= NODE
LICENSE_NAME= NODE
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
TEST_DEPENDS= gyp:${PORTSDIR}/devel/py-gyp-devel \
gmake:${PORTSDIR}/devel/gmake
USE_AUTOTOOLS= aclocal automake autoconf libtoolize
ACLOCAL_ARGS= -I m4
AUTOMAKE_ARGS= -a -c -f
USES= libtool pathfix pkgconfig
PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
pre-configure:
${ECHO_CMD} "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [ serial-tests])" \
> ${WRKSRC}/m4/libuv-extra-automake-flags.m4
.if defined(MAINTAINER_MODE)
regression-test:
(cd ${WRKSRC} && ./gyp_uv.py -f make && \
${SETENV} ${MAKE_ENV} ${GMAKE} -C out && \
./out/Debug/run-tests)
.endif
.include <bsd.port.mk>