0ce6319a2f
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
30 lines
692 B
Makefile
30 lines
692 B
Makefile
# Created by: Ed Schouten <ed@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cloudabi-utils
|
|
PORTVERSION= 0.7
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/
|
|
|
|
MAINTAINER= ed@FreeBSD.org
|
|
COMMENT= Utilities for running CloudABI programs
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
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= cmake compiler:c11 pkgconfig tar:xz
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1000100
|
|
IGNORE= CloudABI will never support this version of FreeBSD
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|