opnsense-ports/www/gitlab-workhorse/Makefile
Franco Fichtner 9a537fa57b */*: sync with upstream
Taken from: HardenedBSD
2018-07-27 05:35:59 +02:00

35 lines
875 B
Makefile

# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
# $FreeBSD$
PORTNAME= gitlab-workhorse
PORTVERSION= 5.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= 1ef6d8e75d435316715d6a221f2ab4451373ebf2
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>