pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add SMath Studio as math/smath-studio.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbc89fe688a6
branches:  trunk
changeset: 455199:bbc89fe688a6
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Tue Jun 29 14:28:12 2021 +0000

description:
Add SMath Studio as math/smath-studio.

While the license allows to re-distribute the source tarball
unchanged, an automatic download fails, so it will have to be
downloaded in a browser.

>From the upstream description:

SMath Studio is a tiny, powerful, free mathematical program with
WYSIWYG editor and complete units of measurements support.

It provides numerous computing features and rich user interface
translated into about 40 different languages. The application also
contains an integrated mathematical reference book.

It can be easily extended based on your needs. A built-in Extensions
Manager tool allows to get access to hundreds official and third-party
resources of the following types: usage examples, plug-ins, SMath
Viewer based applications, snippets, interface translations,
interactive books, handbooks and tutorials.

diffstat:

 licenses/smath-license                  |   33 ++++++++
 math/smath-studio/DESCR                 |   12 ++
 math/smath-studio/Makefile              |   76 ++++++++++++++++++
 math/smath-studio/PLIST                 |  131 ++++++++++++++++++++++++++++++++
 math/smath-studio/distinfo              |    6 +
 math/smath-studio/files/smath-studio.sh |    7 +
 6 files changed, 265 insertions(+), 0 deletions(-)

diffs (289 lines):

diff -r ec29c82fa052 -r bbc89fe688a6 licenses/smath-license
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/licenses/smath-license    Tue Jun 29 14:28:12 2021 +0000
@@ -0,0 +1,33 @@
+SMath Studio License Agreement
+
+    The SMath Studio program is distributed as freeware;
+
+    All copyrights to SMath Studio are exclusively owned by its
+    author, Andrey Ivashov (http://smath.com/);
+
+    The SMath Studio may be freely distributed provided the
+    distribution package is not modified. No person or company may
+    charge a fee for the distribution of SMath Studio without written
+    permission from the copyright holder. Only unmodified installer
+    can be redistributed; redistribution of SMath Studio binaries in
+    any other form is not permitted;
+
+    This License Agreement applies to all future updates/new versions
+    of SMath Studio. By agreeing to install updates/new versions of
+    SMath Studio you accept the terms of this Agreement for the
+    relevant updates/new versions of SMath Studio, if upgrade/install
+    of the new version of SMath Studio is not accompanied by any other
+    license agreement;
+
+    Installing and using SMath Studio signifies acceptance of all the
+    terms and conditions of the license;
+
+    If you do not agree with the terms of this license you must remove
+    SMath Studio files from your storage devices and cease to use the
+    product.
+
+SMATH STUDIO PROGRAM IS DISTRIBUTED "AS IS".
+NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED.
+YOU USE THE PROGRAM AT YOUR OWN RISK.
+THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, LOSS OF PROFITS
+OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SOFTWARE.
diff -r ec29c82fa052 -r bbc89fe688a6 math/smath-studio/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/smath-studio/DESCR   Tue Jun 29 14:28:12 2021 +0000
@@ -0,0 +1,12 @@
+SMath Studio is a tiny, powerful, free mathematical program with
+WYSIWYG editor and complete units of measurements support.
+
+It provides numerous computing features and rich user interface
+translated into about 40 different languages. The application also
+contains an integrated mathematical reference book.
+
+It can be easily extended based on your needs. A built-in Extensions
+Manager tool allows to get access to hundreds official and third-party
+resources of the following types: usage examples, plug-ins, SMath
+Viewer based applications, snippets, interface translations,
+interactive books, handbooks and tutorials.
diff -r ec29c82fa052 -r bbc89fe688a6 math/smath-studio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/smath-studio/Makefile        Tue Jun 29 14:28:12 2021 +0000
@@ -0,0 +1,76 @@
+# $NetBSD: Makefile,v 1.1 2021/06/29 14:28:12 hauke Exp $
+
+DISTNAME=      SMathStudioDesktop.${PKGVERSION_NOREV:S/./_/g}.Mono
+PKGNAME=       smath-studio-${PKGVER}
+PKGVER=                0.99.7822
+CATEGORIES=    math
+MASTER_SITES=  https://smath.com/file/oVRx7/
+
+MAINTAINER=    hauke%NetBSD.org@localhost
+HOMEPAGE=      https://smath.com/
+DOWNLOAD=      https://en.smath.com/view/SMathStudio/summary
+DOWNLOAD_NAME= SMath Studio Desktop for Mono
+COMMENT=       Tiny, powerful, free mathematical program with WYSIWYG editor
+
+LICENSE=               smath-license
+RESTRICTED=            Redistribution of repackaged binaries not permitted
+NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_BIN_ON_FTP=         ${RESTRICTED}
+
+EXTRACT_DIR=   ${WRKDIR}/${DISTNAME}
+
+USE_LANGUAGES= # none
+NO_BUILD=      YES
+
+DEPENDS+=      mono-[0-9]*:../../lang/mono
+DEPENDS+=      libgdiplus-[0-9]*:../../graphics/libgdiplus
+
+FETCH_MESSAGE+=        " The file ${DISTNAME}${EXTRACT_SUFX} containing ${DOWNLOAD_NAME}"
+FETCH_MESSAGE+=        ""
+FETCH_MESSAGE+=        " must be fetched into:"
+FETCH_MESSAGE+=        "       ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"
+FETCH_MESSAGE+=        " from:"
+FETCH_MESSAGE+=        "       ${DOWNLOAD}"
+
+USE_TOOLS+=    pax
+
+EGDIR=                 share/examples/smath-studio
+DOCDIR=                        share/doc/smath-studio
+SMATH_DIR=             libexec/smath-studio
+INSTALLATION_DIRS=     bin ${EGDIR} ${DOCDIR} ${SMATH_DIR}
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_MESSAGE.paths=   Fixing absolute paths.
+SUBST_FILES.paths=     smath-studio.sh
+SUBST_VARS.paths=      PREFIX SMATH_DIR
+
+SUBST_CLASSES+=                switch
+SUBST_STAGE.switch=    pre-configure
+SUBST_MESSAGE.switch=  Disabling runtime download.
+SUBST_FILES.switch=    SMathStudio_Desktop.exe.config
+SUBST_SED.switch=      -E -e 's,(loadFromRemoteSources enabled)="true",\1="false",'
+
+post-extract:
+       find ${WRKSRC} -type f -exec chmod -x {} \;
+       cp ${FILESDIR}/smath-studio.sh ${WRKSRC}
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/smath-studio.sh \
+               ${DESTDIR}${PREFIX}/bin/smath-studio
+       cd ${WRKSRC} && pax -rw EULA book ${DESTDIR}${PREFIX}/${DOCDIR}/
+.for dd in EULA book
+       cd ${WRKSRC} && rm -r ${dd} && \
+               ln -s ${PREFIX}/${DOCDIR}/${dd} \
+               ${DESTDIR}${PREFIX}/${SMATH_DIR}/${dd}
+.endfor
+       cd ${WRKSRC} && pax -rw examples ${DESTDIR}${PREFIX}/${EGDIR}/
+       cd ${WRKSRC} && rm -r examples && \
+               ln -s ${PREFIX}/${EGDIR}/examples \
+               ${DESTDIR}${PREFIX}/${SMATH_DIR}/examples
+.for dd in SMath.*.dll SMathStudio_Desktop.exe entries lang \
+       plugins representation snippets
+       cd ${WRKSRC} && pax -rw ${dd} ${DESTDIR}${PREFIX}/${SMATH_DIR}/
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r ec29c82fa052 -r bbc89fe688a6 math/smath-studio/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/smath-studio/PLIST   Tue Jun 29 14:28:12 2021 +0000
@@ -0,0 +1,131 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/29 14:28:12 hauke Exp $
+bin/smath-studio
+libexec/smath-studio/EULA
+libexec/smath-studio/SMath.Controls.dll
+libexec/smath-studio/SMath.Drawing.dll
+libexec/smath-studio/SMath.Environment.dll
+libexec/smath-studio/SMath.Manager.dll
+libexec/smath-studio/SMath.Math.Numeric.dll
+libexec/smath-studio/SMath.Math.Symbolic.dll
+libexec/smath-studio/SMath.UI.dll
+libexec/smath-studio/SMathStudio_Desktop.exe
+libexec/smath-studio/book
+libexec/smath-studio/entries/Constants.xml
+libexec/smath-studio/entries/Units.xml
+libexec/smath-studio/examples
+libexec/smath-studio/lang/Text_ARA.lang
+libexec/smath-studio/lang/Text_BEL.lang
+libexec/smath-studio/lang/Text_BEN.lang
+libexec/smath-studio/lang/Text_BUL.lang
+libexec/smath-studio/lang/Text_CAT.lang
+libexec/smath-studio/lang/Text_CHS.lang
+libexec/smath-studio/lang/Text_CHT.lang
+libexec/smath-studio/lang/Text_CPP.lang
+libexec/smath-studio/lang/Text_CZE.lang
+libexec/smath-studio/lang/Text_DAN.lang
+libexec/smath-studio/lang/Text_DUT.lang
+libexec/smath-studio/lang/Text_ENG.lang
+libexec/smath-studio/lang/Text_EPO.lang
+libexec/smath-studio/lang/Text_FAS.lang
+libexec/smath-studio/lang/Text_FIN.lang
+libexec/smath-studio/lang/Text_FRE.lang
+libexec/smath-studio/lang/Text_GER.lang
+libexec/smath-studio/lang/Text_GRE.lang
+libexec/smath-studio/lang/Text_HEB.lang
+libexec/smath-studio/lang/Text_HIN.lang
+libexec/smath-studio/lang/Text_HUN.lang
+libexec/smath-studio/lang/Text_IND.lang
+libexec/smath-studio/lang/Text_ITA.lang
+libexec/smath-studio/lang/Text_JPN.lang
+libexec/smath-studio/lang/Text_KOR.lang
+libexec/smath-studio/lang/Text_LAV.lang
+libexec/smath-studio/lang/Text_LTH.lang
+libexec/smath-studio/lang/Text_NOR.lang
+libexec/smath-studio/lang/Text_POL.lang
+libexec/smath-studio/lang/Text_POR.lang
+libexec/smath-studio/lang/Text_RON.lang
+libexec/smath-studio/lang/Text_RUS.lang
+libexec/smath-studio/lang/Text_SCC.lang
+libexec/smath-studio/lang/Text_SCR.lang
+libexec/smath-studio/lang/Text_SLK.lang
+libexec/smath-studio/lang/Text_SLV.lang
+libexec/smath-studio/lang/Text_SPA.lang
+libexec/smath-studio/lang/Text_SRP.lang
+libexec/smath-studio/lang/Text_SWA.lang
+libexec/smath-studio/lang/Text_SWE.lang
+libexec/smath-studio/lang/Text_THA.lang
+libexec/smath-studio/lang/Text_TUR.lang
+libexec/smath-studio/lang/Text_UKR.lang
+libexec/smath-studio/lang/Text_VIE.lang
+libexec/smath-studio/plugins/AreaRegion.dll
+libexec/smath-studio/plugins/HTMLFileType.dll
+libexec/smath-studio/plugins/ImageFileType.dll
+libexec/smath-studio/plugins/MathRegion.dll
+libexec/smath-studio/plugins/PictureRegion.dll
+libexec/smath-studio/plugins/PlotRegion.dll
+libexec/smath-studio/plugins/SMathFileType.dll
+libexec/smath-studio/plugins/SpecialFunctions.dll
+libexec/smath-studio/plugins/StandardToolboxButtons.dll
+libexec/smath-studio/plugins/TextRegion.dll
+libexec/smath-studio/plugins/ViewerFileType.dll
+libexec/smath-studio/plugins/XMCDFileType.dll
+libexec/smath-studio/representation/settings.prop
+libexec/smath-studio/snippets/DegreeAngles.sm
+libexec/smath-studio/snippets/GradAngles.sm
+share/doc/smath-studio/EULA/SMathStudio_EULA_ENG.rtf
+share/doc/smath-studio/EULA/SMathStudio_EULA_RUS.rtf
+share/doc/smath-studio/book/1.sm
+share/doc/smath-studio/book/10.sm
+share/doc/smath-studio/book/10_1.sm
+share/doc/smath-studio/book/10_2.sm
+share/doc/smath-studio/book/13.sm
+share/doc/smath-studio/book/13_1.sm
+share/doc/smath-studio/book/13_2.sm
+share/doc/smath-studio/book/16.sm
+share/doc/smath-studio/book/16_4.sm
+share/doc/smath-studio/book/1_1.sm
+share/doc/smath-studio/book/1_2.sm
+share/doc/smath-studio/book/1_3.sm
+share/doc/smath-studio/book/1_5.sm
+share/doc/smath-studio/book/1_7.sm
+share/doc/smath-studio/book/4.sm
+share/doc/smath-studio/book/4_1.sm
+share/doc/smath-studio/book/4_10.sm
+share/doc/smath-studio/book/4_11.sm
+share/doc/smath-studio/book/4_12.sm
+share/doc/smath-studio/book/4_13.sm
+share/doc/smath-studio/book/4_14.sm
+share/doc/smath-studio/book/4_2.sm
+share/doc/smath-studio/book/4_3.sm
+share/doc/smath-studio/book/4_4.sm
+share/doc/smath-studio/book/4_5.sm
+share/doc/smath-studio/book/4_6.sm
+share/doc/smath-studio/book/4_7.sm
+share/doc/smath-studio/book/4_8.sm
+share/doc/smath-studio/book/4_9.sm
+share/doc/smath-studio/book/5.sm
+share/doc/smath-studio/book/5_1.sm
+share/doc/smath-studio/book/5_2.sm
+share/doc/smath-studio/book/5_3.sm
+share/doc/smath-studio/book/9.sm
+share/doc/smath-studio/book/9_1.sm
+share/doc/smath-studio/book/9_2.sm
+share/doc/smath-studio/book/contents.sm
+share/examples/smath-studio/examples/Beam.sm
+share/examples/smath-studio/examples/ChordMethod.sm
+share/examples/smath-studio/examples/Dichotomy.sm
+share/examples/smath-studio/examples/EuclideanGCD.sm
+share/examples/smath-studio/examples/GravitationAcceleration.sm
+share/examples/smath-studio/examples/HermitePolynomials.sm
+share/examples/smath-studio/examples/Hessian.sm
+share/examples/smath-studio/examples/Jacobian.sm
+share/examples/smath-studio/examples/LaguerrePolynomials.sm
+share/examples/smath-studio/examples/LegendrePolynomials.sm
+share/examples/smath-studio/examples/MaclaurinSeries.sm
+share/examples/smath-studio/examples/Newton.sm
+share/examples/smath-studio/examples/PlanetaryGear.sm
+share/examples/smath-studio/examples/RomanNumerals.sm
+share/examples/smath-studio/examples/RungeKutta5.sm
+share/examples/smath-studio/examples/Simpson.sm
+share/examples/smath-studio/examples/SylvesterFormula.sm
+share/examples/smath-studio/examples/Thomas.sm
diff -r ec29c82fa052 -r bbc89fe688a6 math/smath-studio/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/smath-studio/distinfo        Tue Jun 29 14:28:12 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/06/29 14:28:12 hauke Exp $
+
+SHA1 (SMathStudioDesktop.0_99_7822.Mono.tar.gz) = c67c6217ea8a7038b3ad72b04ef4a905adc9f93b
+RMD160 (SMathStudioDesktop.0_99_7822.Mono.tar.gz) = f49b22f930770c104593e230835f0b97ad951433
+SHA512 (SMathStudioDesktop.0_99_7822.Mono.tar.gz) = ac86f88a13157037350b9cd33aef06daa00f8ef4eb3c4659f9d8db033963d717450305e87dfaaf79cedf834c83bf386261545d371307e18202f0b4eb817062e2
+Size (SMathStudioDesktop.0_99_7822.Mono.tar.gz) = 1544455 bytes
diff -r ec29c82fa052 -r bbc89fe688a6 math/smath-studio/files/smath-studio.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/smath-studio/files/smath-studio.sh   Tue Jun 29 14:28:12 2021 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Start SMath Studio with mono runtime
+#
+# $NetBSD: smath-studio.sh,v 1.1 2021/06/29 14:28:12 hauke Exp $
+
+exec @PREFIX@/bin/mono "@PREFIX@/@SMATH_DIR@/SMathStudio_Desktop.exe" "$@"



Home | Main Index | Thread Index | Old Index