freebsd-ports/sysutils/docker-freebsd/Makefile
Tobias Kortkamp 3726f94254 Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.

USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.

PR:		238849
Submitted by:	dg@syrec.org (also D20745)
Reviewed by:	mat, tobik
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20746
2019-06-29 03:51:13 +00:00

39 lines
810 B
Makefile

# Created by: kmoore@FreeBSD.org
# $FreeBSD$
PORTNAME= docker-freebsd
PORTVERSION= 20150625
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= joneum@FreeBSD.org
COMMENT= Docker containment system
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= fails to build
BUILD_DEPENDS= bash:shells/bash \
sqlite3:databases/sqlite3
RUN_DEPENDS= bash:shells/bash \
sqlite3:databases/sqlite3
USES= go:run
USE_GITHUB= yes
GH_ACCOUNT= kvasdopil
GH_PROJECT= docker
GH_TAGNAME= 582db78
PLIST_FILES= bin/docker
USE_RC_SUBR= docker
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} AUTO_GOPATH=1 DOCKER_GITCOMMIT=${GH_TAGNAME} ./hack/make.sh binary
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bundles/latest/binary/docker ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>