Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (39 sloc) 1.82 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup hashicorp nomad 0.10.2 v
platforms darwin
categories net
license MPL-2
installs_libs no
# Nomad's build process requires the git repository.
fetch.type git
maintainers { @herbygillot} openmaintainer
description Nomad is an open source scheduler for scheduling \
virtualized, containerized, and standalone applications.
long_description Nomad is a flexible container orchestration tool that \
enables an organization to easily deploy and manage any \
containerized or legacy application using a single, \
unified workflow. Nomad can run a diverse workload of \
Docker, non-containerized, microservice, and batch \
depends_build port:go
set proj_dir "${workpath}/src/${}/${github.project}"
# The "dev" build target must be used to build just the binary for this
# platform, instead of for ALL platforms
# - bootstrap
build.post_args dev
build.dir ${proj_dir}
build.env GOPATH=${workpath} PATH=$env(PATH):${workpath}/bin
use_configure no
# Bootstrap target must run before dev, so we disable parallel building.
use_parallel_build no
post-extract {
file mkdir [file dirname ${proj_dir}]
move ${worksrcpath} ${proj_dir}
destroot {
xinstall -m 755 ${workpath}/bin/${name} ${destroot}${prefix}/bin/${name}
You can’t perform that action at this time.