diff options
author | thierry <thierry@FreeBSD.org> | 2004-11-16 06:18:09 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-11-16 06:18:09 +0800 |
commit | fe141d8d6510b24a20107b4189e2325b008de827 (patch) | |
tree | 10e4dc1f6a81e089c8b3aceb7cce85c3d7eee27a | |
parent | 1e2d943533434f7378af7bff6ce39c2efc4597ad (diff) | |
download | freebsd-ports-gnome-fe141d8d6510b24a20107b4189e2325b008de827.tar.gz freebsd-ports-gnome-fe141d8d6510b24a20107b4189e2325b008de827.tar.zst freebsd-ports-gnome-fe141d8d6510b24a20107b4189e2325b008de827.zip |
Add getdp 1.0.0, a rather general finite element solver using mixed
finite elements.
Suggested by: Pedro F. Giffuni.
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/getdp/Makefile | 65 | ||||
-rw-r--r-- | science/getdp/distinfo | 2 | ||||
-rw-r--r-- | science/getdp/pkg-descr | 8 | ||||
-rw-r--r-- | science/getdp/pkg-plist | 46 |
5 files changed, 122 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index ddd377bfde8d..c2c0e9ff3770 100644 --- a/science/Makefile +++ b/science/Makefile @@ -20,6 +20,7 @@ SUBDIR += gchempaint SUBDIR += gchemutils SUBDIR += gdis + SUBDIR += getdp SUBDIR += ghemical SUBDIR += glens SUBDIR += gramps diff --git a/science/getdp/Makefile b/science/getdp/Makefile new file mode 100644 index 000000000000..a8d41ccc397a --- /dev/null +++ b/science/getdp/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: getdp +# Date created: 25 September 2004 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= getdp +PORTVERSION= 1.0.0 +CATEGORIES= science +MASTER_SITES= http://www.geuz.org/getdp/src/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-source +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= A rather general finite element solver using mixed finite elements + +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ + gsl.6:${PORTSDIR}/math/gsl + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-fftw-prefix=${LOCALBASE} \ + --with-gsl-prefix=${LOCALBASE} + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +MAN1= getdp.1 + +EXAMPLES= Magnetostatics.pro README solver.par test.geo test.msh test.pro + +.if defined(WITH_MULTIHARMONIC) +CONFIGURE_ARGS+= --enable-multiharmonic +.endif + +.include <bsd.port.pre.mk> + +.if !defined(NOPORTDOCS) +. if ${PERL_LEVEL} < 500600 +NOPORTDOCS= yes +. else +ALL_TARGET= all doc +BUILD_DEPENDS+= texi2pdf:${PORTSDIR}/print/teTeX-base +USE_PERL5_BUILD= yes +. endif +.endif + +post-install: + @${STRIP_CMD} ${PREFIX}/bin/getdp +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${DOCSDIR} && ${TAR} xfz ${WRKSRC}/${PORTNAME}-${PORTVERSION}-doc.tgz + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/demos/|} ${EXAMPLESDIR} + @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." +.endif + +.if defined(MAINTAINER_MODE) +test: install + cd ${WRKSRC}/demos && ${PORTNAME} test.pro -solve MagSta_phi +.endif + +.include <bsd.port.post.mk> diff --git a/science/getdp/distinfo b/science/getdp/distinfo new file mode 100644 index 000000000000..6563df24de90 --- /dev/null +++ b/science/getdp/distinfo @@ -0,0 +1,2 @@ +MD5 (getdp-1.0.0-source.tgz) = 8256357866085afaa274863ad4c1e71f +SIZE (getdp-1.0.0-source.tgz) = 1143363 diff --git a/science/getdp/pkg-descr b/science/getdp/pkg-descr new file mode 100644 index 000000000000..a013977a785b --- /dev/null +++ b/science/getdp/pkg-descr @@ -0,0 +1,8 @@ +GetDP is a general finite element solver using mixed elements to discretize +de Rham-type complexes in one, two and three dimensions. + +The main feature of GetDP is the closeness between the input data defining +discrete problems (written by the user in ASCII data files) and the symbolic +mathematical expressions of these problems. + +WWW: http://www.geuz.org/getdp/ diff --git a/science/getdp/pkg-plist b/science/getdp/pkg-plist new file mode 100644 index 000000000000..38d2286e940f --- /dev/null +++ b/science/getdp/pkg-plist @@ -0,0 +1,46 @@ +bin/getdp +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/README.win32 +%%PORTDOCS%%%%DOCSDIR%%/VERSIONS +%%PORTDOCS%%%%DOCSDIR%%/getdp.1 +%%PORTDOCS%%%%DOCSDIR%%/texinfo/Core.jpg +%%PORTDOCS%%%%DOCSDIR%%/texinfo/Strip.jpg +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp-full.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp-info.tgz +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp.pdf +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp.ps +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp.txt +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_1.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_10.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_11.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_12.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_13.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_14.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_15.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_16.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_17.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_2.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_3.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_4.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_5.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_6.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_7.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_8.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_9.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_abt.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_fot.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_ovr.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/getdp_toc.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/index.html +%%PORTDOCS%%%%DOCSDIR%%/texinfo/objects-wrap.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/Magnetostatics.pro +%%PORTDOCS%%%%EXAMPLESDIR%%/README +%%PORTDOCS%%%%EXAMPLESDIR%%/solver.par +%%PORTDOCS%%%%EXAMPLESDIR%%/test.geo +%%PORTDOCS%%%%EXAMPLESDIR%%/test.msh +%%PORTDOCS%%%%EXAMPLESDIR%%/test.pro +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/texinfo +%%PORTDOCS%%@dirrm %%DOCSDIR%% |