2006-04-24 19:47:52 +00:00
|
|
|
# New ports collection makefile for: elmer-umfpack
|
|
|
|
# Date created: 5 Jan 2006
|
|
|
|
# Whom: Pedro Giffuni <giffunip@asme.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= umfpack
|
2006-07-12 21:57:11 +00:00
|
|
|
PORTVERSION= 4.4
|
|
|
|
PORTEPOCH= 1
|
2006-04-24 19:47:52 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
|
|
|
|
PKGNAMEPREFIX= elmer-
|
|
|
|
|
2006-07-01 12:16:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-04-24 19:47:52 +00:00
|
|
|
COMMENT= UMFPACK library used by ELMER FEM package
|
|
|
|
|
2006-10-10 02:25:29 +00:00
|
|
|
CONFLICTS= umfpack-[0-9].[0-9]* suitesparse-[0-9].[0-9]*
|
2006-04-24 19:47:52 +00:00
|
|
|
|
|
|
|
USE_GCC= 4.1+
|
|
|
|
WITH_FORTRAN= yes
|
|
|
|
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>
|