Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 16:39:47 GMT
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fe13eae316f8 - main - devel/libada: new port, WHATWG-compliant and fast URL parser
Message-ID:  <202408041639.474GdlJ0078196@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa:

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

commit fe13eae316f8d7f038d8e79bd2b61c7d2f2add78
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2024-08-04 16:39:03 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2024-08-04 16:39:03 +0000

    devel/libada: new port, WHATWG-compliant and fast URL parser
    
    Ada is a fast and spec-compliant URL parser written in C++.
    Specification for URL parser can be found from the WHATWG website.
    
    Connect to the build.
---
 devel/Makefile         |  1 +
 devel/libada/Makefile  | 23 +++++++++++++++++++++++
 devel/libada/distinfo  |  3 +++
 devel/libada/pkg-descr |  2 ++
 devel/libada/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 66 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5d996c8889f1..9cf314f5db3f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1176,6 +1176,7 @@
     SUBDIR += libPropList
     SUBDIR += libabigail
     SUBDIR += libac
+    SUBDIR += libada
     SUBDIR += libafterbase
     SUBDIR += libantlr3c
     SUBDIR += libantlr4
diff --git a/devel/libada/Makefile b/devel/libada/Makefile
new file mode 100644
index 000000000000..63aa8e2c0e65
--- /dev/null
+++ b/devel/libada/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	libada
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.9.0
+CATEGORIES=	devel www
+
+MAINTAINER=	osa@FreeBSD.org
+COMMENT=	WHATWG-compliant and fast URL parser
+WWW=		https://ada-url.com/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE-APACHE
+
+USES=		cmake localbase:ldflags
+USE_LDCONFIG=	yes
+
+CMAKE_OFF=	ADA_TESTING ADA_BENCHMARKS ADA_TOOLS
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ada-url
+GH_PROJECT=	ada
+
+.include <bsd.port.mk>
diff --git a/devel/libada/distinfo b/devel/libada/distinfo
new file mode 100644
index 000000000000..e309bc4defdb
--- /dev/null
+++ b/devel/libada/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722788107
+SHA256 (ada-url-ada-v2.9.0_GH0.tar.gz) = 8b992f0ce9134cb4eafb74b164d2ce2cb3af1900902162713b0e0c5ab0b6acd8
+SIZE (ada-url-ada-v2.9.0_GH0.tar.gz) = 384243
diff --git a/devel/libada/pkg-descr b/devel/libada/pkg-descr
new file mode 100644
index 000000000000..49698864484f
--- /dev/null
+++ b/devel/libada/pkg-descr
@@ -0,0 +1,2 @@
+Ada is a fast and spec-compliant URL parser written in C++.
+Specification for URL parser can be found from the WHATWG website.
diff --git a/devel/libada/pkg-plist b/devel/libada/pkg-plist
new file mode 100644
index 000000000000..dad58d23f715
--- /dev/null
+++ b/devel/libada/pkg-plist
@@ -0,0 +1,37 @@
+include/ada.h
+include/ada/ada_idna.h
+include/ada/ada_version.h
+include/ada/character_sets-inl.h
+include/ada/character_sets.h
+include/ada/checkers-inl.h
+include/ada/checkers.h
+include/ada/common_defs.h
+include/ada/encoding_type.h
+include/ada/expected.h
+include/ada/helpers.h
+include/ada/implementation.h
+include/ada/log.h
+include/ada/parser.h
+include/ada/scheme-inl.h
+include/ada/scheme.h
+include/ada/serializers.h
+include/ada/state.h
+include/ada/unicode-inl.h
+include/ada/unicode.h
+include/ada/url-inl.h
+include/ada/url.h
+include/ada/url_aggregator-inl.h
+include/ada/url_aggregator.h
+include/ada/url_base-inl.h
+include/ada/url_base.h
+include/ada/url_components.h
+include/ada/url_search_params-inl.h
+include/ada/url_search_params.h
+include/ada_c.h
+lib/cmake/ada/ada-config-version.cmake
+lib/cmake/ada/ada-config.cmake
+lib/cmake/ada/ada_targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/ada/ada_targets.cmake
+lib/libada.so
+lib/libada.so.2
+lib/libada.so.2.9.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408041639.474GdlJ0078196>