mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
662486c37e
package. Among other small changes, Elmer calls umfpack routines from f90 using umf4_f77wrapper.c from umfpacks demo directory. The elmer-umfpack build compiles this and includes it in the libumfpack.a. Submitted by: Pedro F. Giffuni <giffunip@asme.org>
39 lines
761 B
Makefile
39 lines
761 B
Makefile
# New ports collection makefile for: elmer-umfpack
|
|
# Date created: 5 Jan 2006
|
|
# Whom: Pedro Giffuni <giffunip@asme.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= umfpack
|
|
PORTVERSION= 4.4a
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
|
|
PKGNAMEPREFIX= elmer-
|
|
|
|
MAINTAINER= giffunip@asme.org
|
|
COMMENT= UMFPACK library used by ELMER FEM package
|
|
|
|
BUILD_DEPENDS= ${FC}:${PORTSDIR}/lang/gfortran
|
|
|
|
CONFLICTS= umfpack-[0-9].[0-9]*
|
|
|
|
USE_GCC= 4.1+
|
|
WITH_FORTRAN= yes
|
|
FC= ${LOCALBASE}/bin/gfortran41
|
|
F77= ${FC}
|
|
CONFIGURE_ENV+= FC=${FC} F77=${FC}
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET=
|
|
|
|
# This should be looked up by autoconf
|
|
CFLAGS+= -DGETRUSAGE
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
CFLAGS+= -fPIC
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|