sthen f52be2a50e bump all go ports that don't already have a RUN_DEPENDS on lang/go (which
has pkgspec set on the go version number already), so that pkg_add -u updates
them to versions which work with MAP_STACK. spotted by pvk@
2018-04-14 22:53:54 +00:00

34 lines
696 B
Makefile

# $OpenBSD: Makefile,v 1.3 2018/04/14 22:53:54 sthen Exp $
COMMENT = controller for fleet, the distributed init system
GH_PROJECT = fleet
GH_ACCOUNT = coreos
GH_TAGNAME = v1.0.0
REVISION = 0
CATEGORIES = sysutils
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# Apache2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/go
MODGO_TYPE = bin
BUILD_DEPENDS = shells/bash
NO_TEST = Yes
do-build:
cd ${WRKSRC} && ${LOCALBASE}/bin/bash build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/fleetctl ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fleetctl/
cd ${WRKSRC}/Documentation && umask 022 && pax -rw . \
${PREFIX}/share/doc/fleetctl/
.include <bsd.port.mk>