summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/utilities/mathemagics
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/applications/utilities/mathemagics')
-rw-r--r--freebsd/applications/utilities/mathemagics/Makefile37
-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, 59 insertions, 0 deletions
diff --git a/freebsd/applications/utilities/mathemagics/Makefile b/freebsd/applications/utilities/mathemagics/Makefile
new file mode 100644
index 000000000..401538152
--- /dev/null
+++ b/freebsd/applications/utilities/mathemagics/Makefile
@@ -0,0 +1,37 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: applications/utilities/mathemagics
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= mathemagics-trinity
+COMMENT= A RPN scientific calculator for TDE
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= m/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= math x11
+DIST_SUBDIR= TDE/applications/utilities
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+LIB_DEPENDS+= libtqt.so:x11-toolkits/libtqtinterface
+
+
+# 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..2d3e53843
--- /dev/null
+++ b/freebsd/applications/utilities/mathemagics/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682063859
+SHA256 (TDE/applications/utilities/mathemagics-trinity_14.1.0.orig.tar.xz) = 56e7dd39eb6d43654233f53f0fc5d1883114796d9ac39eaa416992411478c395
+SIZE (TDE/applications/utilities/mathemagics-trinity_14.1.0.orig.tar.xz) = 32780
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