diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 07:03:43 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 07:03:43 +0800 |
commit | 63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00 (patch) | |
tree | 1a7c4cb9c563101fbfdd47f1c0034389f8312d34 /math/scigraphica | |
parent | 363fae18ed1f97c352e334bf391808247186dcb8 (diff) | |
download | marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.tar marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.tar.gz marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.tar.bz2 marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.tar.lz marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.tar.xz marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.tar.zst marcuscom-ports-63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9265 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math/scigraphica')
-rw-r--r-- | math/scigraphica/Makefile | 45 | ||||
-rw-r--r-- | math/scigraphica/distinfo | 3 | ||||
-rw-r--r-- | math/scigraphica/files/patch-ad | 10 | ||||
-rw-r--r-- | math/scigraphica/files/patch-ag | 15 | ||||
-rw-r--r-- | math/scigraphica/files/patch-ltmain.sh | 28 | ||||
-rw-r--r-- | math/scigraphica/files/patch-src::Makefile.in | 14 | ||||
-rw-r--r-- | math/scigraphica/files/patch-src::python::pstat.py | 13 | ||||
-rw-r--r-- | math/scigraphica/files/patch-src::python::python_config.c | 18 | ||||
-rw-r--r-- | math/scigraphica/pkg-descr | 20 | ||||
-rw-r--r-- | math/scigraphica/pkg-plist | 207 |
10 files changed, 373 insertions, 0 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile new file mode 100644 index 000000000..8a8239bb2 --- /dev/null +++ b/math/scigraphica/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: scigraphica +# Date created: 29 August 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= scigraphica +PORTVERSION= 0.8.0 +PORTREVISION= 4 +CATEGORIES= math gnome +MASTER_SITES= http://scigraphica.sourceforge.net/src/ \ + ${MASTER_SITE_SOURCEFORGE} \ + http://magnet.fsu.edu/~feiguin/scigraphica/src/ +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A scientific application for data analysis and technical graphics + +BUILD_DEPENDS= ${PYNUMERIC} +LIB_DEPENDS= gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra +RUN_DEPENDS= ${PYNUMERIC} \ + ${PYTHON_SITELIBDIR}/gtk-1.2/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk + +USE_X_PREFIX= yes +USE_PERL5_BUILD=yes +USE_GMAKE= yes +USE_GNOME= yes +USE_PYTHON= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" + +.include <bsd.port.pre.mk> + +pre-patch: + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +post-install: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/scigraphica + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/scigraphica + +.include <bsd.port.post.mk> diff --git a/math/scigraphica/distinfo b/math/scigraphica/distinfo new file mode 100644 index 000000000..158dd9fce --- /dev/null +++ b/math/scigraphica/distinfo @@ -0,0 +1,3 @@ +MD5 (scigraphica-0.8.0.tar.gz) = 8527c80fe75bc4f72c14548c7a2b0b71 +SHA256 (scigraphica-0.8.0.tar.gz) = 747f45380d64c70f7e8e42fa609a6b85296fb9755ee82a081c0ddc5bfdeda881 +SIZE (scigraphica-0.8.0.tar.gz) = 841199 diff --git a/math/scigraphica/files/patch-ad b/math/scigraphica/files/patch-ad new file mode 100644 index 000000000..5565d24e2 --- /dev/null +++ b/math/scigraphica/files/patch-ad @@ -0,0 +1,10 @@ +--- zvt/subshell.c 2000/08/31 07:45:08 1.1 ++++ zvt/subshell.c 2000/08/31 07:46:53 +@@ -24,6 +24,7 @@ + #include <sys/time.h> + #include <sys/resource.h> + #include <sys/stat.h> ++#include <sys/param.h> + #include <limits.h> + #include <unistd.h> + #include <string.h> diff --git a/math/scigraphica/files/patch-ag b/math/scigraphica/files/patch-ag new file mode 100644 index 000000000..efc43e10b --- /dev/null +++ b/math/scigraphica/files/patch-ag @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- sg.desktop.orig Fri Nov 24 21:46:09 2000 ++++ sg.desktop Wed Dec 5 12:40:32 2001 +@@ -1,7 +1,7 @@ + [Desktop Entry] + Name=SciGraphica + Comment=Data Plotting and Visualization +-Exec=sga +-Icon=sg_icon.xpm ++Exec=scigraphica ++Icon=scigraphica/sg_icon.xpm + Terminal=0 + Type=Application diff --git a/math/scigraphica/files/patch-ltmain.sh b/math/scigraphica/files/patch-ltmain.sh new file mode 100644 index 000000000..98cb05e4d --- /dev/null +++ b/math/scigraphica/files/patch-ltmain.sh @@ -0,0 +1,28 @@ + +$FreeBSD$ + +--- ltmain.sh 2001/08/27 09:51:26 1.1 ++++ ltmain.sh 2001/08/27 09:51:42 +@@ -2408,6 +2408,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4175,10 +4178,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/math/scigraphica/files/patch-src::Makefile.in b/math/scigraphica/files/patch-src::Makefile.in new file mode 100644 index 000000000..b81e93782 --- /dev/null +++ b/math/scigraphica/files/patch-src::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/Makefile.in.orig Wed Dec 5 11:13:00 2001 ++++ src/Makefile.in Wed Dec 5 11:14:40 2001 +@@ -148,7 +148,7 @@ + INCLUDES = -Ipython $(GTK_CFLAGS) $(GTK_EXTRA_CFLAGS) $(XML_CFLAGS) $(PY_CFLAGS) $(BONOBO_CFLAGS) $(OAF_CFLAGS) $(LIBART_CFLAGS) $(GNOME_PRINT_CFLAGS) + + +-scigraphica_LDADD = -L./python python/libpint.a $(GTK_LIBS) $(GTK_EXTRA_LIBS) $(XML_LIBS) $(BONOBO_LIBS) $(OAF_LIBS) -L$(PY_LIB_LOC)/config -l$(PY_LIBS) $(PY_EXTRA_LIBS) $(UTIL_LIBS) $(READLINE_LIB) $(LIBART_LIBS) $(GNOME_PRINT_LIBS) ++scigraphica_LDADD = -L./python python/libpint.a $(GTK_LIBS) $(GTK_EXTRA_LIBS) $(XML_LIBS) $(BONOBO_LIBS) $(OAF_LIBS) -L$(PY_LIB_LOC)/config $(PTHREAD_LIBS) -l$(PY_LIBS) $(PY_EXTRA_LIBS) $(UTIL_LIBS) $(READLINE_LIB) $(LIBART_LIBS) $(GNOME_PRINT_LIBS) + + + LIBS = @LIBS@ diff --git a/math/scigraphica/files/patch-src::python::pstat.py b/math/scigraphica/files/patch-src::python::pstat.py new file mode 100644 index 000000000..8c3c32831 --- /dev/null +++ b/math/scigraphica/files/patch-src::python::pstat.py @@ -0,0 +1,13 @@ +--- src/python/pstat.py.orig Wed Aug 20 18:00:12 2003 ++++ src/python/pstat.py Wed Aug 20 18:00:32 2003 +@@ -214,8 +214,8 @@ + index = col + column = abut(column,map(lambda x: x[index], listoflists)) + elif type(cnums) == StringType: # if an 'x[3:]' type expr. +- execstring = 'column = map(lambda x: x'+cnums+', listoflists)' +- exec(execstring) ++ execstring = 'map(lambda x: x'+cnums+', listoflists)' ++ column = eval(execstring) + else: # else it's just 1 col to get + index = cnums + column = map(lambda x: x[index], listoflists) diff --git a/math/scigraphica/files/patch-src::python::python_config.c b/math/scigraphica/files/patch-src::python::python_config.c new file mode 100644 index 000000000..0300aee8d --- /dev/null +++ b/math/scigraphica/files/patch-src::python::python_config.c @@ -0,0 +1,18 @@ +--- src/python/python_config.c.orig Mon Mar 7 22:00:46 2005 ++++ src/python/python_config.c Mon Mar 7 22:00:53 2005 +@@ -236,6 +236,7 @@ + } + break; + default: ++ break; /* do nothing */; + } + } + #ifdef WITH_GNOME +@@ -610,6 +611,7 @@ + break; + + default: ++ break;/* do nothing */; + } + } + diff --git a/math/scigraphica/pkg-descr b/math/scigraphica/pkg-descr new file mode 100644 index 000000000..2cd4f421f --- /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://scigraphica.sourceforge.net/ diff --git a/math/scigraphica/pkg-plist b/math/scigraphica/pkg-plist new file mode 100644 index 000000000..f6118d39c --- /dev/null +++ b/math/scigraphica/pkg-plist @@ -0,0 +1,207 @@ +bin/scigraphica +share/apps/Applications/sg.desktop +share/gnome/help/scigraphica/C/FAQ.html +share/gnome/help/scigraphica/C/Introduction.html +share/gnome/help/scigraphica/C/Modules-1.html +share/gnome/help/scigraphica/C/Modules-2.html +share/gnome/help/scigraphica/C/Modules.html +share/gnome/help/scigraphica/C/Tutorial.html +share/gnome/help/scigraphica/C/UserGuide.html +share/gnome/help/scigraphica/C/topic.dat +share/pixmaps/scigraphica/2d_small.xpm +share/pixmaps/scigraphica/3d_small.xpm +share/pixmaps/scigraphica/about_small.xpm +share/pixmaps/scigraphica/add_column.xpm +share/pixmaps/scigraphica/arrange.xpm +share/pixmaps/scigraphica/arrow.xpm +share/pixmaps/scigraphica/arrow2.xpm +share/pixmaps/scigraphica/arrow_down.xpm +share/pixmaps/scigraphica/arrow_left.xpm +share/pixmaps/scigraphica/arrow_right.xpm +share/pixmaps/scigraphica/arrow_up.xpm +share/pixmaps/scigraphica/as.xpm +share/pixmaps/scigraphica/autoscale.xpm +share/pixmaps/scigraphica/bold.xpm +share/pixmaps/scigraphica/book_small.xpm +share/pixmaps/scigraphica/bullet.xpm +share/pixmaps/scigraphica/button_ok.xpm +share/pixmaps/scigraphica/color.xpm +share/pixmaps/scigraphica/control.xpm +share/pixmaps/scigraphica/copy.xpm +share/pixmaps/scigraphica/cut.xpm +share/pixmaps/scigraphica/dennied.xpm +share/pixmaps/scigraphica/empty.xpm +share/pixmaps/scigraphica/error.xpm +share/pixmaps/scigraphica/exec_small.xpm +share/pixmaps/scigraphica/exit_small.xpm +share/pixmaps/scigraphica/eye.xpm +share/pixmaps/scigraphica/fit5.xpm +share/pixmaps/scigraphica/fit_page.xpm +share/pixmaps/scigraphica/fitpage.xpm +share/pixmaps/scigraphica/folder.xpm +share/pixmaps/scigraphica/font.xpm +share/pixmaps/scigraphica/function_small.xpm +share/pixmaps/scigraphica/g_2dlayer.xpm +share/pixmaps/scigraphica/g_3dcontour.xpm +share/pixmaps/scigraphica/g_3dlayer.xpm +share/pixmaps/scigraphica/g_bars.xpm +share/pixmaps/scigraphica/g_boxes.xpm +share/pixmaps/scigraphica/g_bubbles.xpm +share/pixmaps/scigraphica/g_bubbles3d.xpm +share/pixmaps/scigraphica/g_colors.xpm +share/pixmaps/scigraphica/g_colors3d.xpm +share/pixmaps/scigraphica/g_contour.xpm +share/pixmaps/scigraphica/g_csurface.xpm +share/pixmaps/scigraphica/g_density.xpm +share/pixmaps/scigraphica/g_flux3d.xpm +share/pixmaps/scigraphica/g_function.xpm +share/pixmaps/scigraphica/g_hbars.xpm +share/pixmaps/scigraphica/g_hbox.xpm +share/pixmaps/scigraphica/g_impulses.xpm +share/pixmaps/scigraphica/g_lines.xpm +share/pixmaps/scigraphica/g_lpoints.xpm +share/pixmaps/scigraphica/g_python.xpm +share/pixmaps/scigraphica/g_scatter.xpm +share/pixmaps/scigraphica/g_scatter3d.xpm +share/pixmaps/scigraphica/g_surface.xpm +share/pixmaps/scigraphica/g_vectors.xpm +share/pixmaps/scigraphica/italic.xpm +share/pixmaps/scigraphica/layer.xpm +share/pixmaps/scigraphica/layer_control.xpm +share/pixmaps/scigraphica/logo.xpm +share/pixmaps/scigraphica/markers.xpm +share/pixmaps/scigraphica/matrix_icon.xpm +share/pixmaps/scigraphica/new.xpm +share/pixmaps/scigraphica/new_2d.xpm +share/pixmaps/scigraphica/new_2d_small.xpm +share/pixmaps/scigraphica/new_3d.xpm +share/pixmaps/scigraphica/new_3d_small.xpm +share/pixmaps/scigraphica/new_function.xpm +share/pixmaps/scigraphica/new_plot.xpm +share/pixmaps/scigraphica/new_polar.xpm +share/pixmaps/scigraphica/new_polar_small.xpm +share/pixmaps/scigraphica/new_sheet.xpm +share/pixmaps/scigraphica/new_small.xpm +share/pixmaps/scigraphica/open.xpm +share/pixmaps/scigraphica/open_small.xpm +share/pixmaps/scigraphica/paint.xpm +share/pixmaps/scigraphica/paste.xpm +share/pixmaps/scigraphica/pixmaps.h +share/pixmaps/scigraphica/plot_icon.xpm +share/pixmaps/scigraphica/plot_icon2.xpm +share/pixmaps/scigraphica/plot_small.xpm +share/pixmaps/scigraphica/point.xpm +share/pixmaps/scigraphica/pointers.xpm +share/pixmaps/scigraphica/polar_small.xpm +share/pixmaps/scigraphica/preferences_small.xpm +share/pixmaps/scigraphica/print.xpm +share/pixmaps/scigraphica/python_small.xpm +share/pixmaps/scigraphica/reload.xpm +share/pixmaps/scigraphica/reset.xpm +share/pixmaps/scigraphica/rotate_x.xpm +share/pixmaps/scigraphica/rotate_y.xpm +share/pixmaps/scigraphica/rotate_z.xpm +share/pixmaps/scigraphica/save.xpm +share/pixmaps/scigraphica/save_as.xpm +share/pixmaps/scigraphica/save_as_small.xpm +share/pixmaps/scigraphica/save_small.xpm +share/pixmaps/scigraphica/set_column.xpm +share/pixmaps/scigraphica/sg.xpm +share/pixmaps/scigraphica/sg_icon.xpm +share/pixmaps/scigraphica/sg_small.xpm +share/pixmaps/scigraphica/sheet_icon.xpm +share/pixmaps/scigraphica/sheet_icon2.xpm +share/pixmaps/scigraphica/sheet_small.xpm +share/pixmaps/scigraphica/sorry.xpm +share/pixmaps/scigraphica/stock_button_apply.xpm +share/pixmaps/scigraphica/stock_button_cancel.xpm +share/pixmaps/scigraphica/stock_button_close.xpm +share/pixmaps/scigraphica/stock_button_no.xpm +share/pixmaps/scigraphica/stock_button_ok.xpm +share/pixmaps/scigraphica/stock_button_yes.xpm +share/pixmaps/scigraphica/stock_down_arrow.xpm +share/pixmaps/scigraphica/stock_font.xpm +share/pixmaps/scigraphica/stock_help.xpm +share/pixmaps/scigraphica/stock_left_arrow.xpm +share/pixmaps/scigraphica/stock_open.xpm +share/pixmaps/scigraphica/stock_pixmaps.h +share/pixmaps/scigraphica/stock_right_arrow.xpm +share/pixmaps/scigraphica/stock_up_arrow.xpm +share/pixmaps/scigraphica/symbol_circle.xpm +share/pixmaps/scigraphica/symbol_cross.xpm +share/pixmaps/scigraphica/symbol_diamond.xpm +share/pixmaps/scigraphica/symbol_dntriangle.xpm +share/pixmaps/scigraphica/symbol_dot.xpm +share/pixmaps/scigraphica/symbol_impulse.xpm +share/pixmaps/scigraphica/symbol_ltriangle.xpm +share/pixmaps/scigraphica/symbol_none.xpm +share/pixmaps/scigraphica/symbol_plus.xpm +share/pixmaps/scigraphica/symbol_rtriangle.xpm +share/pixmaps/scigraphica/symbol_square.xpm +share/pixmaps/scigraphica/symbol_star.xpm +share/pixmaps/scigraphica/symbol_uptriangle.xpm +share/pixmaps/scigraphica/target.xpm +share/pixmaps/scigraphica/text.xpm +share/pixmaps/scigraphica/tools.xpm +share/pixmaps/scigraphica/warning.xpm +share/pixmaps/scigraphica/zoom.xpm +share/pixmaps/scigraphica/zoom_minus.xpm +share/pixmaps/scigraphica/zoom_plus.xpm +share/pixmaps/scigraphica/zoomin.xpm +share/pixmaps/scigraphica/zoomout.xpm +share/pixmaps/sg_icon.xpm +share/scigraphica/examples/3d.sg +share/scigraphica/examples/image.sg +share/scigraphica/examples/matrix.sg +share/scigraphica/examples/multicolumn.sg +share/scigraphica/examples/polar.sg +share/scigraphica/examples/py_example1.py +share/scigraphica/examples/py_example1.pyc +share/scigraphica/examples/py_example1.pyo +share/scigraphica/examples/py_example2.py +share/scigraphica/examples/py_example2.pyc +share/scigraphica/examples/py_example2.pyo +share/scigraphica/examples/simpletest.sg +share/scigraphica/examples/test.dat +share/scigraphica/examples/ticks.sg +share/scigraphica/examples/trigonometric.sg +share/scigraphica/examples/vectors.sg +share/scigraphica/python/FitWizard.py +share/scigraphica/python/FitWizard.pyc +share/scigraphica/python/FitWizard.pyo +share/scigraphica/python/SimpleStats.py +share/scigraphica/python/SimpleStats.pyc +share/scigraphica/python/SimpleStats.pyo +share/scigraphica/python/clarens.py +share/scigraphica/python/clarens.pyc +share/scigraphica/python/clarens.pyo +share/scigraphica/python/clarens_histograms.py +share/scigraphica/python/clarens_histograms.pyc +share/scigraphica/python/clarens_histograms.pyo +share/scigraphica/python/gtkLeastSquares.py +share/scigraphica/python/gtkLeastSquares.pyc +share/scigraphica/python/gtkLeastSquares.pyo +share/scigraphica/python/pstat.py +share/scigraphica/python/pstat.pyc +share/scigraphica/python/pstat.pyo +share/scigraphica/python/pysga.py +share/scigraphica/python/pysga.pyc +share/scigraphica/python/pysga.pyo +share/scigraphica/python/sgagtk.py +share/scigraphica/python/sgagtk.pyc +share/scigraphica/python/sgagtk.pyo +share/scigraphica/python/stats.py +share/scigraphica/python/stats.pyc +share/scigraphica/python/stats.pyo +share/scigraphica/python/test_plugin.py +share/scigraphica/python/test_plugin.pyc +share/scigraphica/python/test_plugin.pyo +share/scigraphica/python/unpickler.py +share/scigraphica/python/unpickler.pyc +share/scigraphica/python/unpickler.pyo +@dirrm share/scigraphica/python +@dirrm share/scigraphica/examples +@dirrm share/scigraphica +@dirrm share/pixmaps/scigraphica +@dirrm share/gnome/help/scigraphica/C +@dirrm share/gnome/help/scigraphica |