aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmer-matc
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-04-25 03:50:53 +0800
committerthierry <thierry@FreeBSD.org>2006-04-25 03:50:53 +0800
commit171e46f98b9283680e60cd3a9463ee7cbae49b85 (patch)
tree075294ee278a54211b8777f6ca7bc1f54c188a71 /science/elmer-matc
parent1cd545ffd262450a863c96dbfae1a33eca602b05 (diff)
downloadfreebsd-ports-gnome-171e46f98b9283680e60cd3a9463ee7cbae49b85.tar.gz
freebsd-ports-gnome-171e46f98b9283680e60cd3a9463ee7cbae49b85.tar.zst
freebsd-ports-gnome-171e46f98b9283680e60cd3a9463ee7cbae49b85.zip
MATC language library used by Elmer FEM package.
Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Diffstat (limited to 'science/elmer-matc')
-rw-r--r--science/elmer-matc/Makefile37
-rw-r--r--science/elmer-matc/distinfo3
-rw-r--r--science/elmer-matc/pkg-descr3
-rw-r--r--science/elmer-matc/pkg-plist6
4 files changed, 49 insertions, 0 deletions
diff --git a/science/elmer-matc/Makefile b/science/elmer-matc/Makefile
new file mode 100644
index 000000000000..924d9ddb4fb9
--- /dev/null
+++ b/science/elmer-matc/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: Elmer-MatC
+# Date created: 5 Jan 2006
+# Whom: Pedro Giffuni <giffunip@asme.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= matc
+PORTVERSION= 5.0.0
+CATEGORIES= science
+MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
+PKGNAMEPREFIX= elmer-
+
+MAINTAINER= giffunip@asme.org
+COMMENT= MatC language library used by ELMER FEM package
+
+BUILD_DEPENDS= ${FC}:${PORTSDIR}/lang/gfortran
+
+USE_GCC= 4.1+
+WITH_FORTRAN= yes
+FC= ${LOCALBASE}/bin/gfortran41
+F77= ${FC}
+CONFIGURE_ENV+= FC=${FC} F77=${FC}
+
+GNU_CONFIGURE= yes
+ALL_TARGET=
+
+PLIST_SUB= ARCH=${MACHINE_ARCH}
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC
+FFLAGS+= -fPIC
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/science/elmer-matc/distinfo b/science/elmer-matc/distinfo
new file mode 100644
index 000000000000..21dcec4b3ef4
--- /dev/null
+++ b/science/elmer-matc/distinfo
@@ -0,0 +1,3 @@
+MD5 (matc-5.0.0.tar.gz) = 24449bde04aab5958f05f76dc8855471
+SHA256 (matc-5.0.0.tar.gz) = ff8752b764575090682363ae43cb7ace02fc06c79a19bad69bf74ed1d81ce338
+SIZE (matc-5.0.0.tar.gz) = 165330
diff --git a/science/elmer-matc/pkg-descr b/science/elmer-matc/pkg-descr
new file mode 100644
index 000000000000..919f3ab45ff3
--- /dev/null
+++ b/science/elmer-matc/pkg-descr
@@ -0,0 +1,3 @@
+MATC language library used by Elmer FEM package.
+
+WWW: http://www.csc.fi/elmer/
diff --git a/science/elmer-matc/pkg-plist b/science/elmer-matc/pkg-plist
new file mode 100644
index 000000000000..ec1b9ea861b2
--- /dev/null
+++ b/science/elmer-matc/pkg-plist
@@ -0,0 +1,6 @@
+bin/%%ARCH%%-portbld-freebsd%%OSREL%%-matc
+include/elmer/fnames.h
+include/elmer/gra.h
+include/elmer/matc.h
+@dirrm include/elmer
+lib/libmatc.a