ports/devel/gitlab-shell/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

39 lines
987 B
Makefile

# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
# $FreeBSD$
PORTNAME= gitlab-shell
PORTVERSION= 5.9.3
CATEGORIES= devel
MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=v${PORTVERSION}&dummy=/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
LICENSE= MIT
MAINTAINER= idefix@fechner.net
COMMENT= GitLab Shell handles git commands for GitLab
BUILD_DEPENDS= gem:devel/ruby-gems \
go>=1.5.3:lang/go
USERS= git
GROUPS= git
post-extract:
@${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME}
post-patch:
${MV} ${WRKSRC}/config.yml.example ${WRKSRC}/config.yml.sample
pre-install:
${WRKSRC}/bin/compile
${RM} -rf ${WRKSRC}/go
${RM} -rf ${WRKSRC}/go_build
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}/var/log/gitlab-shell
${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly-upload-pack
${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly-receive-pack
.include <bsd.port.mk>