mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
42 lines
920 B
Makefile
42 lines
920 B
Makefile
PORTNAME= luv
|
|
DISTVERSION= 1.48.0-2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/luvit/${PORTNAME}/releases/download/${DISTVERSION}/
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
COMMENT= libuv bindings for lua
|
|
WWW= https://github.com/luvit/luv
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
LIB_DEPENDS= libuv.so:devel/libuv
|
|
|
|
USES= cmake luajit
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS WITH_SHARED_LIBUV
|
|
CMAKE_OFF= BUILD_MODULE
|
|
CMAKE_ARGS= -DLUA_BUILD_TYPE=System \
|
|
-DLUA_COMPAT53_DIR=deps/lua-compat-5.3 \
|
|
-DWITH_LUA_ENGINE=LuaJIT
|
|
|
|
PLIST_FILES= lib/libluv.so \
|
|
lib/libluv.so.1 \
|
|
lib/libluv.so.1.48.0 \
|
|
libdata/pkgconfig/libluv.pc \
|
|
include/luv/util.h \
|
|
include/luv/luv.h \
|
|
include/luv/lreq.h \
|
|
include/luv/lhandle.h
|
|
|
|
PORTDOCS= docs.md
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|