1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/elmer-umfpack/Makefile
Vanilla I. Shu a9ab079081 Stagify.
2014-06-18 10:09:15 +00:00

36 lines
1020 B
Makefile

# Created by: Pedro Giffuni <giffunip@asme.org>
# $FreeBSD$
PORTNAME= umfpack
PORTVERSION= 4.4
PORTREVISION= 6
PORTEPOCH= 2
CATEGORIES= math
MASTER_SITES= http://garr.dl.sourceforge.net/sourceforge/elmerfem/
PKGNAMEPREFIX= elmer-
MAINTAINER= ports@FreeBSD.org
COMMENT= UMFPACK library used by ELMER FEM package
USES= fortran
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
do-install:
${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
.include <bsd.port.post.mk>