diff options
author | thierry <thierry@FreeBSD.org> | 2012-07-07 23:15:08 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2012-07-07 23:15:08 +0800 |
commit | 2ae2603a364a126aa859f9a82185ae5a152168a9 (patch) | |
tree | 1df7df2cd6c39ab93a025e9dfed6541d94ee1a2c /science | |
parent | f34f6a9a8795f3592e3ee6f205d2bff8cae626dd (diff) | |
download | freebsd-ports-gnome-2ae2603a364a126aa859f9a82185ae5a152168a9.tar.gz freebsd-ports-gnome-2ae2603a364a126aa859f9a82185ae5a152168a9.tar.zst freebsd-ports-gnome-2ae2603a364a126aa859f9a82185ae5a152168a9.zip |
MEI stands for Mathematical Expression Interpreter.
It is intended to provide interpretation of mathematical formula in a string.
WWW: http://www.code-saturne.org/
Diffstat (limited to 'science')
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/mei/Makefile | 39 | ||||
-rw-r--r-- | science/mei/distinfo | 2 | ||||
-rw-r--r-- | science/mei/files/patch-tests_Makefile.in | 11 | ||||
-rw-r--r-- | science/mei/pkg-descr | 4 | ||||
-rw-r--r-- | science/mei/pkg-plist | 16 |
6 files changed, 73 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 44ea5d70e758..e28c956b0103 100644 --- a/science/Makefile +++ b/science/Makefile @@ -98,6 +98,7 @@ SUBDIR += mcstas SUBDIR += medit SUBDIR += meep + SUBDIR += mei SUBDIR += minc SUBDIR += minc2 SUBDIR += mol2ps diff --git a/science/mei/Makefile b/science/mei/Makefile new file mode 100644 index 000000000000..2afd55913bec --- /dev/null +++ b/science/mei/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: mei +# Date created: Wed 18 apr 2012 +# Whom: thierry@pompo.net +# +# $FreeBSD$ +# + +PORTNAME= mei +PORTVERSION= 1.0.3 +CATEGORIES= science parallel +MASTER_SITES= http://research.edf.com/fichiers/fckeditor/Commun/Innovation/logiciels/code_saturne/Releases/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Code_Saturne Mathematical Expression Interpreter + +LICENSE= LGPL21 + +LIB_DEPENDS= bft.1:${PORTSDIR}/science/bft +BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_ZIP= yes +USE_LDCONFIG= yes +USE_PYTHON= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-bft=${LOCALBASE} + +MAN1= mei-config.1 + +.if defined(MAINTAINER_MODE) +regression-test: + (cd ${WRKSRC}/tests && \ + ${MAKE} check && \ + ./mei_test ) +.endif + +.include <bsd.port.mk> diff --git a/science/mei/distinfo b/science/mei/distinfo new file mode 100644 index 000000000000..c060d6159199 --- /dev/null +++ b/science/mei/distinfo @@ -0,0 +1,2 @@ +SHA256 (mei-103.zip) = 89a960a1b7526a5e2be359f7b0f2fdb5400de698b384950307d1c8c5c627ad38 +SIZE (mei-103.zip) = 518740 diff --git a/science/mei/files/patch-tests_Makefile.in b/science/mei/files/patch-tests_Makefile.in new file mode 100644 index 000000000000..c72fa1d619b0 --- /dev/null +++ b/science/mei/files/patch-tests_Makefile.in @@ -0,0 +1,11 @@ +--- tests/Makefile.in.orig 2011-07-20 17:26:55.000000000 +0200 ++++ tests/Makefile.in 2012-04-18 19:51:56.000000000 +0200 +@@ -526,7 +526,7 @@ + + + # Uncomment for tests execution at "make check" +-#TESTS=$(check_PROGRAMS) ++TESTS=$(check_PROGRAMS) + + # Check Python module after installation + # diff --git a/science/mei/pkg-descr b/science/mei/pkg-descr new file mode 100644 index 000000000000..ff5f079b3883 --- /dev/null +++ b/science/mei/pkg-descr @@ -0,0 +1,4 @@ +MEI stands for Mathematical Expression Interpreter. +It is intended to provide interpretation of mathematical formula in a string. + +WWW: http://www.code-saturne.org/ diff --git a/science/mei/pkg-plist b/science/mei/pkg-plist new file mode 100644 index 000000000000..2bb7f5b04910 --- /dev/null +++ b/science/mei/pkg-plist @@ -0,0 +1,16 @@ +bin/mei-config +include/mei_evaluate.h +include/mei_hash_table.h +include/mei_node.h +lib/libmei.a +lib/libmei.la +lib/libmei.so +lib/libmei.so.0 +%%PYTHON_SITELIBDIR%%/mei/_mei.a +%%PYTHON_SITELIBDIR%%/mei/_mei.la +%%PYTHON_SITELIBDIR%%/mei/_mei.so +%%PYTHON_SITELIBDIR%%/mei/_mei.so.0 +%%PYTHON_SITELIBDIR%%/mei/mei.py +%%PYTHON_SITELIBDIR%%/mei/mei.pyc +%%PYTHON_SITELIBDIR%%/mei/mei.pyo +@dirrm %%PYTHON_SITELIBDIR%%/mei |