aboutsummaryrefslogtreecommitdiffstats
path: root/math/scigraphica
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-27 20:51:47 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-27 20:51:47 +0800
commitf15d8ee68ea60b42e1c2709ee64546e4105653b0 (patch)
treeac8a60639607e63f1cd508b7502a0bf291dbfbf8 /math/scigraphica
parent4f1fb6682e3041c872e57fa6d9b50f3781923f58 (diff)
downloadfreebsd-ports-gnome-f15d8ee68ea60b42e1c2709ee64546e4105653b0.tar.gz
freebsd-ports-gnome-f15d8ee68ea60b42e1c2709ee64546e4105653b0.tar.zst
freebsd-ports-gnome-f15d8ee68ea60b42e1c2709ee64546e4105653b0.zip
Update to 0.7.1.
Diffstat (limited to 'math/scigraphica')
-rw-r--r--math/scigraphica/Makefile15
-rw-r--r--math/scigraphica/distinfo2
-rw-r--r--math/scigraphica/pkg-plist31
3 files changed, 37 insertions, 11 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index 0e67be687e34..9c4b85cdf887 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= scigraphica
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.1
CATEGORIES= math gnome
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://scigraphica.sourceforge.net/src/ \
+MASTER_SITES= http://scigraphica.sourceforge.net/src/ \
+ ${MASTER_SITE_SOURCEFORGE} \
http://magnet.fsu.edu/~feiguin/scigraphica/src/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= sg-${PORTVERSION}
@@ -17,8 +17,9 @@ DISTNAME= sg-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= ${PYNUMERIC}
-LIB_DEPENDS= gtkextra.15:${PORTSDIR}/x11-toolkits/gtkextra
-RUN_DEPENDS= ${PYNUMERIC}
+LIB_DEPENDS= gtkextra.16:${PORTSDIR}/x11-toolkits/gtkextra
+RUN_DEPENDS= ${PYNUMERIC} \
+ ${PYTHON_SITELIBDIR}/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
USE_X_PREFIX= yes
USE_GMAKE= yes
@@ -43,4 +44,8 @@ pre-patch:
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/scigraphica
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/scigraphica
+
.include <bsd.port.post.mk>
diff --git a/math/scigraphica/distinfo b/math/scigraphica/distinfo
index 6820d46af1b7..e07ff4fb5b9f 100644
--- a/math/scigraphica/distinfo
+++ b/math/scigraphica/distinfo
@@ -1 +1 @@
-MD5 (sg-0.7.0.tar.gz) = 6d70ac37d62d4cb0efea9f6ecb8e8c3c
+MD5 (sg-0.7.1.tar.gz) = 9f8604fc662ae7550bd3a1de81f131c9
diff --git a/math/scigraphica/pkg-plist b/math/scigraphica/pkg-plist
index 967d7976ae6f..85e5adee04d0 100644
--- a/math/scigraphica/pkg-plist
+++ b/math/scigraphica/pkg-plist
@@ -130,19 +130,40 @@ share/gnome/scigraphica/examples/image.sg
share/gnome/scigraphica/examples/multicolumn.sg
share/gnome/scigraphica/examples/polar.sg
share/gnome/scigraphica/examples/py_example1.py
+share/gnome/scigraphica/examples/py_example1.pyc
+share/gnome/scigraphica/examples/py_example1.pyo
share/gnome/scigraphica/examples/py_example2.py
+share/gnome/scigraphica/examples/py_example2.pyc
+share/gnome/scigraphica/examples/py_example2.pyo
share/gnome/scigraphica/examples/simpletest.sg
share/gnome/scigraphica/examples/test.dat
share/gnome/scigraphica/examples/ticks.sg
share/gnome/scigraphica/examples/trigonometric.sg
share/gnome/scigraphica/examples/vectors.sg
+share/gnome/scigraphica/python/gtkLeastSquares.py
+share/gnome/scigraphica/python/gtkLeastSquares.pyc
+share/gnome/scigraphica/python/gtkLeastSquares.pyo
+share/gnome/scigraphica/python/pstat.py
+share/gnome/scigraphica/python/pstat.pyc
+share/gnome/scigraphica/python/pstat.pyo
+share/gnome/scigraphica/python/pysga.py
+share/gnome/scigraphica/python/pysga.pyc
+share/gnome/scigraphica/python/pysga.pyo
+share/gnome/scigraphica/python/sgagtk.py
+share/gnome/scigraphica/python/sgagtk.pyc
+share/gnome/scigraphica/python/sgagtk.pyo
+share/gnome/scigraphica/python/stats.py
+share/gnome/scigraphica/python/stats.pyc
+share/gnome/scigraphica/python/stats.pyo
+share/gnome/scigraphica/python/test_plugin.py
+share/gnome/scigraphica/python/test_plugin.pyc
+share/gnome/scigraphica/python/test_plugin.pyo
+share/gnome/scigraphica/python/unpickler.py
+share/gnome/scigraphica/python/unpickler.pyc
+share/gnome/scigraphica/python/unpickler.pyo
+@dirrm share/gnome/scigraphica/python
@dirrm share/gnome/scigraphica/examples
@dirrm share/gnome/scigraphica
@dirrm share/gnome/pixmaps/sg
@dirrm share/gnome/help/scigraphica/C
@dirrm share/gnome/help/scigraphica
-@cwd %%LOCALBASE%%
-lib/%%PYTHON_VERSION%%/site-packages/gtkLeastSquares.py
-@unexec /bin/rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/gtkLeastSquares.pyc
-lib/%%PYTHON_VERSION%%/site-packages/pysga.py
-@unexec /bin/rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/pysga.pyc