summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/utilities/mathemagics
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-10-27 04:21:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-10-29 13:25:04 +0200
commit0be4bb38e65d682e612205f5865a5529b42dc5f1 (patch)
tree9a67f67cdd05cbb6b67a396ba1d4293da17dd1fa /freebsd/applications/utilities/mathemagics
parentb9d33de3622fcad3fdfdc9b1464b4bc160f205ba (diff)
downloadtde-packaging-1ecc6f1596a69c971a4e53588575fc94ea9960df.tar.gz
tde-packaging-1ecc6f1596a69c971a4e53588575fc94ea9960df.zip
FreeBSD: Update for final release R14.0.11.r14.0.11
Adjusted to new a layout of applications folder. Pinetry-tqt package is not built within the tree. Switch several applications to CMake. Add ports for several applications. Add port for cmake-trinity. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/applications/utilities/mathemagics')
-rw-r--r--freebsd/applications/utilities/mathemagics/Makefile34
-rw-r--r--freebsd/applications/utilities/mathemagics/distinfo3
-rw-r--r--freebsd/applications/utilities/mathemagics/pkg-descr5
-rw-r--r--freebsd/applications/utilities/mathemagics/pkg-plist14
4 files changed, 56 insertions, 0 deletions
diff --git a/freebsd/applications/utilities/mathemagics/Makefile b/freebsd/applications/utilities/mathemagics/Makefile
new file mode 100644
index 000000000..e25b193e0
--- /dev/null
+++ b/freebsd/applications/utilities/mathemagics/Makefile
@@ -0,0 +1,34 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../../trinity.port.mk>
+
+PORTNAME= mathemagics-trinity
+COMMENT= A RPN scientific calculator for TDE
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= m/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/applications/utilities
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs
+
+LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>
diff --git a/freebsd/applications/utilities/mathemagics/distinfo b/freebsd/applications/utilities/mathemagics/distinfo
new file mode 100644
index 000000000..a01d8bbb9
--- /dev/null
+++ b/freebsd/applications/utilities/mathemagics/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635293485
+SHA256 (TDE/applications/utilities/mathemagics-trinity_14.0.11.orig.tar.xz) = 52a786bcd87c59d2b92e066cbf1a7436eec04b97dc4d655ccb9c9da55258a4b4
+SIZE (TDE/applications/utilities/mathemagics-trinity_14.0.11.orig.tar.xz) = 31244
diff --git a/freebsd/applications/utilities/mathemagics/pkg-descr b/freebsd/applications/utilities/mathemagics/pkg-descr
new file mode 100644
index 000000000..9563b5af7
--- /dev/null
+++ b/freebsd/applications/utilities/mathemagics/pkg-descr
@@ -0,0 +1,5 @@
+A RPN scientific calculator for TDE
+
+Mathemagics makes use of the Reverse Polish Notation or RPN.
+Mathemagics can store and use user-defined functions and variables,
+It comes with large number of built-in functions as well.
diff --git a/freebsd/applications/utilities/mathemagics/pkg-plist b/freebsd/applications/utilities/mathemagics/pkg-plist
new file mode 100644
index 000000000..afda523a1
--- /dev/null
+++ b/freebsd/applications/utilities/mathemagics/pkg-plist
@@ -0,0 +1,14 @@
+bin/mathemagics
+share/applications/tde/mathemagics.desktop
+share/apps/mathemagics/mathemagicsui.rc
+share/doc/tde/HTML/en/mathemagics/common
+share/doc/tde/HTML/en/mathemagics/index.cache.bz2
+share/doc/tde/HTML/en/mathemagics/index.docbook
+share/icons/hicolor/22x22/apps/mathemagics.png
+share/icons/hicolor/32x32/apps/mathemagics.png
+share/icons/hicolor/48x48/apps/mathemagics.png
+share/icons/locolor/16x16/apps/mathemagics.png
+share/icons/locolor/32x32/apps/mathemagics.png
+share/locale/el/LC_MESSAGES/mathemagics.mo
+share/locale/ru/LC_MESSAGES/mathemagics.mo
+share/man/man1/mathemagics.1.gz