# New ports collection makefile for:	Elmer-MatC
# Date created:		5 Jan 2006
# Whom:			Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD: ports/science/elmer-matc/Makefile,v 1.12 2007/10/29 10:25:19 araujo Exp $
#

PORTNAME=	matc
PORTVERSION=	5.4.0
CATEGORIES=	science
MASTER_SITES=	ftp://ftp.funet.fi/pub/sci/physics/elmer/src/
PKGNAMEPREFIX=	elmer-

MAINTAINER=	araujo@FreeBSD.org
COMMENT=	MatC language library used by ELMER FEM package

GNU_CONFIGURE=	yes
ALL_TARGET=

USE_FORTRAN=	yes

PLIST_SUB=	ARCH=${MACHINE_ARCH}

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+=	-fPIC
FFLAGS+=	-fPIC
.endif

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1