svn commit: r449796 - head/devel/libhyve-remote
Marcelo Araujo
araujo at FreeBSD.org
Wed Sep 13 14:41:34 UTC 2017
Author: araujo
Date: Wed Sep 13 14:41:32 2017
New Revision: 449796
URL: https://svnweb.freebsd.org/changeset/ports/449796
Log:
Update to 0.1.2.
Sponsored by: iXsystems, Inc.
Modified:
head/devel/libhyve-remote/Makefile
head/devel/libhyve-remote/distinfo
Modified: head/devel/libhyve-remote/Makefile
==============================================================================
--- head/devel/libhyve-remote/Makefile Wed Sep 13 14:27:14 2017 (r449795)
+++ head/devel/libhyve-remote/Makefile Wed Sep 13 14:41:32 2017 (r449796)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= libhyve-remote
-PORTVERSION= 0.1.1
+PORTVERSION= 0.1.2
CATEGORIES= devel
MAINTAINER= araujo at FreeBSD.org
@@ -12,6 +12,9 @@ LICENSE_COMB= dual
LIB_DEPENDS= libvncserver.so:net/libvncserver
+OPTIONS_DEFINE= BHYVE
+BHYVE_DESC= FreeBSD bhyve libhyve-remote integration
+
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -34,6 +37,8 @@ GH_ACCOUNT= araujobsd
USE_LDCONFIG= yes
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/libhyverem
.for headers in ${HEADER_FILES}
@@ -44,5 +49,14 @@ do-install:
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.1
${LN} -fs libhyverem.so.1 ${STAGEDIR}${PREFIX}/lib/libhyverem.so
+
+post-install:
+.if ${PORT_OPTIONS:MBHYVE}
+.if !exists(${SRC_BASE}/usr.sbin/bhyve/pci_fbuf.c)
+IGNORE= requires kernel source files in ${SRC_BASE}
+.else
+ (cd ${WRKSRC} && ${MAKE_CMD} bhyve-patch)
+.endif
+.endif
.include <bsd.port.mk>
Modified: head/devel/libhyve-remote/distinfo
==============================================================================
--- head/devel/libhyve-remote/distinfo Wed Sep 13 14:27:14 2017 (r449795)
+++ head/devel/libhyve-remote/distinfo Wed Sep 13 14:41:32 2017 (r449796)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501212977
-SHA256 (araujobsd-libhyve-remote-0.1.1_GH0.tar.gz) = e24e71c1dadfe76d52b30bd9b2d064b7cee52b9642c5e5fd5a0a9315ff337fe4
-SIZE (araujobsd-libhyve-remote-0.1.1_GH0.tar.gz) = 6255
+TIMESTAMP = 1505313487
+SHA256 (araujobsd-libhyve-remote-0.1.2_GH0.tar.gz) = 1c45bbefc7b1087dad9330e486499e50d9e2a0f4184032e4ace16c8a86aeb1e2
+SIZE (araujobsd-libhyve-remote-0.1.2_GH0.tar.gz) = 11645
More information about the svn-ports-all
mailing list