Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144401631
D52521.id162397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D52521.id162397.diff
View Options
diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -8265,6 +8265,7 @@
SUBDIR += spr
SUBDIR += spread-sheet-widget
SUBDIR += srecord
+ SUBDIR += srell
SUBDIR += sse2neon
SUBDIR += st
SUBDIR += stack
diff --git a/devel/SRELL/Makefile b/devel/SRELL/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/SRELL/Makefile
@@ -0,0 +1,44 @@
+PORTNAME= srell
+DISTVERSION= 4.070
+CATEGORIES= devel
+MASTER_SITES= https://www.akenotsuki.com/misc/srell/releases/
+DISTNAME= ${PORTNAME:tl}${DISTVERSION:S/./_/}
+
+MAINTAINER= alven@FreeBSD.org
+COMMENT= Std::regex-like regular expression template library for C++
+WWW= https://www.akenotsuki.com/misc/srell/en/
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/license.txt
+
+USES= compiler:c++11-lang zip
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+NO_WRKSUBDIR= yes
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} srell.hpp \
+ srell_ucfdata2.h \
+ srell_updata3.h \
+ ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme_*.txt ${STAGEDIR}${DOCSDIR}
+
+do-test:
+ cd ${WRKSRC}/misc && \
+ ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${CXX} -o conftest conftest.cpp && \
+ ./conftest utf8 && \
+ ./conftest utf16 && \
+ ./conftest utf32 && \
+ ./conftest utf8c && \
+ ./conftest utf32w
+
+.include <bsd.port.mk>
diff --git a/devel/srell/Makefile b/devel/srell/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/srell/Makefile
@@ -0,0 +1,43 @@
+PORTNAME= srell
+DISTVERSION= 4.070
+CATEGORIES= devel
+MASTER_SITES= https://www.akenotsuki.com/misc/srell/releases/
+DISTNAME= ${PORTNAME:tl}${DISTVERSION:S/./_/}
+
+MAINTAINER= alven@FreeBSD.org
+COMMENT= Std::regex-like regular expression template library for C++
+WWW= https://www.akenotsuki.com/misc/srell/en/
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/license.txt
+
+USES= compiler:c++11-lang zip
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+NO_WRKSUBDIR= yes
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} srell.hpp \
+ srell_ucfdata2.h \
+ srell_updata3.h \
+ ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme_*.txt ${STAGEDIR}${DOCSDIR}
+
+do-test:
+ @cd ${WRKSRC}/misc && \
+ ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${CXX} -o conftest conftest.cpp && \
+ ./conftest utf8c && \
+ ./conftest utf16 && \
+ ./conftest utf32 && \
+ ./conftest utf32w
+
+.include <bsd.port.mk>
diff --git a/devel/srell/distinfo b/devel/srell/distinfo
new file mode 100644
--- /dev/null
+++ b/devel/srell/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758279311
+SHA256 (srell4_070.zip) = 4523b6e3e8a5b82a0cbd13c8d2bd5a2e08afd7852ef74b2451ea57b75eb1b60f
+SIZE (srell4_070.zip) = 390702
diff --git a/devel/srell/pkg-descr b/devel/srell/pkg-descr
new file mode 100644
--- /dev/null
+++ b/devel/srell/pkg-descr
@@ -0,0 +1,19 @@
+SRELL (std::regex-like library) is a Unicode-aware regular expression template
+library for C++.
+
+* Header-only and the same class design as std::regex
+
+SRELL is a header-only template library and does not need any
+installation. SRELL has an ECMAScript (JavaScript) compatible regular expression
+engine wrapped into the same class design as std::regex. As APIs are compatible,
+SRELL can be used in the same way as std::regex (or boost::regex on which
+std::regex is based).
+
+* Unicode-specific implementation
+
+SRELL has native support for Unicode.
+
+* Consideration for ignore-case (icase) search
+
+SRELL has been tuned up not to slow down remarkably when case-insensitive
+(icase) search is performed.
diff --git a/devel/srell/pkg-plist b/devel/srell/pkg-plist
new file mode 100644
--- /dev/null
+++ b/devel/srell/pkg-plist
@@ -0,0 +1,5 @@
+include/srell/srell.hpp
+include/srell/srell_ucfdata2.h
+include/srell/srell_updata3.h
+%%PORTDOCS%%%%DOCSDIR%%/readme_en.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme_ja.txt
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 6:18 AM (5 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28546954
Default Alt Text
D52521.id162397.diff (4 KB)
Attached To
Mode
D52521: devel/srell: [NEW PORT] Std::regex-like regular expression template library for C++
Attached
Detach File
Event Timeline
Log In to Comment