aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gitlab-elasticsearch-indexer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gitlab-elasticsearch-indexer/Makefile')
-rw-r--r--textproc/gitlab-elasticsearch-indexer/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/textproc/gitlab-elasticsearch-indexer/Makefile b/textproc/gitlab-elasticsearch-indexer/Makefile
index 51f13271c007..782ae36d76de 100644
--- a/textproc/gitlab-elasticsearch-indexer/Makefile
+++ b/textproc/gitlab-elasticsearch-indexer/Makefile
@@ -1,7 +1,6 @@
PORTNAME= gitlab-elasticsearch-indexer
-PORTVERSION= 5.7.0
+PORTVERSION= 5.10.1
DISTVERSIONPREFIX= v
-PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= mfechner@FreeBSD.org
@@ -11,12 +10,14 @@ WWW= https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-BUILD_DEPENDS= git>=2.38.1:devel/git
+BUILD_DEPENDS= git>=2.38.1:devel/git \
+ gitlab-code-parser>=0.20.1:textproc/gitlab-code-parser
LIB_DEPENDS= libicui18n.so:devel/icu \
- libicuuc.so:devel/icu
+ libicuuc.so:devel/icu \
+ libparser_c_bindings.so:textproc/gitlab-code-parser
#RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool
-USES= gmake go:modules,no_targets,1.24 pkgconfig
+USES= gmake go:modules,no_targets,1.23 pkgconfig
USE_GITLAB= yes
GL_ACCOUNT= gitlab-org
@@ -29,6 +30,9 @@ MAKE_ENV+= ${GO_ENV}
PLIST_FILES= bin/${PORTNAME}
+post-patch:
+ ${REINPLACE_CMD} -e '/libparser-download/d' ${WRKSRC}/Makefile
+
# add a git tag, as that is required by the build script
pre-build:
cd ${WRKSRC} && \