aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmer-eio/Makefile
blob: 638450811c2c527c9a9ea9c4870d9bfe4f56452e (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
33
# New ports collection makefile for:    elmer-eio
# Date created:     5 Jan 2006
# Whom:         Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=   eio
PORTVERSION=    5.4.0
PORTREVISION=   1
CATEGORIES= science
MASTER_SITES=   SF/elmerfem
PKGNAMEPREFIX=  elmer-

MAINTAINER= araujo@FreeBSD.org
COMMENT=    ELMER FEM Package Data base Interface

USE_FORTRAN=    yes
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}

GNU_CONFIGURE=  yes
ALL_TARGET=

PLIST_FILES=    include/eio_api.h lib/libeioc.a lib/libeiof.a

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>