Page MenuHomeFreeBSD

D52521.id161995.diff
No OneTemporary

D52521.id161995.diff

diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -165,6 +165,7 @@
SUBDIR += R-cran-withr
SUBDIR += R-cran-zeallot
SUBDIR += RStudio
+ SUBDIR += SRELL
SUBDIR += SpecTcl
SUBDIR += aarch64-none-elf-gcc
SUBDIR += abi-compliance-checker
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.069
+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/distinfo b/devel/SRELL/distinfo
new file mode 100644
--- /dev/null
+++ b/devel/SRELL/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757848958
+SHA256 (srell4_069.zip) = 06cc9c214c3f29ac5bbf1dd38b470740a5701a889fb1b1b86999f52acc3487e9
+SIZE (srell4_069.zip) = 390908
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,36 @@
+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:
+
+- UTF-8, UTF-16, and UTF-32 strings can be handled without any additional
+ configurations.
+- '.' does not match a half of a surrogate pair in UTF-16 strings or does not
+ match a code unit in UTF-8 strings.
+- Supplementary Characters can be specified in a character class and a range
+ also can be specified in a character class such as [\u{1b000}-\u{1b0ff}].
+- When the case-insensitive match is performed, even characters having two
+ lowercase letters for one uppercase letter or having the third case called
+ "titlecase" besides the uppercase and the lowercase are processed
+ appropriately.
+
+* Consideration for ignore-case (icase) search
+
+SRELL has been tuned up not to slow down remarkably when case-insensitive
+(icase) search is performed.
+
+As std::regex was proposed early for C++0x (now C++11), it is little dependent
+on C++11's new features. So SRELL should be available with even pre-C++11
+compilers as far as they interpret C++ templates accurately. (The oldest
+compiler on where I confirm SRELL can be used is Visual C++ 2005 in Visual
+Studio 2005).
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

Mime Type
text/plain
Expires
Mon, Feb 9, 5:20 AM (12 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28542197
Default Alt Text
D52521.id161995.diff (3 KB)

Event Timeline