freebsd-ports/www/gitlab-workhorse/Makefile
Torsten Zuehlsdorff 7bd78f9f5e GitLab and related ports maintained by me: pass maintainership to Matthias Fechner
Matthias has proven himself as capable and enthusiastic enough to update
www/gitlab on its own - which frees much of my time. :)

I wrote an update guide for him and everybody interested in it:
http://gitlab.toco-domains.de/FreeBSD/GitLab-docu/blob/master/update/how-to-update-the-freebsd-port.md
2017-12-05 16:44:09 +00:00

35 lines
895 B
Makefile

# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
# $FreeBSD$
PORTNAME= gitlab-workhorse
PORTVERSION= 2.3.0
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=${DISTVERSIONPREFIX}${PORTVERSION}&dummy=/
MAINTAINER= idefix@fechner.net
COMMENT= Smart reverse proxy for GitLab
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go>=1.5.3:lang/go
MAKE_JOBS_UNSAFE=yes
USES= gmake
PLIST_FILES= bin/gitlab-workhorse \
bin/gitlab-zip-cat \
bin/gitlab-zip-metadata
PLIST_DIRS= %%WWWDIR%%
post-extract:
@${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME}
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>