1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/math/elmer-umfpack/Makefile
Sylvio Cesar Teixeira ba072d1713 - Update my mail address to FreeBSD
Approved by:	miwi (mentor)
2009-11-27 22:52:30 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: elmer-umfpack
# Date created: 5 Jan 2006
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= umfpack
PORTVERSION= 4.4
PORTREVISION= 4
PORTEPOCH= 2
CATEGORIES= math
MASTER_SITES= http://garr.dl.sourceforge.net/sourceforge/elmerfem/
PKGNAMEPREFIX= elmer-
MAINTAINER= sylvio@FreeBSD.org
COMMENT= UMFPACK library used by ELMER FEM package
USE_FORTRAN= yes
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 ${PREFIX}/include/amd_elmer.h
${INSTALL_DATA} ${WRKSRC}/src/umfpack/include/umfpack.h ${PREFIX}/include/umfpack_elmer.h
${INSTALL_DATA} ${WRKSRC}/src/amd/libamd.a ${PREFIX}/lib/libamd_elmer.a
${INSTALL_DATA} ${WRKSRC}/src/amd/libamdf77.a ${PREFIX}/lib/libamdf77_elmer.a
${INSTALL_DATA} ${WRKSRC}/src/umfpack/libumfpack.a ${PREFIX}/lib/libumfpack_elmer.a
.include <bsd.port.post.mk>