opnsense-ports/devel/gitlab-shell/Makefile
Franco Fichtner 2cf10371ba */*: sync with upstream
Taken from: FreeBSD
2016-06-11 06:56:58 +02:00

33 lines
787 B
Makefile

# Created by: Torsten Zuehlsdorff <ports@toco-domains.de
# $FreeBSD$
PORTNAME= gitlab-shell
PORTVERSION= 2.7.2
PORTREVISION= 1
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>