Changeset View
Changeset View
Standalone View
Standalone View
devel/gitlab-runner/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= gitlab-runner | PORTNAME?= gitlab-runner | ||||
PORTVERSION= 13.2.1 | PORTVERSION?= 13.2.1 | ||||
PORTREVISION?= 0 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerx64 \ | MASTER_SITES= https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerx64 \ | ||||
https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerarm | https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerarm | ||||
DISTFILES= prebuilt-x86_64.tar.xz:dockerx64 \ | DISTFILES= prebuilt-x86_64.tar.xz:dockerx64 \ | ||||
prebuilt-arm.tar.xz:dockerarm | prebuilt-arm.tar.xz:dockerarm | ||||
DIST_SUBDIR= gitlab-runner | DIST_SUBDIR= gitlab-runner | ||||
EXTRACT_ONLY= ${ALLFILES:Nprebuilt*:} | EXTRACT_ONLY= ${ALLFILES:Nprebuilt*:} | ||||
MAINTAINER= swills@FreeBSD.org | MAINTAINER?= swills@FreeBSD.org | ||||
COMMENT= Official GitLab Runner written in Go | COMMENT?= Official GitLab Runner written in Go | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= go-bindata:devel/go-bindata | BUILD_DEPENDS= go-bindata:devel/go-bindata | ||||
RUN_DEPENDS= bash:shells/bash \ | RUN_DEPENDS= bash:shells/bash \ | ||||
ca_root_nss>=0:security/ca_root_nss \ | ca_root_nss>=0:security/ca_root_nss \ | ||||
git:devel/git | git:devel/git | ||||
USES= go:modules | USES= go:modules | ||||
USE_GITLAB= yes | USE_GITLAB= yes | ||||
USE_GITHUB= nodefault | USE_GITHUB= nodefault | ||||
# Find tags here: | # Find tags here: | ||||
# https://gitlab.com/gitlab-org/gitlab-runner/tags | # https://gitlab.com/gitlab-org/gitlab-runner/tags | ||||
GL_ACCOUNT= gitlab-org | GL_ACCOUNT?= gitlab-org | ||||
GL_COMMIT= efa30e331dafc6619935c7c2ae102ebc53501090 | GL_COMMIT?= efa30e331dafc6619935c7c2ae102ebc53501090 | ||||
GITBRANCH= 13-2-stable | GITBRANCH= 13-2-stable | ||||
# https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-freebsd-amd64 | # https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-freebsd-amd64 | ||||
BUILT= 2020-07-14T19:00:00+0000 | BUILT= 2020-07-14T19:00:00+0000 | ||||
GH_TUPLE= \ | GH_TUPLE= \ | ||||
Azure:go-ansiterm:d6e3b3328b78:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \ | Azure:go-ansiterm:d6e3b3328b78:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \ | ||||
Azure:go-autorest:5bd9621f41a0:azure_go_autorest_date/vendor/github.com/Azure/go-autorest \ | Azure:go-autorest:5bd9621f41a0:azure_go_autorest_date/vendor/github.com/Azure/go-autorest \ | ||||
Azure:go-autorest:740293c019d8:azure_go_autorest_adal \ | Azure:go-autorest:740293c019d8:azure_go_autorest_adal \ | ||||
▲ Show 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | GL_TUPLE= ayufan:golang-cli-helpers:a7cf72d604cdf0af6031dd5d54a4e513abeff0d4:ayufan_golang_cli_helpers/vendor/gitlab.com/ayufan/golang-cli-helpers \ | ||||
gitlab-org:gitlab-terminal:5af59b871b1bcc3f4b733f6db0ff3b6e8b247b92:gitlab_org_gitlab_terminal/vendor/gitlab.com/gitlab-org/gitlab-terminal | gitlab-org:gitlab-terminal:5af59b871b1bcc3f4b733f6db0ff3b6e8b247b92:gitlab_org_gitlab_terminal/vendor/gitlab.com/gitlab-org/gitlab-terminal | ||||
GO_BUILDFLAGS= -ldflags=" \ | GO_BUILDFLAGS= -ldflags=" \ | ||||
-X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=${PORTVERSION} \ | -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=${PORTVERSION} \ | ||||
-X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=${GL_COMMIT:C/^(........).*/\1/} \ | -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=${GL_COMMIT:C/^(........).*/\1/} \ | ||||
-X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=${BUILT} \ | -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=${BUILT} \ | ||||
-X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH=${GITBRANCH} \ | -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH=${GITBRANCH} \ | ||||
-s -w" | -s -w" | ||||
PLIST_FILES= bin/gitlab-runner | PLIST_FILES?= bin/gitlab-runner | ||||
USE_RC_SUBR= gitlab_runner | USE_RC_SUBR?= gitlab_runner | ||||
USERS= gitlab-runner | USERS?= gitlab-runner | ||||
GROUPS= gitlab-runner | GROUPS?= gitlab-runner | ||||
post-extract: | post-extract: | ||||
@${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/storage | @${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/storage | ||||
@${RLN} ${WRKSRC_googleapis_google_cloud_go_storage}/storage ${WRKSRC}/vendor/cloud.google.com/go/storage | @${RLN} ${WRKSRC_googleapis_google_cloud_go_storage}/storage ${WRKSRC}/vendor/cloud.google.com/go/storage | ||||
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest | @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest | ||||
@${RLN} ${WRKSRC_azure_go_autorest_autorest}/autorest ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest | @${RLN} ${WRKSRC_azure_go_autorest_autorest}/autorest ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest | ||||
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal | @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal | ||||
@${RLN} ${WRKSRC_azure_go_autorest_adal}/autorest/adal ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal | @${RLN} ${WRKSRC_azure_go_autorest_adal}/autorest/adal ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal | ||||
Show All 27 Lines |