git: 408586d4b2e2 - main - devel/rationl: New port: Expressive regular expression library written in C

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 02 Dec 2022 23:38:11 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=408586d4b2e265f7626456d8a8cfedae119d6598

commit 408586d4b2e265f7626456d8a8cfedae119d6598
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-02 15:44:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-02 23:38:08 +0000

    devel/rationl: New port: Expressive regular expression library written in C
---
 devel/Makefile          |  1 +
 devel/rationl/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/rationl/distinfo  |  3 +++
 devel/rationl/pkg-descr |  4 ++++
 devel/rationl/pkg-plist | 14 ++++++++++++++
 5 files changed, 50 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2be06d35f821..7facbcd4a0ed 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5714,6 +5714,7 @@
     SUBDIR += rapidfuzz-cpp
     SUBDIR += rapidjson
     SUBDIR += rapidyaml
+    SUBDIR += rationl
     SUBDIR += raylib
     SUBDIR += rbenv
     SUBDIR += rbtools
diff --git a/devel/rationl/Makefile b/devel/rationl/Makefile
new file mode 100644
index 000000000000..63e4bf2507ab
--- /dev/null
+++ b/devel/rationl/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	rationl
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.0-139
+DISTVERSIONSUFFIX=	-g9e32a19
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Expressive regular expression library written in C
+WWW=		https://github.com/TheNaturLFoundation/rationL
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	criterion>0:devel/criterion
+
+USES=		autoreconf libtool pkgconfig
+USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	TheNaturLFoundation
+GH_PROJECT=	rationL
+
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
+
+.include <bsd.port.mk>
diff --git a/devel/rationl/distinfo b/devel/rationl/distinfo
new file mode 100644
index 000000000000..40d2d348a465
--- /dev/null
+++ b/devel/rationl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670023731
+SHA256 (TheNaturLFoundation-rationL-v0.1.0-139-g9e32a19_GH0.tar.gz) = 91f51ad94157ed3accb9336946b532a40a44b6bf23ebce6c3a41a9cff86f6796
+SIZE (TheNaturLFoundation-rationL-v0.1.0-139-g9e32a19_GH0.tar.gz) = 242501
diff --git a/devel/rationl/pkg-descr b/devel/rationl/pkg-descr
new file mode 100644
index 000000000000..2c0a3e2ae96c
--- /dev/null
+++ b/devel/rationl/pkg-descr
@@ -0,0 +1,4 @@
+rationL is a lightweight and quick regular expression (regexp) dynamic library
+written in C.
+
+It is written as part of the 4th semester project in the French IT School EPITA.
diff --git a/devel/rationl/pkg-plist b/devel/rationl/pkg-plist
new file mode 100644
index 000000000000..67d9383e86a0
--- /dev/null
+++ b/devel/rationl/pkg-plist
@@ -0,0 +1,14 @@
+include/rationl.h
+lib/librationl.so
+lib/librationl.so.0
+lib/librationl.so.0.0.0
+man/man3/regex_compile.3.gz
+man/man3/regex_free.3.gz
+man/man3/regex_match.3.gz
+man/man3/regex_search.3.gz
+man/man3/regex_sub.3.gz
+man/manm/regex_compile.man.gz
+man/manm/regex_free.man.gz
+man/manm/regex_match.man.gz
+man/manm/regex_search.man.gz
+man/manm/regex_sub.man.gz