diff options
author | ed <ed@FreeBSD.org> | 2015-11-19 00:49:34 +0800 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2015-11-19 00:49:34 +0800 |
commit | b34eec0904fdf7da84a3fc9b57d5e46aa8478ecb (patch) | |
tree | 4cda779c49f697b0355c43ef352644962039f7ba /sysutils | |
parent | c8665b000319fc4d83d3dde080963f33b4cc0fb3 (diff) | |
download | freebsd-ports-gnome-b34eec0904fdf7da84a3fc9b57d5e46aa8478ecb.tar.gz freebsd-ports-gnome-b34eec0904fdf7da84a3fc9b57d5e46aa8478ecb.tar.zst freebsd-ports-gnome-b34eec0904fdf7da84a3fc9b57d5e46aa8478ecb.zip |
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
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cloudabi-utils/Makefile | 25 | ||||
-rw-r--r-- | sysutils/cloudabi-utils/distinfo | 4 | ||||
-rw-r--r-- | sysutils/cloudabi-utils/pkg-plist | 7 |
3 files changed, 13 insertions, 23 deletions
diff --git a/sysutils/cloudabi-utils/Makefile b/sysutils/cloudabi-utils/Makefile index 1f4df19207f0..f093ffd15c86 100644 --- a/sysutils/cloudabi-utils/Makefile +++ b/sysutils/cloudabi-utils/Makefile @@ -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}/textproc/libyaml 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> diff --git a/sysutils/cloudabi-utils/distinfo b/sysutils/cloudabi-utils/distinfo index 2a58479ca4d6..a50c00ed7577 100644 --- a/sysutils/cloudabi-utils/distinfo +++ b/sysutils/cloudabi-utils/distinfo @@ -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 diff --git a/sysutils/cloudabi-utils/pkg-plist b/sysutils/cloudabi-utils/pkg-plist new file mode 100644 index 000000000000..d35aebbf7f8d --- /dev/null +++ b/sysutils/cloudabi-utils/pkg-plist @@ -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 |