aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmer-matc/Makefile
blob: f70392dfe07269c648228700270fd7b14eb22759 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    Elmer-MatC
# Date created:     5 Jan 2006
# Whom:         Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=   matc
PORTVERSION=    5.4.0
PORTREVISION=   3
CATEGORIES= science
MASTER_SITES=   SF/elmerfem
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>