summaryrefslogtreecommitdiff
path: root/graphics/scidavis
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-12-11 20:13:49 +0000
committerdrochner <drochner@pkgsrc.org>2009-12-11 20:13:49 +0000
commita6ebc8eed58781910f907bc3e075a124735fa65d (patch)
tree29be395932536adecd81d95532ee22f5572ea3ba /graphics/scidavis
parent725a6108e09cf3d5c28eab26c52ce58e22abf0b7 (diff)
downloadpkgsrc-a6ebc8eed58781910f907bc3e075a124735fa65d.tar.gz
add scidavis-0.2.3, another data analysis and visualization package
Diffstat (limited to 'graphics/scidavis')
-rw-r--r--graphics/scidavis/DESCR2
-rw-r--r--graphics/scidavis/Makefile29
-rw-r--r--graphics/scidavis/PLIST21
-rw-r--r--graphics/scidavis/distinfo6
-rw-r--r--graphics/scidavis/patches/patch-aa59
5 files changed, 117 insertions, 0 deletions
diff --git a/graphics/scidavis/DESCR b/graphics/scidavis/DESCR
new file mode 100644
index 00000000000..bc2ae6acef1
--- /dev/null
+++ b/graphics/scidavis/DESCR
@@ -0,0 +1,2 @@
+SciDAVis is a free application for _Sci_entific _D_ata _A_nalysis
+and _Vis_ualization.
diff --git a/graphics/scidavis/Makefile b/graphics/scidavis/Makefile
new file mode 100644
index 00000000000..6ee87fc65cd
--- /dev/null
+++ b/graphics/scidavis/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/12/11 20:13:49 drochner Exp $
+#
+
+DISTNAME= scidavis-0.2.3
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scidavis/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://scidavis.sourceforge.net/
+COMMENT= Data analysis and visualization package
+
+USE_LANGUAGES= c c++
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
+
+do-configure:
+ cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake
+
+# XXX patched out for now
+#.include "../../lang/python/extension.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../math/muparser/buildlink3.mk"
+.include "../../math/gsl/buildlink3.mk"
+.include "../../x11/qwt-qt4/buildlink3.mk"
+.include "../../x11/qwtplot3d-qt4/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/scidavis/PLIST b/graphics/scidavis/PLIST
new file mode 100644
index 00000000000..b4ad905a7f2
--- /dev/null
+++ b/graphics/scidavis/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/11 20:13:49 drochner Exp $
+bin/scidavis
+share/applications/scidavis.desktop
+share/doc/scidavis/CHANGES
+share/doc/scidavis/INSTALL.html
+share/doc/scidavis/README
+share/doc/scidavis/gpl.txt
+share/doc/scidavis/scidavis-logo.png
+share/doc/scidavis/scidavis.css
+share/icons/hicolor/128x128/apps/scidavis.png
+share/icons/hicolor/16x16/apps/scidavis.png
+share/icons/hicolor/22x22/apps/scidavis.png
+share/icons/hicolor/32x32/apps/scidavis.png
+share/icons/hicolor/48x48/apps/scidavis.png
+share/icons/hicolor/64x64/apps/scidavis.png
+share/icons/hicolor/scalable/apps/scidavis.svg
+share/icons/locolor/16x16/apps/scidavis.png
+share/icons/locolor/22x22/apps/scidavis.png
+share/icons/locolor/32x32/apps/scidavis.png
+share/mime/packages/scidavis.xml
+share/mimelnk/application/x-sciprj.desktop
diff --git a/graphics/scidavis/distinfo b/graphics/scidavis/distinfo
new file mode 100644
index 00000000000..ab3e57bbe4e
--- /dev/null
+++ b/graphics/scidavis/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/12/11 20:13:49 drochner Exp $
+
+SHA1 (scidavis-0.2.3.tar.bz2) = 410e84d894c6cecca0b2c657709f81320eae022b
+RMD160 (scidavis-0.2.3.tar.bz2) = ca3c3232af443bcf3c0a254ad2c1aea4cb1b1c2a
+Size (scidavis-0.2.3.tar.bz2) = 1309491 bytes
+SHA1 (patch-aa) = 15384aa50605170fcbc7294bcbfc20ff382cb24a
diff --git a/graphics/scidavis/patches/patch-aa b/graphics/scidavis/patches/patch-aa
new file mode 100644
index 00000000000..c5d488e7161
--- /dev/null
+++ b/graphics/scidavis/patches/patch-aa
@@ -0,0 +1,59 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/12/11 20:13:49 drochner Exp $
+
+--- scidavis/scidavis.pro.orig 2009-06-28 09:35:12.000000000 +0000
++++ scidavis/scidavis.pro
+@@ -25,15 +25,15 @@ exists(/usr/bin/lupdate-qt4) {
+ LRELEASE_BIN = lrelease-qt4
+ } else {
+ # anything else
+- LUPDATE_BIN = lupdate
+- LRELEASE_BIN = lrelease
++ LUPDATE_BIN = $$(QTDIR)/bin/lupdate
++ LRELEASE_BIN = $$(QTDIR)/bin/lrelease
+ }
+
+ ### 64 Linux only suffix
+ linux-g++-64: libsuff = 64
+
+ ### where to install
+-unix: INSTALLBASE = /usr # this is what is called "prefix" when using GNU autotools
++unix: INSTALLBASE = $$(PREFIX) # this is what is called "prefix" when using GNU autotools
+ win32: INSTALLBASE = c:/scidavis
+ unix: target.path = "$$INSTALLBASE/bin" # where to install the binary on Linux/MacOS X
+ win32: target.path = "$$INSTALLBASE" # where to install the exe on Windows
+@@ -60,7 +60,7 @@ win32: pythonutils.path = $$INSTALLBASE
+ ### building without muParser does not work yet (but will in a future version)
+ include( muparser.pri )
+ ### comment out the following line to deactivate Python scripting support
+-include( python.pri )
++#include( python.pri )
+
+ ################### start of liborigin block
+ ############ liborigin support has been discontinued due to the lack
+@@ -82,18 +82,18 @@ include( python.pri )
+ ### are compiled against Qt4), dynamically against everything else.
+ #############################################################################
+
+-unix:INCLUDEPATH += ../3rdparty/qwtplot3d/include
+-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
++#unix:INCLUDEPATH += ../3rdparty/qwtplot3d/include
++unix:LIBS += $$(LOCALBASE)/lib/libqwtplot3d.la
+
+-unix:INCLUDEPATH += ../3rdparty/qwt/src
+-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
++#unix:INCLUDEPATH += ../3rdparty/qwt/src
++unix:LIBS += $$(LOCALBASE)/lib/libqwt.la
+
+-unix:LIBS += -L/usr/lib$${libsuff}
++#unix:LIBS += -L/usr/lib$${libsuff}
+ unix:LIBS += -lgsl -lgslcblas -lz
+ ### muparser 1.30 does not compile as a shared lib on Linux
+-unix:LIBS += -L/usr/local/lib$${libsuff}
+-unix:LIBS += /usr/local/lib/libmuparser.a
+-unix:INCLUDEPATH += /usr/local/include
++#unix:LIBS += -L/usr/local/lib$${libsuff}
++unix:LIBS += -L$$(LOCALBASE)/lib -lmuparser
++#unix:INCLUDEPATH += /usr/local/include
+
+ #############################################################################
+ ### Link everything dynamically