diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-08-29 20:43:07 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-08-29 20:43:07 +0800 |
commit | 417eff86ff8142270d252e76a834ac88043eef6f (patch) | |
tree | fa1965960c0f2f1c9c5e45ec82b07eb08397949d /math/scigraphica | |
parent | 38ff42f2311e9d90a4d39630b39fe64a16a5eb43 (diff) | |
download | freebsd-ports-graphics-417eff86ff8142270d252e76a834ac88043eef6f.tar.gz freebsd-ports-graphics-417eff86ff8142270d252e76a834ac88043eef6f.tar.zst freebsd-ports-graphics-417eff86ff8142270d252e76a834ac88043eef6f.zip |
Add scigraphica - a scientific application for data analysis and technical
graphics for Gnome desktop.
Diffstat (limited to 'math/scigraphica')
-rw-r--r-- | math/scigraphica/Makefile | 42 | ||||
-rw-r--r-- | math/scigraphica/distinfo | 1 | ||||
-rw-r--r-- | math/scigraphica/files/patch-ac | 11 | ||||
-rw-r--r-- | math/scigraphica/pkg-comment | 1 | ||||
-rw-r--r-- | math/scigraphica/pkg-descr | 20 | ||||
-rw-r--r-- | math/scigraphica/pkg-plist | 49 |
6 files changed, 124 insertions, 0 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile new file mode 100644 index 00000000000..e50aea6f611 --- /dev/null +++ b/math/scigraphica/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: scigraphica +# Date created: 29 August 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= scigraphica +PORTVERSION= 0.4 +CATEGORIES= math gnome +MASTER_SITES= http://magnet.fsu.edu/~feiguin/scigraphica/src/ +DISTNAME= sg-${PORTVERSION} + +MAINTAINER= sobomax@FreeBSD.org + +BUILD_DEPENDS= python:${PORTSDIR}/lang/python +LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ + gtkextra.10:${PORTSDIR}/x11-toolkits/gtkextra \ + xml.5:${PORTSDIR}/textproc/libxml +RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \ + python:${PORTSDIR}/lang/python + +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_LIBTOOL= yes + +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + GTK_CONFIG="${GTK_CONFIG}" \ + LDFLAGS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + +.include <bsd.port.mk> diff --git a/math/scigraphica/distinfo b/math/scigraphica/distinfo new file mode 100644 index 00000000000..c55e3e6b1b2 --- /dev/null +++ b/math/scigraphica/distinfo @@ -0,0 +1 @@ +MD5 (sg-0.4.tar.gz) = f7a7faeff2942451a82e57a8b923e441 diff --git a/math/scigraphica/files/patch-ac b/math/scigraphica/files/patch-ac new file mode 100644 index 00000000000..2560b5117ef --- /dev/null +++ b/math/scigraphica/files/patch-ac @@ -0,0 +1,11 @@ +--- configure 2000/08/29 12:12:11 1.1 ++++ configure 2000/08/29 12:13:43 +@@ -3409,7 +3409,7 @@ + PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'` + if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then + PY_LIBS="python$PY_VERSION" +- PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config" ++ PY_LIB_LOC="-pthread -L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config" + array_loc=`find $PY_PREFIX/include/python$PY_VERSION/ -name arrayobject.h -printf %h` + echo arrayobject.h location: $array_loc + PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION" diff --git a/math/scigraphica/pkg-comment b/math/scigraphica/pkg-comment new file mode 100644 index 00000000000..79ce0d5b385 --- /dev/null +++ b/math/scigraphica/pkg-comment @@ -0,0 +1 @@ +A scientific application for data analysis and technical graphics diff --git a/math/scigraphica/pkg-descr b/math/scigraphica/pkg-descr new file mode 100644 index 00000000000..1232d154651 --- /dev/null +++ b/math/scigraphica/pkg-descr @@ -0,0 +1,20 @@ +SciGraphica is a scientific application for data analysis and technical +graphics. It pretends to be a clone of the popular commercial (and expensive) +application "Microcal Origin". Although it is in a very early development +stage, it fully supplies plotting features for 2D charts. The aim is to obtain +a fully-featured, cross-plattform, user-friendly, self-growing scientific +application. It is free and open-source, released under the GPL license. + +Main features: +-------------- + o You can open several worksheets and plots and work with them at the same + time. + o The plots are fully configurable using a control panel dialog. + o The look and feel is completely WYSIWYG. + o Publication quality PostScript output. + o You can interact with the plots double-clicking, dragging and moving objects + with the mouse. + o Import/Export features in XML format. + o You can insert Python expressions in the worksheets. + +WWW: http://magnet.fsu.edu/~feiguin/scigraphica/ diff --git a/math/scigraphica/pkg-plist b/math/scigraphica/pkg-plist new file mode 100644 index 00000000000..97a57a80a39 --- /dev/null +++ b/math/scigraphica/pkg-plist @@ -0,0 +1,49 @@ +bin/sga +share/gnome/apps/Applications/sg.desktop +share/gnome/pixmaps/sg/arrow.xpm +share/gnome/pixmaps/sg/arrow2.xpm +share/gnome/pixmaps/sg/arrow_down.xpm +share/gnome/pixmaps/sg/arrow_left.xpm +share/gnome/pixmaps/sg/arrow_right.xpm +share/gnome/pixmaps/sg/arrow_up.xpm +share/gnome/pixmaps/sg/autoscale.xpm +share/gnome/pixmaps/sg/bold.xpm +share/gnome/pixmaps/sg/bullet.xpm +share/gnome/pixmaps/sg/center.xpm +share/gnome/pixmaps/sg/color.xpm +share/gnome/pixmaps/sg/dennied.xpm +share/gnome/pixmaps/sg/empty.xpm +share/gnome/pixmaps/sg/error.xpm +share/gnome/pixmaps/sg/fitpage.xpm +share/gnome/pixmaps/sg/folder.xpm +share/gnome/pixmaps/sg/font.xpm +share/gnome/pixmaps/sg/font_large.xpm +share/gnome/pixmaps/sg/italic.xpm +share/gnome/pixmaps/sg/layer.xpm +share/gnome/pixmaps/sg/left.xpm +share/gnome/pixmaps/sg/logo.xpm +share/gnome/pixmaps/sg/new.xpm +share/gnome/pixmaps/sg/new_plot.xpm +share/gnome/pixmaps/sg/new_sheet.xpm +share/gnome/pixmaps/sg/open.xpm +share/gnome/pixmaps/sg/paint.xpm +share/gnome/pixmaps/sg/plot_icon.xpm +share/gnome/pixmaps/sg/plot_icon2.xpm +share/gnome/pixmaps/sg/plot_small.xpm +share/gnome/pixmaps/sg/point.xpm +share/gnome/pixmaps/sg/pointers.xpm +share/gnome/pixmaps/sg/right.xpm +share/gnome/pixmaps/sg/save.xpm +share/gnome/pixmaps/sg/save_as.xpm +share/gnome/pixmaps/sg/sg.xpm +share/gnome/pixmaps/sg/sg_icon.xpm +share/gnome/pixmaps/sg/sheet_icon.xpm +share/gnome/pixmaps/sg/sheet_icon2.xpm +share/gnome/pixmaps/sg/sorry.xpm +share/gnome/pixmaps/sg/target.xpm +share/gnome/pixmaps/sg/text.xpm +share/gnome/pixmaps/sg/warning.xpm +share/gnome/pixmaps/sg/zoom.xpm +share/gnome/pixmaps/sg/zoom_minus.xpm +share/gnome/pixmaps/sg/zoom_plus.xpm +@dirrm share/gnome/pixmaps/sg |