mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
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
39 lines
987 B
Makefile
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>
|