summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/mathemagics
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-10-31 01:41:46 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-10-31 01:41:46 +0100
commita815976a0aebcb84d0d4290b4f17f015f7212436 (patch)
tree43143be42ad6b7050ffb0cdc0d367986d88df3fa /freebsd/applications/mathemagics
parentbf83c213311228cac7361c123ee73d10b664ddbd (diff)
downloadtde-packaging-a815976a0aebcb84d0d4290b4f17f015f7212436.tar.gz
tde-packaging-a815976a0aebcb84d0d4290b4f17f015f7212436.zip
FreeBSD: Update for final release R14.0.9.
Switch several applications to CMake. Add ports for several applications. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/applications/mathemagics')
-rw-r--r--freebsd/applications/mathemagics/Makefile34
-rw-r--r--freebsd/applications/mathemagics/distinfo3
-rw-r--r--freebsd/applications/mathemagics/pkg-descr5
-rw-r--r--freebsd/applications/mathemagics/pkg-plist12
4 files changed, 54 insertions, 0 deletions
diff --git a/freebsd/applications/mathemagics/Makefile b/freebsd/applications/mathemagics/Makefile
new file mode 100644
index 000000000..2086a4281
--- /dev/null
+++ b/freebsd/applications/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
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/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/mathemagics/distinfo b/freebsd/applications/mathemagics/distinfo
new file mode 100644
index 000000000..c0a400bf1
--- /dev/null
+++ b/freebsd/applications/mathemagics/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603602126
+SHA256 (TDE/applications/mathemagics-trinity_14.0.9.orig.tar.xz) = 9c9fa79f912d3e6801747f1e97cbfb099e77305324b6d03e53ab8bb60c3098b3
+SIZE (TDE/applications/mathemagics-trinity_14.0.9.orig.tar.xz) = 54220
diff --git a/freebsd/applications/mathemagics/pkg-descr b/freebsd/applications/mathemagics/pkg-descr
new file mode 100644
index 000000000..9563b5af7
--- /dev/null
+++ b/freebsd/applications/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/mathemagics/pkg-plist b/freebsd/applications/mathemagics/pkg-plist
new file mode 100644
index 000000000..4623edb7a
--- /dev/null
+++ b/freebsd/applications/mathemagics/pkg-plist
@@ -0,0 +1,12 @@
+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/man/man1/mathemagics.1.gz