freebsd-ports/science/elmer-matc/Makefile
Thierry Thomas 50542d86ac MATC language library used by Elmer FEM package.
Submitted by:	Pedro F. Giffuni <giffunip@asme.org>
2006-04-24 19:50:53 +00:00

37 lines
720 B
Makefile

# New ports collection makefile for: Elmer-MatC
# Date created: 5 Jan 2006
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= matc
PORTVERSION= 5.0.0
CATEGORIES= science
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
PKGNAMEPREFIX= elmer-
MAINTAINER= giffunip@asme.org
COMMENT= MatC language library used by ELMER FEM package
BUILD_DEPENDS= ${FC}:${PORTSDIR}/lang/gfortran
USE_GCC= 4.1+
WITH_FORTRAN= yes
FC= ${LOCALBASE}/bin/gfortran41
F77= ${FC}
CONFIGURE_ENV+= FC=${FC} F77=${FC}
GNU_CONFIGURE= yes
ALL_TARGET=
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>