summaryrefslogtreecommitdiffstats
path: root/science/xmds/Makefile
blob: 3b1627fb5314afd3edbc4cf2b2fa685c3ef0e9a6 (plain)
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
# Created by: EelVex
# $FreeBSD$

PORTNAME=	xmds
PORTVERSION=	1.6
CATEGORIES=	science
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}.5
DISTNAME=	xmds-1.6.5

MAINTAINER=	mplekos@physics.upatras.gr
COMMENT=	XMDS is a code generator that integrates equations;

MAN1=	loadxsil.1 xmds.1 xsil2graphics.1

OPTIONS_DEFINE=	FFTW3
FFTW3_DESC=	Use fftw3 instead of fftw2

GNU_CONFIGURE=	yes

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MFFTW3}
BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
CONFIGURE_ARGS=	--enable-fftw3 --with-fftw3-path=${LOCALBASE}
.else
BUILD_DEPENDS=	${LOCALBASE}/include/fftw.h:${PORTSDIR}/math/fftw
CONFIGURE_ARGS=	--with-fftw-path=${LOCALBASE}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud