aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-02-14 05:41:23 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-02-14 17:21:21 +0000
commit0214fbc402b35cacaf645906726149a5b8636034 (patch)
treede370a1b50b4e8037f6cc427cf22e553eb532944
parentc578c5ff8284ed59f290377bc30ff938d8db3e6f (diff)
devel/eql5: New port: Embedded Qt Lisp
-rw-r--r--devel/Makefile1
-rw-r--r--devel/eql5/Makefile41
-rw-r--r--devel/eql5/distinfo3
-rw-r--r--devel/eql5/pkg-descr3
-rw-r--r--devel/eql5/pkg-plist17
5 files changed, 65 insertions, 0 deletions
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