mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
47e702df42
Any taker, feel free.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# bunch of undefined things in crypto/blake2b, shirou/gopsutil/disk, shirou/gopsutil/mem
|
|
NOT_FOR_ARCHS= i386
|
|
|
|
COMMENT= cluster scheduler
|
|
|
|
VERSION= 2.0.0
|
|
PKGNAME= nomad-${VERSION}
|
|
REVISION= 0
|
|
|
|
# nomad-vendored distfile generated by fetching archive from
|
|
# https://github.com/hashicorp/nomad/archive/v$VERSION/nomad-$VERSION.tar.gz
|
|
# and running "go mod tidy" + "go mod vendor"
|
|
DISTNAME= nomad-vendored-${VERSION}
|
|
SITES= https://distfiles.bsdfrog.org/
|
|
ALL_TARGET= github.com/hashicorp/nomad
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
HOMEPAGE= https://www.nomadproject.io
|
|
|
|
# BSL-1.1 (https://www.hashicorp.com/bsl)
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MODULES= lang/go
|
|
|
|
post-extract:
|
|
cp ${FILESDIR}/*.go \
|
|
${WRKDIST}/vendor/github.com/hashicorp/consul/sdk/freeport
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nomad
|
|
${SUBST_CMD} -c -m 0640 ${FILESDIR}/nomad.hcl \
|
|
${PREFIX}/share/examples/nomad/nomad.hcl
|
|
${INSTALL_DATA} ${WRKSRC}/terraform/shared/config/nomad_client.hcl \
|
|
${PREFIX}/share/examples/nomad/
|
|
${INSTALL_DATA} ${WRKSRC}/terraform/shared/config/nomad.hcl \
|
|
${PREFIX}/share/examples/nomad/nomad_server.hcl
|
|
|
|
.include <bsd.port.mk>
|