blob: 8a3bc3187ed2254f4d2620de892c36f42837a568 (
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
39
40
41
42
43
44
45
|
# New ports collection makefile for: elmerpost
# Date created: 5 Jan 2006
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= elmerpost
PORTVERSION= 5.0.3
CATEGORIES= science
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
MAINTAINER= ports@FreeBSD.org
COMMENT= Visualization of Numerical Results in the ELMER FEM package
BUILD_DEPENDS= ${FC}:${PORTSDIR}/lang/gfortran \
${LOCALBASE}/lib/libmatc.a:${PORTSDIR}/science/elmer-matc \
wish8.4:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
# Elmer avoids the new C++ headers because they cause problems
# on older systems (Irix)
CXXFLAGS+= -Wno-deprecated
USE_GL= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET=
USE_GCC= 4.1+
WITH_FORTRAN= yes
FC= ${LOCALBASE}/bin/gfortran41
F77= ${FC}
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
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>
|