summaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-01-21 19:03:52 +0000
committerhq <hq@FreeBSD.org>2005-01-21 19:03:52 +0000
commitfd58117669ccfc830186026e3a2012f7cddc0fbd (patch)
tree307bb87bcbbaf5d40ee7a29a5668e6d153a90312 /science
parentd7592327c8a4806628072cfddf78e2ad659ec7ae (diff)
downloadFreeBSD-ports-fd58117669ccfc830186026e3a2012f7cddc0fbd.zip
FreeBSD-ports-fd58117669ccfc830186026e3a2012f7cddc0fbd.tar.gz
DeViSoR is abbreviated for "Design and Visualization of Software Resource". The
DeViSoRGrid application is part of that software family and is primarily used for the following tasks, so far in 2D only: * Geometry generation * Manual coarse mesh generation * Grid visualisation at all levels All of this can be done in a very confortable manner using a simple point and click interface like in common vector-based image processing software. Both the reliable FEAT file format and the new FEAST format with integrated parallelism are supported. WWW: http://www.featflow.de/ PR: 75973 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/devisor/Makefile60
-rw-r--r--science/devisor/distinfo2
-rw-r--r--science/devisor/files/devisorgrid.sh.in5
-rw-r--r--science/devisor/pkg-descr14
5 files changed, 82 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 745034e..bd49603 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -12,6 +12,7 @@
SUBDIR += chemtool
SUBDIR += chemtool-devel
SUBDIR += clhep
+ SUBDIR += devisor
SUBDIR += dft++
SUBDIR += euler
SUBDIR += felt
diff --git a/science/devisor/Makefile b/science/devisor/Makefile
new file mode 100644
index 0000000..6ea2b71
--- /dev/null
+++ b/science/devisor/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: DeViSoR
+# Date created: Jan. 2005
+# Whom: Pedro F. Giffuni
+#
+# $FreeBSD$
+#
+
+PORTNAME= devisor
+PORTVERSION= 2.1
+CATEGORIES= science java
+MASTER_SITES= http://www.featflow.de/download/
+DISTNAME= devisor${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Design and Visualization Software Resource for FeatFlow
+
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+NO_BUILD= yes # Sources are available though
+
+SUB_FILES= devisorgrid.sh
+
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+
+DATAFILES= data images misc manual
+CLASSFILES= devisor2 devisorgrid.class
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+PLIST_FILES= bin/devisorgrid
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${PREFIX}/bin/devisorgrid
+ cd ${WRKSRC} \
+ && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
+ && ${FIND} ${DATAFILES} -type f -not -name '*.pdf' -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
+ cd ${WRKSRC} \
+ && ${FIND} ${CLASSFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
+ && ${FIND} ${CLASSFILES} -name '*.class' -type f -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC}/manual \
+ && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
+ && ${FIND} . -type f -name '*.pdf' -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+.endif
+
+post-install:
+ @cd ${WRKSRC} \
+ && ${FIND} -s ${DATAFILES} -type f -not -name '*.pdf' \
+ | ${SED} -ne 's,^,${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} \
+ && ${FIND} -s -d ${DATAFILES} -type d \
+ | ${SED} -ne 's,^,@dirrm ${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST}
+ @cd ${WRKSRC} \
+ && ${FIND} -s ${CLASSFILES} -name '*.class' -type f \
+ | ${SED} -ne 's,^,${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} \
+ && ${FIND} -s -d ${CLASSFILES} -type d \
+ | ${SED} -ne 's,^,@dirrm ${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST}
+ @${ECHO_CMD} '@dirrm ${DATADIR:S,${PREFIX}/,,}' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/science/devisor/distinfo b/science/devisor/distinfo
new file mode 100644
index 0000000..3355147
--- /dev/null
+++ b/science/devisor/distinfo
@@ -0,0 +1,2 @@
+MD5 (devisor2.1.tar.gz) = efc5aa9dba1535931debbda1a6aee8d2
+SIZE (devisor2.1.tar.gz) = 1723526
diff --git a/science/devisor/files/devisorgrid.sh.in b/science/devisor/files/devisorgrid.sh.in
new file mode 100644
index 0000000..3a9ef17
--- /dev/null
+++ b/science/devisor/files/devisorgrid.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="1.4+" %%LOCALBASE%%/bin/java -Ddevisorgrid.home="%%DATADIR%%" -cp "%%DATADIR%%" devisorgrid "$@"
diff --git a/science/devisor/pkg-descr b/science/devisor/pkg-descr
new file mode 100644
index 0000000..906c8f6
--- /dev/null
+++ b/science/devisor/pkg-descr
@@ -0,0 +1,14 @@
+DeViSoR is abbreviated for "Design and Visualization of Software Resource". The
+DeViSoRGrid application is part of that software family and is primarily used
+for the following tasks, so far in 2D only:
+
+ * Geometry generation
+ * Manual coarse mesh generation
+ * Grid visualisation at all levels
+
+All of this can be done in a very confortable manner using a simple point and
+click interface like in common vector-based image processing software. Both the
+reliable FEAT file format and the new FEAST format with integrated parallelism
+are supported.
+
+WWW: http://www.featflow.de/
OpenPOWER on IntegriCloud