aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmer-matc/Makefile
blob: 8b1d3a41fda5cd84e060ceb371e0e84da866b28b (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=   4
CATEGORIES= science
MASTER_SITES=   http://garr.dl.sourceforge.net/sourceforge/elmerfem/
PKGNAMEPREFIX=  elmer-

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

CXXFLAGS+=  -Wno-deprecated

GNU_CONFIGURE=  yes
USE_FORTRAN=    g77

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>