2020-06-06 10:52:57 +00:00

34 lines
703 B
Makefile

# $OpenBSD: Makefile,v 1.19 2020/06/06 10:52:57 ajacoutot Exp $
# bunch of undefined things in crypto/blake2b, shirou/gopsutil/disk, shirou/gopsutil/mem
NOT_FOR_ARCHS= i386
COMMENT= cluster scheduler
GH_TAGNAME= v0.11.3
GH_ACCOUNT= hashicorp
GH_PROJECT= nomad
CATEGORIES= sysutils
HOMEPAGE= https://www.nomadproject.io
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MPLv2
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
MODULES= lang/go
post-extract:
cp ${FILESDIR}/*.go ${WRKDIST}/helper/freeport
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nomad
${SUBST_CMD} -c -m 0640 ${FILESDIR}/nomad.hcl \
${PREFIX}/share/examples/nomad/nomad.hcl
.include <bsd.port.mk>