summaryrefslogtreecommitdiff
path: root/science/xmds
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 22:08:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 22:08:22 +0000
commit70311449fae75ffea4fd9f53366895a06b4bc897 (patch)
treedcad9bcb676fb6eb1edd275685eb3589f7f31419 /science/xmds
parentdatabases/py-redis: Update to 2.7.4 (diff)
Convert science to new options framework
Notes
Notes: svn path=/head/; revision=316757
Diffstat (limited to 'science/xmds')
-rw-r--r--science/xmds/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/science/xmds/Makefile b/science/xmds/Makefile
index b10288c72c58..6202dc560f1e 100644
--- a/science/xmds/Makefile
+++ b/science/xmds/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xmds
-# Date created: 2006-07-17
-# Whom: EelVex
-#
+# Created by: EelVex
# $FreeBSD$
-#
PORTNAME= xmds
PORTVERSION= 1.6
@@ -16,13 +12,14 @@ COMMENT= XMDS is a code generator that integrates equations;
MAN1= loadxsil.1 xmds.1 xsil2graphics.1
-OPTIONS= FFTW3 "Use fftw3 instead of fftw2" Off
+OPTIONS_DEFINE= FFTW3
+FFTW3_DESC= Use fftw3 instead of fftw2
GNU_CONFIGURE= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_FFTW3)
+.if ${PORT_OPTIONS:MFFTW3}
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
CONFIGURE_ARGS= --enable-fftw3 --with-fftw3-path=${LOCALBASE}
.else
@@ -30,4 +27,4 @@ BUILD_DEPENDS= ${LOCALBASE}/include/fftw.h:${PORTSDIR}/math/fftw
CONFIGURE_ARGS= --with-fftw-path=${LOCALBASE}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>