summaryrefslogtreecommitdiff
path: root/math/qalculate
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-06-07 09:01:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-06-07 09:01:36 +0000
commitf212fd9320ba899da97c829f8dbe16635e25009a (patch)
treeb44956c9aaa22878c450ae437cec367edb133eaf /math/qalculate
parent- update to 5.44 (diff)
- Update qalculate to 0.8.0, which splits out libqalculate
PR: ports/81832 Submitted by: Sergey Akifyev <asa@agava.com> (maintainer)
Notes
Notes: svn path=/head/; revision=136977
Diffstat (limited to 'math/qalculate')
-rw-r--r--math/qalculate/Makefile19
-rw-r--r--math/qalculate/distinfo4
-rw-r--r--math/qalculate/files/extra-patch-FreeBSD411
-rw-r--r--math/qalculate/files/patch-src_libqalculate_Calculator.cc11
-rw-r--r--math/qalculate/files/patch-src_qalc.cc11
-rw-r--r--math/qalculate/pkg-descr2
-rw-r--r--math/qalculate/pkg-plist148
7 files changed, 67 insertions, 139 deletions
diff --git a/math/qalculate/Makefile b/math/qalculate/Makefile
index 372848efcd3d..331d3a5845c4 100644
--- a/math/qalculate/Makefile
+++ b/math/qalculate/Makefile
@@ -6,17 +6,16 @@
#
PORTNAME= qalculate
-PORTVERSION= 0.7.2
-PORTREVISION= 1
+PORTVERSION= 0.8.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-#DISTNAME= ${PORTNAME}-gtk-${PORTVERSION}
+DISTNAME= ${PORTNAME}-gtk-${PORTVERSION}
MAINTAINER= asa@agava.com
COMMENT= Very powerful GUI calculator for GNOME
-LIB_DEPENDS= cln.3:${PORTSDIR}/math/cln
+LIB_DEPENDS= qalculate.0:${PORTSDIR}/math/libqalculate
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
wget:${PORTSDIR}/ftp/wget
@@ -25,15 +24,5 @@ USE_GMAKE= yes
USE_INC_LIBTOOL_VER=15
USE_GNOME= gnomeprefix gnomehack intlhack libglade2 libgnome
INSTALLS_OMF= yes
-INSTALLS_SHLIB= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-# cln is built with gcc 3.4 on FreeBSD 4.x
-USE_GCC= 3.4
-# in FreeBSD 4.x struct liconv does not contain int_p_cs_precedes
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-FreeBSD4
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/qalculate/distinfo b/math/qalculate/distinfo
index f4ac87b06f3d..e637b4a34587 100644
--- a/math/qalculate/distinfo
+++ b/math/qalculate/distinfo
@@ -1,2 +1,2 @@
-MD5 (qalculate-0.7.2.tar.gz) = 75af1f213829fb0905ce6784ee0e1017
-SIZE (qalculate-0.7.2.tar.gz) = 1504796
+MD5 (qalculate-gtk-0.8.0.tar.gz) = baf8571de19dbcc41ef22cd8b4bab24b
+SIZE (qalculate-gtk-0.8.0.tar.gz) = 1194828
diff --git a/math/qalculate/files/extra-patch-FreeBSD4 b/math/qalculate/files/extra-patch-FreeBSD4
deleted file mode 100644
index 7c28930a8593..000000000000
--- a/math/qalculate/files/extra-patch-FreeBSD4
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/libqalculate/Calculator.cc.orig Sun Aug 29 17:22:28 2004
-+++ src/libqalculate/Calculator.cc Sun Aug 29 17:27:37 2004
-@@ -225,7 +225,7 @@
-
- saved_locale = strdup(setlocale(LC_NUMERIC, NULL));
- struct lconv *lc = localeconv();
-- place_currency_code_before = lc->int_p_cs_precedes;
-+ place_currency_code_before = lc->p_cs_precedes;
- place_currency_sign_before = lc->p_cs_precedes;
- setlocale(LC_NUMERIC, "C");
- ILLEGAL_IN_NAMES = DOT_S + RESERVED OPERATORS SPACES PARENTHESISS VECTOR_WRAPS;
diff --git a/math/qalculate/files/patch-src_libqalculate_Calculator.cc b/math/qalculate/files/patch-src_libqalculate_Calculator.cc
deleted file mode 100644
index 7bd59d32a76a..000000000000
--- a/math/qalculate/files/patch-src_libqalculate_Calculator.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/libqalculate/Calculator.cc.orig Fri Mar 11 14:36:10 2005
-+++ src/libqalculate/Calculator.cc Fri Mar 11 14:36:17 2005
-@@ -33,7 +33,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <dirent.h>
--#include <wait.h>
-+#include <sys/wait.h>
- #include <queue>
- #include <glib.h>
-
diff --git a/math/qalculate/files/patch-src_qalc.cc b/math/qalculate/files/patch-src_qalc.cc
deleted file mode 100644
index 6da583f1b7fb..000000000000
--- a/math/qalculate/files/patch-src_qalc.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/qalc.cc.orig Fri Mar 11 14:50:18 2005
-+++ src/qalc.cc Fri Mar 11 14:50:31 2005
-@@ -16,7 +16,7 @@
- #include <time.h>
- #include <pthread.h>
- #include <dirent.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include <stdio.h>
- #include <vector>
- #include <glib.h>
diff --git a/math/qalculate/pkg-descr b/math/qalculate/pkg-descr
index 45ee2936fc83..00d54745042a 100644
--- a/math/qalculate/pkg-descr
+++ b/math/qalculate/pkg-descr
@@ -3,4 +3,6 @@ use but with much power and versatility underneath. Features include
customizable functions, units, arbitrary precision, plotting, and
a user-friendly interface.
+This package includes libqalculate - Qalculate! backend library
+
WWW: http://qalculate.sourceforge.net
diff --git a/math/qalculate/pkg-plist b/math/qalculate/pkg-plist
index 08098802b302..81d5d2a7ea0a 100644
--- a/math/qalculate/pkg-plist
+++ b/math/qalculate/pkg-plist
@@ -1,91 +1,61 @@
-bin/qalc
bin/qalculate
bin/qalculate-gtk
-include/libqalculate/Function.h
-include/libqalculate/Calculator.h
-include/libqalculate/DataSet.h
-include/libqalculate/Variable.h
-include/libqalculate/ExpressionItem.h
-include/libqalculate/Number.h
-include/libqalculate/MathStructure.h
-include/libqalculate/Prefix.h
-include/libqalculate/util.h
-include/libqalculate/includes.h
-include/libqalculate/Unit.h
-include/libqalculate/BuiltinFunctions.h
-include/libqalculate/qalculate.h
-lib/libqalculate.so.0
-lib/libqalculate.so
-lib/libqalculate.la
-lib/libqalculate.a
-libdata/pkgconfig/libqalculate.pc
-share/gnome/applnk/Utilities/qalculate.desktop
-share/gnome/applications/qalculate.desktop
-share/gnome/help/qalculate/C/appendixa.xml
-share/gnome/help/qalculate/C/appendixb.xml
-share/gnome/help/qalculate/C/appendixc.xml
-share/gnome/help/qalculate/C/legal.xml
-share/gnome/help/qalculate/C/qalculate.xml
-share/gnome/help/qalculate/C/figures/calculation-history.png
-share/gnome/help/qalculate/C/figures/calculator-buttons-screen.png
-share/gnome/help/qalculate/C/figures/calculator-buttons.png
-share/gnome/help/qalculate/C/figures/completion.png
-share/gnome/help/qalculate/C/figures/convert-number-bases.png
-share/gnome/help/qalculate/C/figures/convert-unit.png
-share/gnome/help/qalculate/C/figures/edit-function.png
-share/gnome/help/qalculate/C/figures/edit-matrix.png
-share/gnome/help/qalculate/C/figures/edit-unit.png
-share/gnome/help/qalculate/C/figures/function-manager.png
-share/gnome/help/qalculate/C/figures/gnuplot.png
-share/gnome/help/qalculate/C/figures/import-csv.png
-share/gnome/help/qalculate/C/figures/insert-function-screen.png
-share/gnome/help/qalculate/C/figures/insert-function.png
-share/gnome/help/qalculate/C/figures/mainwindow-screen.png
-share/gnome/help/qalculate/C/figures/mainwindow.png
-share/gnome/help/qalculate/C/figures/plot-data.png
-share/gnome/help/qalculate/C/figures/plot-settings.png
-share/gnome/help/qalculate/C/figures/store-variable.png
-share/gnome/help/qalculate/C/figures/unit-manager.png
-share/gnome/help/qalculate/C/figures/variable-manager.png
-share/gnome/omf/qalculate/qalculate-C.omf
-share/gnome/qalculate/glade/about.glade
-share/gnome/qalculate/glade/argumentrules.glade
-share/gnome/qalculate/glade/csvexport.glade
-share/gnome/qalculate/glade/csvimport.glade
-share/gnome/qalculate/glade/datasetedit.glade
-share/gnome/qalculate/glade/datasets.glade
-share/gnome/qalculate/glade/decimals.glade
-share/gnome/qalculate/glade/functionedit.glade
-share/gnome/qalculate/glade/functions.glade
-share/gnome/qalculate/glade/main.glade
-share/gnome/qalculate/glade/matrixedit.glade
-share/gnome/qalculate/glade/namesedit.glade
-share/gnome/qalculate/glade/nbases.glade
-share/gnome/qalculate/glade/nbexpression.glade
-share/gnome/qalculate/glade/periodictable.glade
-share/gnome/qalculate/glade/plot.glade
-share/gnome/qalculate/glade/precision.glade
-share/gnome/qalculate/glade/preferences.glade
-share/gnome/qalculate/glade/unit.glade
-share/gnome/qalculate/glade/unitedit.glade
-share/gnome/qalculate/glade/units.glade
-share/gnome/qalculate/glade/unknownedit.glade
-share/gnome/qalculate/glade/variableedit.glade
-share/gnome/qalculate/glade/variables.glade
-share/gnome/qalculate/datasets.xml
-share/gnome/qalculate/elements.xml
-share/gnome/qalculate/functions.xml
-share/gnome/qalculate/planets.xml
-share/gnome/qalculate/prefixes.xml
-share/gnome/qalculate/units.xml
-share/gnome/qalculate/variables.xml
-share/locale/sv/LC_MESSAGES/qalculate.mo
-@dirrm include/libqalculate
-@dirrm share/gnome/applnk/Utilities
-@dirrm share/gnome/applnk
-@dirrm share/gnome/help/qalculate/C/figures
-@dirrm share/gnome/help/qalculate/C
-@dirrm share/gnome/help/qalculate
-@dirrm share/gnome/omf/qalculate
-@dirrm share/gnome/qalculate/glade
-@dirrm share/gnome/qalculate
+share/locale/sv/LC_MESSAGES/qalculate-gtk.mo
+share/gnome/applications/qalculate-gtk.desktop
+share/gnome/help/qalculate-gtk/C/legal.xml
+share/gnome/help/qalculate-gtk/C/appendixa.xml
+share/gnome/help/qalculate-gtk/C/appendixb.xml
+share/gnome/help/qalculate-gtk/C/appendixc.xml
+share/gnome/help/qalculate-gtk/C/qalculate-gtk.xml
+share/gnome/help/qalculate-gtk/C/figures/calculation-history.png
+share/gnome/help/qalculate-gtk/C/figures/calculator-buttons-screen.png
+share/gnome/help/qalculate-gtk/C/figures/calculator-buttons.png
+share/gnome/help/qalculate-gtk/C/figures/completion.png
+share/gnome/help/qalculate-gtk/C/figures/convert-number-bases.png
+share/gnome/help/qalculate-gtk/C/figures/convert-unit.png
+share/gnome/help/qalculate-gtk/C/figures/edit-function.png
+share/gnome/help/qalculate-gtk/C/figures/edit-matrix.png
+share/gnome/help/qalculate-gtk/C/figures/edit-unit.png
+share/gnome/help/qalculate-gtk/C/figures/function-manager.png
+share/gnome/help/qalculate-gtk/C/figures/gnuplot.png
+share/gnome/help/qalculate-gtk/C/figures/import-csv.png
+share/gnome/help/qalculate-gtk/C/figures/insert-function-screen.png
+share/gnome/help/qalculate-gtk/C/figures/insert-function.png
+share/gnome/help/qalculate-gtk/C/figures/mainwindow-screen.png
+share/gnome/help/qalculate-gtk/C/figures/mainwindow.png
+share/gnome/help/qalculate-gtk/C/figures/plot-data.png
+share/gnome/help/qalculate-gtk/C/figures/plot-settings.png
+share/gnome/help/qalculate-gtk/C/figures/store-variable.png
+share/gnome/help/qalculate-gtk/C/figures/unit-manager.png
+share/gnome/help/qalculate-gtk/C/figures/variable-manager.png
+share/gnome/omf/qalculate-gtk/qalculate-gtk-C.omf
+share/gnome/qalculate-gtk/glade/about.glade
+share/gnome/qalculate-gtk/glade/argumentrules.glade
+share/gnome/qalculate-gtk/glade/csvexport.glade
+share/gnome/qalculate-gtk/glade/csvimport.glade
+share/gnome/qalculate-gtk/glade/datasetedit.glade
+share/gnome/qalculate-gtk/glade/datasets.glade
+share/gnome/qalculate-gtk/glade/decimals.glade
+share/gnome/qalculate-gtk/glade/functionedit.glade
+share/gnome/qalculate-gtk/glade/functions.glade
+share/gnome/qalculate-gtk/glade/main.glade
+share/gnome/qalculate-gtk/glade/matrixedit.glade
+share/gnome/qalculate-gtk/glade/namesedit.glade
+share/gnome/qalculate-gtk/glade/nbases.glade
+share/gnome/qalculate-gtk/glade/nbexpression.glade
+share/gnome/qalculate-gtk/glade/periodictable.glade
+share/gnome/qalculate-gtk/glade/plot.glade
+share/gnome/qalculate-gtk/glade/precision.glade
+share/gnome/qalculate-gtk/glade/preferences.glade
+share/gnome/qalculate-gtk/glade/unit.glade
+share/gnome/qalculate-gtk/glade/units.glade
+share/gnome/qalculate-gtk/glade/unitedit.glade
+share/gnome/qalculate-gtk/glade/unknownedit.glade
+share/gnome/qalculate-gtk/glade/variableedit.glade
+share/gnome/qalculate-gtk/glade/variables.glade
+@dirrm share/gnome/help/qalculate-gtk/C/figures
+@dirrm share/gnome/help/qalculate-gtk/C
+@dirrm share/gnome/help/qalculate-gtk
+@dirrm share/gnome/omf/qalculate-gtk
+@dirrm share/gnome/qalculate-gtk/glade
+@dirrm share/gnome/qalculate-gtk