blob: 757f221f8ff924274f7ddea5aed257834bc5e07f (
plain) (
blame)
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
32
|
# Created by: Torsten Zuehlsdorff <ports@toco-domains.de
# $FreeBSD$
PORTNAME= gitlab-shell
PORTVERSION= 3.0.0
CATEGORIES= devel
MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=v${PORTVERSION}&dummy=/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= tz@FreeBSD.org
COMMENT= GitLab Shell handles git commands for GitLab
BUILD_DEPENDS= gem:devel/ruby-gems
USERS= git
GROUPS= git
NO_BUILD= yes
NO_ARCH= yes
post-extract:
@${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME}
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>
|