Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2026 14:54:39 +0000
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 58a8619d6303 - main - textproc/redisearch22: Refactor
Message-ID:  <6a1c4baf.30496.4d3d2b5d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=58a8619d63033c21a525c948daf9762128b930bc

commit 58a8619d63033c21a525c948daf9762128b930bc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-05-31 13:08:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-05-31 14:54:21 +0000

    textproc/redisearch22: Refactor
    
    - Use proper use of PKGNAMESUFFIX instead of PORTNAME cluttering
    - Adopt port
    - Update WWW
    - Fix license name to RSAL
    - Install module as executables
---
 textproc/redisearch22/Makefile | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/textproc/redisearch22/Makefile b/textproc/redisearch22/Makefile
index 25d86adaeab4..f0a0bfb8767c 100644
--- a/textproc/redisearch22/Makefile
+++ b/textproc/redisearch22/Makefile
@@ -1,19 +1,20 @@
-PORTNAME=	redisearch22
+PORTNAME=	redisearch
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.2.10
+PORTREVISION=	1
 CATEGORIES=	textproc
+PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Full-text search over Redis
-WWW=		https://oss.redislabs.com/redisearch/
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Full-text search over Redis (2.2.X)
+WWW=		https://github.com/RediSearch/RediSearch/
 
-LICENSE=	UNKNOWN
+LICENSE=	RSAL
 LICENSE_NAME=	Redis Source Available License Agreement
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
 USES=		cmake compiler
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	RediSearch
 GH_PROJECT=	RediSearch
@@ -21,10 +22,12 @@ GH_PROJECT=	RediSearch
 CMAKE_ARGS=	-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
 		-DOS=freebsd
 
-PLIST_FILES=	lib/redisearch22.so
+CONFLICTS_INSTALL=	redisearch*
+
+PLIST_FILES=	lib/${PORTNAME}${PKGNAMESUFFIX}.so
 
 do-install:
-	${INSTALL_LIB} ${INSTALL_WRKSRC}/redisearch.so \
-		${STAGEDIR}${PREFIX}/lib/redisearch22.so
+	${INSTALL} -m 0755 ${INSTALL_WRKSRC}/redisearch.so \
+		${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX}.so
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1c4baf.30496.4d3d2b5d>