2013-09-20 20:55:04 +00:00
|
|
|
# Created by: Pedro Giffuni <giffunip@asme.org>
|
2006-04-24 19:47:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= umfpack
|
2006-07-12 21:57:11 +00:00
|
|
|
PORTVERSION= 4.4
|
2014-03-10 20:55:20 +00:00
|
|
|
PORTREVISION= 6
|
2007-01-13 09:05:57 +00:00
|
|
|
PORTEPOCH= 2
|
2006-04-24 19:47:52 +00:00
|
|
|
CATEGORIES= math
|
2009-08-22 01:11:41 +00:00
|
|
|
MASTER_SITES= http://garr.dl.sourceforge.net/sourceforge/elmerfem/
|
2006-04-24 19:47:52 +00:00
|
|
|
PKGNAMEPREFIX= elmer-
|
|
|
|
|
2014-06-11 18:55:29 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-04-24 19:47:52 +00:00
|
|
|
COMMENT= UMFPACK library used by ELMER FEM package
|
|
|
|
|
2014-02-16 17:15:31 +00:00
|
|
|
USES= fortran
|
2006-04-24 19:47:52 +00:00
|
|
|
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
|
|
|
|
|
2007-01-16 02:12:37 +00:00
|
|
|
do-install:
|
2014-06-18 10:09:15 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/amd/include/amd.h ${STAGEDIR}${PREFIX}/include/amd_elmer.h
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/umfpack/include/umfpack.h ${STAGEDIR}${PREFIX}/include/umfpack_elmer.h
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/amd/libamd.a ${STAGEDIR}${PREFIX}/lib/libamd_elmer.a
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/amd/libamdf77.a ${STAGEDIR}${PREFIX}/lib/libamdf77_elmer.a
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/umfpack/libumfpack.a ${STAGEDIR}${PREFIX}/lib/libumfpack_elmer.a
|
2007-01-16 02:12:37 +00:00
|
|
|
|
2006-04-24 19:47:52 +00:00
|
|
|
.include <bsd.port.post.mk>
|