aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2022-02-27 14:21:02 +0000
committerJason E. Hale <jhale@FreeBSD.org>2022-02-27 14:28:44 +0000
commit690a30e50607de8c4d2e2728f7ea4b5692d17426 (patch)
treeae0c5cc33c6ff3f41bb9e0456eebe9bd668403bb
parentba075ab10cfd9c5a3715bf6126aebdc27dbbb4db (diff)
downloadports-690a30e50607de8c4d2e2728f7ea4b5692d17426.tar.gz
ports-690a30e50607de8c4d2e2728f7ea4b5692d17426.zip
math/qalculate-qt: New port
Qalculate! is a multi-purpose desktop calculator. It is small and simple to use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface. WWW: https://qalculate.github.io/
-rw-r--r--math/Makefile1
-rw-r--r--math/qalculate-qt/Makefile24
-rw-r--r--math/qalculate-qt/distinfo3
-rw-r--r--math/qalculate-qt/pkg-descr6
-rw-r--r--math/qalculate-qt/pkg-plist20
5 files changed, 54 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 70451d05c518..42d733e210ba 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -956,6 +956,7 @@
SUBDIR += py-z3-solver
SUBDIR += pynac
SUBDIR += qalculate
+ SUBDIR += qalculate-qt
SUBDIR += qd
SUBDIR += qhull
SUBDIR += qhull7
diff --git a/math/qalculate-qt/Makefile b/math/qalculate-qt/Makefile
new file mode 100644
index 000000000000..68fc286dd5b5
--- /dev/null
+++ b/math/qalculate-qt/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= qalculate-qt
+PORTVERSION= 4.0.0
+CATEGORIES= math
+MASTER_SITES= https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
+
+MAINTAINER= jhale@FreeBSD.org
+COMMENT= Multi-purpose desktop calculator (Qt frontend)
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libqalculate.so:math/libqalculate
+RUN_DEPENDS= gnuplot:math/gnuplot
+
+USES= compiler:c++11-lib gl pkgconfig qmake qt:5
+USE_GL= gl
+USE_QT= buildtools_build linguisttools_build core gui network widgets
+
+QMAKE_ARGS= MAN_DIR="${PREFIX}/man"
+
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+.include <bsd.port.mk>
diff --git a/math/qalculate-qt/distinfo b/math/qalculate-qt/distinfo
new file mode 100644
index 000000000000..8ff35715233d
--- /dev/null
+++ b/math/qalculate-qt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1645886535
+SHA256 (qalculate-qt-4.0.0.tar.gz) = 1a208bdcefc738f001a1e098be0ef74f18099fde2c412959fc1fea10b97b41da
+SIZE (qalculate-qt-4.0.0.tar.gz) = 1037200
diff --git a/math/qalculate-qt/pkg-descr b/math/qalculate-qt/pkg-descr
new file mode 100644
index 000000000000..53aba25ccf4e
--- /dev/null
+++ b/math/qalculate-qt/pkg-descr
@@ -0,0 +1,6 @@
+Qalculate! is a multi-purpose desktop calculator. It is small and simple
+to use but with much power and versatility underneath. Features include
+customizable functions, units, arbitrary precision, plotting, and a
+user-friendly interface.
+
+WWW: https://qalculate.github.io/
diff --git a/math/qalculate-qt/pkg-plist b/math/qalculate-qt/pkg-plist
new file mode 100644
index 000000000000..3dc02f46cfe8
--- /dev/null
+++ b/math/qalculate-qt/pkg-plist
@@ -0,0 +1,20 @@
+bin/qalculate-qt
+man/man1/qalculate-qt.1.gz
+share/applications/qalculate-qt.desktop
+share/icons/hicolor/128x128/apps/qalculate-qt.png
+share/icons/hicolor/16x16/apps/qalculate-qt.png
+share/icons/hicolor/22x22/apps/qalculate-qt.png
+share/icons/hicolor/32x32/apps/qalculate-qt.png
+share/icons/hicolor/64x64/apps/qalculate-qt.png
+share/icons/hicolor/scalable/apps/qalculate-qt.svg
+share/metainfo/qalculate-qt.appdata.xml
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_ca.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_de.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_es.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_fr.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_nl.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_pt_BR.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_ru.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_sl.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_sv.qm
+%%NLS%%%%DATADIR%%/translations/qalculate-qt_zh_CN.qm