git: 0214fbc402b3 - main - devel/eql5: New port: Embedded Qt Lisp

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 14 Feb 2022 17:21:23 UTC
The branch main has been updated by yuri:

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

commit 0214fbc402b35cacaf645906726149a5b8636034
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-14 05:41:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-14 17:21:21 +0000

    devel/eql5: New port: Embedded Qt Lisp
---
 devel/Makefile       |  1 +
 devel/eql5/Makefile  | 41 +++++++++++++++++++++++++++++++++++++++++
 devel/eql5/distinfo  |  3 +++
 devel/eql5/pkg-descr |  3 +++
 devel/eql5/pkg-plist | 17 +++++++++++++++++
 5 files changed, 65 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index bbc4c4efa590..be215f29466e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -619,6 +619,7 @@
     SUBDIR += envsubst
     SUBDIR += epl.el
     SUBDIR += epm
+    SUBDIR += eql5
     SUBDIR += eric6
     SUBDIR += eris
     SUBDIR += erlang-backoff
diff --git a/devel/eql5/Makefile b/devel/eql5/Makefile
new file mode 100644
index 000000000000..dc5e0d0addec
--- /dev/null
+++ b/devel/eql5/Makefile
@@ -0,0 +1,41 @@
+PORTNAME=	eql5
+PORTVERSION=	g20211105
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Embedded Qt Lisp
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/../LICENSE-1.MIT
+
+LIB_DEPENDS=	libecl.so:lang/ecl
+
+USES=		gl qmake qt:5
+USE_QT=		core declarative gui help location multimedia network \
+		printsupport sql svg webchannel webengine widgets \
+		buildtools_build uitools_build
+USE_GL=		gl
+USE_LDCONFIG=	yes
+
+USE_GITLAB=	yes
+GL_ACCOUNT=	eql
+GL_PROJECT=	${PORTNAME:tu}
+GL_COMMIT=	82c209a46962f8a7e9f7d8f81b25cc21e8861e42
+
+WRKSRC_SUBDIR=	src
+
+QMAKE_CONFIGURE_ARGS=	eql5.pro
+
+post-extract: # see https://gitlab.com/eql/EQL5/-/issues/26
+	@${FIND} ${WRKSRC} -name "*.pro" | ${XARGS} ${REINPLACE_CMD} -e 's|^linux|freebsd|'
+
+do-configure: # same as in qmake.mk but w/out -- due to the qmake bug https://bugreports.qt.io/browse/QTBUG-100811
+	@cd ${_QMAKE_WRKSRC} && \
+		${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} \
+			${QMAKE_SOURCE_PATH} \
+			${QMAKE_CONFIGURE_ARGS}
+
+pre-build:
+	@cd ${WRKSRC} && ecl -shell make.lisp
+
+.include <bsd.port.mk>
diff --git a/devel/eql5/distinfo b/devel/eql5/distinfo
new file mode 100644
index 000000000000..688ba5db221c
--- /dev/null
+++ b/devel/eql5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644789999
+SHA256 (eql-EQL5-82c209a46962f8a7e9f7d8f81b25cc21e8861e42_GL0.tar.gz) = 5e5698ae051f0d778822100da2196d0019fba3c9ca7f4ccb773d127de3e47cd9
+SIZE (eql-EQL5-82c209a46962f8a7e9f7d8f81b25cc21e8861e42_GL0.tar.gz) = 1561012
diff --git a/devel/eql5/pkg-descr b/devel/eql5/pkg-descr
new file mode 100644
index 000000000000..5ac85fdce7c9
--- /dev/null
+++ b/devel/eql5/pkg-descr
@@ -0,0 +1,3 @@
+Embedded Qt Lisp (Qt5 binding embedded in ECL, embeddable in Qt).
+
+WWW: https://gitlab.com/eql/EQL5
diff --git a/devel/eql5/pkg-plist b/devel/eql5/pkg-plist
new file mode 100644
index 000000000000..55e4596f8b84
--- /dev/null
+++ b/devel/eql5/pkg-plist
@@ -0,0 +1,17 @@
+/usr/bin/eql5
+/usr/include/eql5/dyn_object.h
+/usr/include/eql5/eql.h
+/usr/include/eql5/eql_fun.h
+/usr/include/eql5/eql_global.h
+%%QT_LIBDIR%%/libeql5.so
+%%QT_LIBDIR%%/libeql5.so.1
+%%QT_LIBDIR%%/libeql5.so.1.0
+%%QT_LIBDIR%%/libeql5.so.1.0.0
+%%QT_LIBDIR%%/libeql5_help.so
+%%QT_LIBDIR%%/libeql5_multimedia.so
+%%QT_LIBDIR%%/libeql5_network.so
+%%QT_LIBDIR%%/libeql5_quick.so
+%%QT_LIBDIR%%/libeql5_sql.so
+%%QT_LIBDIR%%/libeql5_svg.so
+%%QT_LIBDIR%%/libeql5_webengine.so
+@dir /usr/include/eql5