Changeset View
Changeset View
Standalone View
Standalone View
sysutils/cloudabi-utils/Makefile
# Created by: Ed Schouten <ed@FreeBSD.org> | # Created by: Ed Schouten <ed@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= cloudabi-utils | PORTNAME= cloudabi-utils | ||||
PORTVERSION= 0.6 | PORTVERSION= 0.7 | ||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/ | MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/ | ||||
MAINTAINER= ed@FreeBSD.org | MAINTAINER= ed@FreeBSD.org | ||||
COMMENT= Utilities for running CloudABI programs | COMMENT= Utilities for running CloudABI programs | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml | LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml | ||||
ONLY_FOR_ARCHS= aarch64 amd64 | ONLY_FOR_ARCHS= aarch64 amd64 | ||||
ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures | 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 \ | CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man | ||||
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 | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} < 1000100 | .if ${OSVERSION} < 1000100 | ||||
IGNORE= CloudABI will never support this version of FreeBSD | IGNORE= CloudABI will never support this version of FreeBSD | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |