freebsd-ports/science/elmer-matc/Makefile

29 lines
560 B
Makefile

# Created by: Pedro Giffuni <giffunip@asme.org>
# $FreeBSD$
PORTNAME= matc
PORTVERSION= 5.4.0
PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= http://garr.dl.sourceforge.net/sourceforge/elmerfem/
PKGNAMEPREFIX= elmer-
MAINTAINER= sylvio@FreeBSD.org
COMMENT= MatC language library used by ELMER FEM package
CXXFLAGS+= -Wno-deprecated
GNU_CONFIGURE= yes
USE_FORTRAN= g77
PLIST_SUB= ARCH=${MACHINE_ARCH}
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
FFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>