freebsd-ports/science/elmer-matc/Makefile
Martin Wilke a42d80c26b - Fixed support for new gfortran
PR:             109264
Submitted by:   Marcelo Araujo <araujo@bsdmail.org>
Requested by:   maho@
2007-02-27 08:32:37 +00:00

34 lines
687 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.3.0
CATEGORIES= science
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/src/
PKGNAMEPREFIX= elmer-
MAINTAINER= araujo@bsdmail.org
COMMENT= MatC language library used by ELMER FEM package
GNU_CONFIGURE= yes
ALL_TARGET=
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
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>