blob: 1e7c0b9df59dfa869f6420a1101728220e034905 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
# $FreeBSD$
PORTNAME= gitlab-workhorse
PORTVERSION= 7.0.0
CATEGORIES= www
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Smart reverse proxy for GitLab
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go>=1.5.3:lang/go \
git>=2.16.2:devel/git
MAKE_JOBS_UNSAFE=yes
USES= gmake
USE_GITLAB= yes
GL_ACCOUNT= gitlab-org
# Find the commit hash here: https://gitlab.com/gitlab-org/gitlab-workhorse/tags
GL_COMMIT= 279962ec11bd26d0a1855537efb38f569ce85e72
PLIST_FILES= bin/gitlab-workhorse \
bin/gitlab-zip-cat \
bin/gitlab-zip-metadata
PLIST_DIRS= ${WWWDIR}
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/www/${PORTNAME}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gitlab-workhorse
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gitlab-zip-cat
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gitlab-zip-metadata
.include <bsd.port.mk>
|