summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/mathemagics
diff options
context:
space:
mode:
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