diff options
author | drochner <drochner> | 2010-02-03 14:05:01 +0000 |
---|---|---|
committer | drochner <drochner> | 2010-02-03 14:05:01 +0000 |
commit | 02a05fc0d131cfd3cf9a9e123db06651d0e7d787 (patch) | |
tree | b227007ce67309acb1fd1c068d203bf7dd197652 /math | |
parent | e61b1e3656c97bf2b372976eb4fc8cda2d10e8c4 (diff) | |
download | pkgsrc-02a05fc0d131cfd3cf9a9e123db06651d0e7d787.tar.gz |
add extcalc-0.9.2, another desktop calculator
(I had this in my tree for a while but found the UI too complex to
be handled intuitively. But now it appeared on a list of
"the 7 best Linux calculators", so perhaps it is just me...)
Diffstat (limited to 'math')
-rw-r--r-- | math/extcalc/DESCR | 4 | ||||
-rw-r--r-- | math/extcalc/Makefile | 24 | ||||
-rw-r--r-- | math/extcalc/PLIST | 86 | ||||
-rw-r--r-- | math/extcalc/distinfo | 7 | ||||
-rw-r--r-- | math/extcalc/patches/patch-aa | 16 | ||||
-rw-r--r-- | math/extcalc/patches/patch-ab | 10 |
6 files changed, 147 insertions, 0 deletions
diff --git a/math/extcalc/DESCR b/math/extcalc/DESCR new file mode 100644 index 00000000000..a9ea1370f1d --- /dev/null +++ b/math/extcalc/DESCR @@ -0,0 +1,4 @@ +Extcalc is a scientific graphic calculator. It can process difficult +mathmatical functions, draw graphs and work with functions. You can also +calculate tables from functions. A Script-Interpreter for programs, written +in a C-like language, is also included in Extcalc. diff --git a/math/extcalc/Makefile b/math/extcalc/Makefile new file mode 100644 index 00000000000..531348fa59f --- /dev/null +++ b/math/extcalc/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $ +# + +DISTNAME= extcalc-0.9.2 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=extcalc-linux/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://extcalc-linux.sourceforge.net/ +COMMENT= Scientific graphic calculator + +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_DIRS+= xdg-1.1 +PKG_DESTDIR_SUPPORT= user-destdir + +SUBST_CLASSES+= iconpath +SUBST_STAGE.iconpath= pre-configure +SUBST_FILES.iconpath= share/extcalc.desktop +SUBST_VARS.iconpath= PREFIX + +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/qt3-libs/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/extcalc/PLIST b/math/extcalc/PLIST new file mode 100644 index 00000000000..d3193228215 --- /dev/null +++ b/math/extcalc/PLIST @@ -0,0 +1,86 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $ +bin/extcalc +share/applications/extcalc.desktop +share/extcalc/data/angle.png +share/extcalc/data/back.png +share/extcalc/data/binary.png +share/extcalc/data/catalog.png +share/extcalc/data/circle.png +share/extcalc/data/crossproduct +share/extcalc/data/dotproduct +share/extcalc/data/editcopy.png +share/extcalc/data/editcut.png +share/extcalc/data/editdelete.png +share/extcalc/data/editpaste.png +share/extcalc/data/exec.png +share/extcalc/data/exit.png +share/extcalc/data/fileexport.png +share/extcalc/data/fileimport.png +share/extcalc/data/filenew.png +share/extcalc/data/filesaveas.png +share/extcalc/data/forward.png +share/extcalc/data/free.png +share/extcalc/data/french.qm +share/extcalc/data/german.qm +share/extcalc/data/icon22.png +share/extcalc/data/icon48.png +share/extcalc/data/license.txt +share/extcalc/data/line.png +share/extcalc/data/matrix-vector +share/extcalc/data/matrixproduct +share/extcalc/data/modified.png +share/extcalc/data/open.png +share/extcalc/data/print.png +share/extcalc/data/qt_de.qm +share/extcalc/data/qt_fr.qm +share/extcalc/data/rect.png +share/extcalc/data/redo.png +share/extcalc/data/rubber.png +share/extcalc/data/save_all.png +share/extcalc/data/scientific.png +share/extcalc/data/snake +share/extcalc/data/text.png +share/extcalc/data/undo.png +share/extcalc/data/view_remove.png +share/extcalc/data/view_top_bottom.png +share/extcalc/data/zoomin.png +share/extcalc/data/zoomout.png +share/extcalc/doc/3dgraph.jpg +share/extcalc/doc/alpha.jpg +share/extcalc/doc/analyse.jpg +share/extcalc/doc/calculator.jpg +share/extcalc/doc/catalogbutton.jpg +share/extcalc/doc/curoot.jpg +share/extcalc/doc/dev_docu.html +share/extcalc/doc/diff.jpg +share/extcalc/doc/diffbutton.jpg +share/extcalc/doc/graph.jpg +share/extcalc/doc/help_de.html +share/extcalc/doc/help_en.html +share/extcalc/doc/help_fr.html +share/extcalc/doc/integral.jpg +share/extcalc/doc/integralbutton.jpg +share/extcalc/doc/matvec.jpg +share/extcalc/doc/nroot.jpg +share/extcalc/doc/nrootbutton.jpg +share/extcalc/doc/randbutton.jpg +share/extcalc/doc/random.jpg +share/extcalc/doc/screenshot.jpg +share/extcalc/doc/scriptedit.jpg +share/extcalc/doc/scriptrun.jpg +share/extcalc/doc/setbutton.jpg +share/extcalc/doc/setvar.jpg +share/extcalc/doc/shift.jpg +share/extcalc/doc/sqrt.jpg +share/extcalc/doc/sqrtbracket.jpg +share/extcalc/doc/sqrtbutton.jpg +share/extcalc/doc/stat1.jpg +share/extcalc/doc/stat2.jpg +share/extcalc/doc/table.jpg +share/extcalc/doc/usevar.jpg +share/extcalc/icons/icon48.png +@dirrm share/extcalc/icons +@dirrm share/extcalc/doc +@dirrm share/extcalc/data +@dirrm share/extcalc +@comment in xdg-dirs: @dirrm share/applications diff --git a/math/extcalc/distinfo b/math/extcalc/distinfo new file mode 100644 index 00000000000..8a12421ae7b --- /dev/null +++ b/math/extcalc/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $ + +SHA1 (extcalc-0.9.2.tar.gz) = 96799e277578d37a8c73a8ee04812b026c6ea7e6 +RMD160 (extcalc-0.9.2.tar.gz) = 9b0922bc4f6454ada96c0c6bb85f77e6153a715f +Size (extcalc-0.9.2.tar.gz) = 1081868 bytes +SHA1 (patch-aa) = 272a39d2e616f364670afd42d11aefe5e0558c10 +SHA1 (patch-ab) = b2b504c186b4c898addb0f762c18c108063ca12f diff --git a/math/extcalc/patches/patch-aa b/math/extcalc/patches/patch-aa new file mode 100644 index 00000000000..d469183a48b --- /dev/null +++ b/math/extcalc/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $ + +--- share/Makefile.in.orig 2008-03-02 18:38:15.000000000 +0100 ++++ share/Makefile.in +@@ -153,9 +153,9 @@ target_alias = @target_alias@ + licensedir = $(datadir)/extcalc/data + icondir = $(datadir)/extcalc/data + exampledir = $(datadir)/extcalc/data +-menuicondir = /usr/share/icons ++menuicondir = $(datadir)/extcalc/icons + translationsdir = $(datadir)/extcalc/data +-applicationdir = /usr/share/applications ++applicationdir = $(prefix)/share/applications + license_DATA = license.txt + icon_DATA = icon22.png icon48.png modified.png circle.png free.png line.png open.png rect.png rubber.png text.png editcopy.png editcut.png editdelete.png editpaste.png exec.png fileexport.png fileimport.png filenew.png filesaveas.png save_all.png redo.png undo.png view_top_bottom.png angle.png binary.png scientific.png view_remove.png catalog.png print.png exit.png forward.png back.png zoomin.png zoomout.png + menuicon_DATA = icon48.png diff --git a/math/extcalc/patches/patch-ab b/math/extcalc/patches/patch-ab new file mode 100644 index 00000000000..c6960c45227 --- /dev/null +++ b/math/extcalc/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/02/03 14:05:01 drochner Exp $ + +--- share/extcalc.desktop.orig 2007-10-27 21:02:25.000000000 +0200 ++++ share/extcalc.desktop +@@ -5,4 +5,4 @@ Exec=extcalc + Terminal=false + Type=Application + Categories=Qt;Utility +-Icon=/usr/share/icons/icon48.png ++Icon=@PREFIX@/share/extcalc/icons/icon48.png |