aboutsummaryrefslogtreecommitdiff
path: root/math/vecfem/Makefile
blob: fd878d490184db6390079bbb59fb1818794dc820 (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
# New ports collection Makefile for: vecfem
# Date created:		15 January 2001
# Whom:			Ralf Becker <ralf@akk.org>
#
# $FreeBSD$
#

PORTNAME=	vecfem
PORTVERSION=	3
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	http://www.massey.ac.nz/~lgrosz/vecfem/downloads/
DISTNAME=	vem

MAINTAINER=	Ralf Becker <ralf@akk.org>

.ifdef MPI
BUILD_DEPENDS=	${LOCALBASE}/mpich/bin/mpif77:${PORTSDIR}/net/mpich
.endif

NO_WRKSUBDIR=	YES
USE_GMAKE=	YES
EXTRACT_SUFFIX=	tar.gz
BUILD_WRKSRC=	${WRKDIR}/source
ALL_TARGET=

MAN7=		vemlst.7

pre-fetch:
.if !defined(MPI)
	@${ECHO_MSG} "Type \"make MPI=yes\" if you want MPI support"
.else
	@${ECHO_MSG} "Building ${PORTNAME}-${PORTVERSION} with MPI support"
.endif

.include <Makefile.inc>
.include <bsd.port.mk>