1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/devel/libuv/Makefile
2019-03-17 10:22:53 +00:00

38 lines
888 B
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= libuv
PORTVERSION= 1.27.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
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:devel/py-gyp \
gmake:devel/gmake
USE_GITHUB= yes
USES= autoreconf libtool pathfix pkgconfig python:test shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
SHEBANG_FILES= gyp_uv.py
pre-configure:
${ECHO_CMD} "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [ serial-tests])" \
> ${WRKSRC}/m4/libuv-extra-automake-flags.m4
do-test:
(cd ${WRKSRC} && ./gyp_uv.py -f make && \
${SETENV} ${MAKE_ENV} ${GMAKE} -C out && \
./out/Debug/run-tests)
.include <bsd.port.mk>