Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2026 14:54:38 +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: 8df2df1ac508 - main - textproc/redisearch20: Refactor
Message-ID:  <6a1c4bae.30492.29bde86f@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=8df2df1ac5088f92a248bea2748f4f4f9cc50d48

commit 8df2df1ac5088f92a248bea2748f4f4f9cc50d48
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-05-31 13:02:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-05-31 14:54:20 +0000

    textproc/redisearch20: Refactor
    
    - Use proper use of PKGNAMESUFFIX instead of PORTNAME cluttering
    - Adopt port
    - Update WWW
    - Fix license name to RSAL
    - Mark DEPRECATED as 2.0.X is no longer maintained last release was in
      2021. Use redisearch22
    - Set EXPIRATION_DATE 2026-06-30
    - Install module as executables
---
 textproc/redisearch20/Makefile | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/textproc/redisearch20/Makefile b/textproc/redisearch20/Makefile
index e97348ca4071..042babaed37b 100644
--- a/textproc/redisearch20/Makefile
+++ b/textproc/redisearch20/Makefile
@@ -1,29 +1,36 @@
-PORTNAME=	redisearch20
+PORTNAME=	redisearch
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.15
+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.0.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
+DEPRECATED=	Redisearch 2.0 is no longer maintained use textproc/redisearch22 instead.
+EXPIRATION_DATE=2026-06-30
 
+USES=		cmake compiler
 USE_GITHUB=	yes
 GH_ACCOUNT=	RediSearch
 GH_PROJECT=	RediSearch
 
-CMAKE_ARGS=	-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION}
+CMAKE_ARGS=	-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
+		-DOS=freebsd
+
+CONFLICTS_INSTALL=	redisearch*
 
-PLIST_FILES=	lib/redisearch20.so
+PLIST_FILES=	lib/${PORTNAME}${PKGNAMESUFFIX}.so
 
 do-install:
-	${INSTALL_LIB} ${INSTALL_WRKSRC}/redisearch.so \
-		${STAGEDIR}${PREFIX}/lib/redisearch20.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?6a1c4bae.30492.29bde86f>