pkgsrc/devel/libuv/Makefile
gdt 2b1343b4a3 Set license to
mit AND 2-clause-bsd AND isc AND modified-bsd
because that's what the included LICENSE file says, after one wdiffs
the MIT license and the first part.  (There does not appear to be such
a thing, as a "joyent license", which is good news.)
2013-03-06 17:32:08 +00:00

31 lines
919 B
Makefile

# $NetBSD: Makefile,v 1.3 2013/03/06 17:32:08 gdt Exp $
#
DISTNAME= master
PKGNAME= libuv-20130301
CATEGORIES= devel
MASTER_SITES= https://github.com/joyent/libuv/archive/
EXTRACT_SUFX= .zip
MAINTAINER= agc@pkgsrc.org
HOMEPAGE= http://nikhilm.github.com/uvbook/
COMMENT= Asynchronous event library, platform layer of node.js
LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/libuv-master
USE_TOOLS+= gmake
AUTO_MKDIRS= yes
HEADERS= ngx-queue.h stdint-msvc2008.h tree.h uv-bsd.h uv-darwin.h
HEADERS+= uv-linux.h uv-sunos.h uv-unix.h uv-win.h
do-install:
${INSTALL_DATA} ${WRKSRC}/include/uv.h ${DESTDIR}${PREFIX}/include/uv.h
for f in ${HEADERS}; do \
${INSTALL_DATA} ${WRKSRC}/include/uv-private/$$f ${DESTDIR}${PREFIX}/include/uv-private/$$f; \
done
${INSTALL_LIB} ${WRKSRC}/libuv.a ${DESTDIR}${PREFIX}/lib/libuv.a
.include "../../mk/bsd.pkg.mk"