summaryrefslogtreecommitdiff
path: root/devel/gitlab-shell/Makefile
blob: a51001f91b10518ce43499439991bb851384a11d (plain)
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
# Created by: Torsten Zuehlsdorff <ports@toco-domains.de
# $FreeBSD$

PORTNAME=	gitlab-shell
PORTVERSION=	2.6.10
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://ports.toco-domains.de/
DISTNAME=	${PORTNAME}-v${PORTVERSION}

MAINTAINER=	ports@toco-domains.de
COMMENT=	GitLab Shell handles git commands for GitLab

BUILD_DEPENDS=	ruby>=2.1.5:${PORTSDIR}/lang/ruby21 \
		gem:${PORTSDIR}/devel/ruby-gems

USERS=		git
GROUPS=		git

NO_BUILD=	yes
NO_ARCH=	yes

post-patch:
	${MV} ${WRKSRC}/config.yml.example ${WRKSRC}/config.yml.sample

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
	@${MKDIR} ${STAGEDIR}/var/log/gitlab-shell

.include <bsd.port.mk>