Changeset View
Changeset View
Standalone View
Standalone View
devel/gitlab-shell/Makefile
PORTNAME= gitlab-shell | PORTNAME= gitlab-shell | ||||
PORTVERSION= 14.28.0 | PORTVERSION= 14.28.0 | ||||
PORTREVISION= 1 | |||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MAINTAINER= mfechner@FreeBSD.org | MAINTAINER= mfechner@FreeBSD.org | ||||
COMMENT= GitLab Shell handles git commands for GitLab | COMMENT= GitLab Shell handles git commands for GitLab | ||||
WWW= https://gitlab.com/gitlab-org/gitlab-shell | WWW= https://gitlab.com/gitlab-org/gitlab-shell | ||||
LICENSE= MIT | LICENSE= MIT | ||||
Show All 18 Lines | |||||
# make sure to pass go build options into make process | # make sure to pass go build options into make process | ||||
MAKE_ENV+= ${GO_ENV} | MAKE_ENV+= ${GO_ENV} | ||||
# for go dependencies | # for go dependencies | ||||
# Gitlab hosts there dependencies on their own platform and not on go-proxy | # Gitlab hosts there dependencies on their own platform and not on go-proxy | ||||
# so we download the required go.mod file from gitlab | # so we download the required go.mod file from gitlab | ||||
# lines are taken from go.mk | # lines are taken from go.mk | ||||
# --------------------------- | # --------------------------- | ||||
FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} \ | FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} | ||||
ca_root_nss>0:security/ca_root_nss | |||||
MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v${DISTVERSION}/ | MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v${DISTVERSION}/ | ||||
DISTFILES+= go.mod | DISTFILES+= go.mod | ||||
DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} | DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} | ||||
EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} | EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} | ||||
_USES_fetch+= 800:go-post-fetch | _USES_fetch+= 800:go-post-fetch | ||||
go-post-fetch: | go-post-fetch: | ||||
@${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; | @${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; | ||||
@(cd ${DISTDIR}/${DIST_SUBDIR}; \ | @(cd ${DISTDIR}/${DIST_SUBDIR}; \ | ||||
Show All 37 Lines |