209c5948e4
v1.20.3: * win: add Windows XP support to uv_if_indextoname() * win: fix `'floor' undefined` compiler warning * win, pipe: stop read for overlapped pipe * build: fix utf-8 name of copyright holder * zos: initialize pollfd revents * zos,doc: add system V message queue note * linux: don't use uv__nonblock_ioctl() on sparc
36 lines
914 B
Makefile
36 lines
914 B
Makefile
# $NetBSD: Makefile,v 1.34 2018/05/08 04:14:30 adam Exp $
|
|
|
|
DISTNAME= libuv-1.20.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= agc@pkgsrc.org
|
|
HOMEPAGE= https://github.com/libuv/libuv
|
|
COMMENT= Cross-platform asychronous I/O
|
|
LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= autoconf automake pkg-config
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
|
|
HEADERS= uv-aix.h uv-bsd.h uv-darwin.h uv-linux.h uv-sunos.h \
|
|
uv-unix.h uv-win.h pthread-barrier.h
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MSunOS-5.[0-9]-*) || \
|
|
!empty(MACHINE_PLATFORM:MSunOS-5.10-*)
|
|
CFLAGS+= -DSUNOS_NO_IFADDRS
|
|
.endif
|
|
|
|
pre-configure:
|
|
${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
|
|
|
|
post-install:
|
|
.for file in ${HEADERS}
|
|
${INSTALL_DATA} ${WRKSRC}/include/${file} ${DESTDIR}${PREFIX}/include
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|