svn commit: r401882 - head/sysutils/cloudabi-utils
Ed Schouten
ed at FreeBSD.org
Wed Nov 18 16:49:36 UTC 2015
Author: ed (src committer)
Date: Wed Nov 18 16:49:34 2015
New Revision: 401882
URL: https://svnweb.freebsd.org/changeset/ports/401882
Log:
Update cloudabi-utils to version 0.7.
This new version of cloudabi-utils now installs a library called
libcloudabi. This library contains native ports of some of the APIs that
are currently provided as part of CloudABI's runtime. These used to be
built into cloudabi-run itself, but are now exposed as well.
As cloudabi-utils is now becoming more complex, it now uses CMake as its
build system. We can now remove our custom build targets. We do need to
make sure to override CMAKE_INSTALL_MANDIR, as it is set to share/man by
default. I'm slightly amazed that this isn't done by default.
Reviewed by: beat
Differential Revision: https://reviews.freebsd.org/D4176
Added:
head/sysutils/cloudabi-utils/pkg-plist (contents, props changed)
Modified:
head/sysutils/cloudabi-utils/Makefile
head/sysutils/cloudabi-utils/distinfo
Modified: head/sysutils/cloudabi-utils/Makefile
==============================================================================
--- head/sysutils/cloudabi-utils/Makefile Wed Nov 18 16:42:04 2015 (r401881)
+++ head/sysutils/cloudabi-utils/Makefile Wed Nov 18 16:49:34 2015 (r401882)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cloudabi-utils
-PORTVERSION= 0.6
+PORTVERSION= 0.7
CATEGORIES= sysutils
MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/
@@ -16,27 +16,10 @@ LIB_DEPENDS= libyaml.so:${PORTSDIR}/text
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures
-USES= compiler:c11 tar:xz
+USES= cmake compiler:c11 pkgconfig tar:xz
+USE_LDCONFIG= yes
-PLIST_FILES= bin/cloudabi-run \
- libexec/cloudabi-reexec \
- man/man1/cloudabi-run.1.gz
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-do-build:
- @cd ${WRKSRC} && \
- ${SETENV} ${MAKE_ENV} \
- PREFIX=${PREFIX} \
- ${SH} build
-
-do-install:
- @cd ${WRKSRC} && \
- ARCH=${ARCH:S/amd64/x86_64/} \
- DESTDIR=${STAGEDIR} \
- PREFIX=${PREFIX} \
- ${SH} install
+CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man
.include <bsd.port.pre.mk>
Modified: head/sysutils/cloudabi-utils/distinfo
==============================================================================
--- head/sysutils/cloudabi-utils/distinfo Wed Nov 18 16:42:04 2015 (r401881)
+++ head/sysutils/cloudabi-utils/distinfo Wed Nov 18 16:49:34 2015 (r401882)
@@ -1,2 +1,2 @@
-SHA256 (cloudabi-utils-0.6.tar.xz) = 5020440d0ad15c8b0db55ec55444e9d44c056b0f7655c41dde85f0ba1d5045c2
-SIZE (cloudabi-utils-0.6.tar.xz) = 21928
+SHA256 (cloudabi-utils-0.7.tar.xz) = 193b115ca195ec56c24679916d7b38f8566a0a49b26b057e1567f1bbfb9ae5a2
+SIZE (cloudabi-utils-0.7.tar.xz) = 24496
Added: head/sysutils/cloudabi-utils/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/cloudabi-utils/pkg-plist Wed Nov 18 16:49:34 2015 (r401882)
@@ -0,0 +1,7 @@
+bin/cloudabi-run
+include/cloudabi/argdata.h
+include/cloudabi/program.h
+lib/libcloudabi.so
+lib/libcloudabi.so.0
+libexec/cloudabi-reexec
+man/man1/cloudabi-run.1.gz
More information about the svn-ports-all
mailing list