aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmerfront/Makefile
blob: 2f4028e457f13a79e758218a2f90a64e1e337ccd (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
34
35
36
37
38
# New ports collection makefile for:    elmerfront
# Date created:     5 Jan 2006
# Whom:         Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

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

MAINTAINER= araujo@FreeBSD.org
COMMENT=    Graphical User Interface for the ELMER FEM package

BUILD_DEPENDS=  wish8.4:${PORTSDIR}/x11-toolkits/tk84   \
        ${LOCALBASE}/lib/libmatc.a:${PORTSDIR}/science/elmer-matc   \
        ${LOCALBASE}/lib/libeioc.a:${PORTSDIR}/science/elmer-eio
RUN_DEPENDS=    wish8.4:${PORTSDIR}/x11-toolkits/tk84   \
        ElmerSolver:${PORTSDIR}/science/elmer-fem   \
        ${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerMesh2D:${PORTSDIR}/science/elmer-meshgen2d

# Elmer avoids the new C++ headers because they cause problems
# on older systems (Irix)
CXXFLAGS+=  -Wno-deprecated

USE_FORTRAN=    yes
USE_GL=     yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS="${FCFLAGS}"
USE_GMAKE=  yes
ALL_TARGET=

DATADIR=    ${PREFIX}/share/elmerfront
PLIST_SUB=  ARCH=${MACHINE_ARCH}

.include <bsd.port.mk>