aboutsummaryrefslogtreecommitdiffstats
path: root/science/gerris/Makefile
blob: c14fda23814555110969de31b2286a51f59655de (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
# ex:ts=8
# New ports collection makefile for:   gerris
# Date created:                        Sun Sep 18 12:36:38 CEST 2005
# Whom:                                Oliver Dunkl <odunkl@gmx.net>
#
# $FreeBSD$
#

PORTNAME=   gerris
PORTVERSION=    0.9.2
PORTREVISION=   1
CATEGORIES= science math
MASTER_SITES=   SF/gfs/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A scientific CFD simulator

LIB_DEPENDS=    gts.5:${PORTSDIR}/graphics/gts

USE_GNOME=  glib20 gnomehack pkgconfig
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-mpi
USE_LDCONFIG=   yes

.if defined(WITHOUT_DX)
CONFIGURE_ARGS+=    --disable-dx
PLIST_SUB+= DX="@comment "
.else
BUILD_DEPENDS+=     dx:${PORTSDIR}/graphics/opendx
RUN_DEPENDS+=       dx:${PORTSDIR}/graphics/opendx
PLIST_SUB+= DX=""
.endif

.include <bsd.port.mk>