diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-04 21:26:52 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-04 21:26:52 +0000 |
commit | 2d46285b2b597143a9c56b9c3d36d7aa3d05e627 (patch) | |
tree | 16b023f379e72c478a252975d79fa8a3480dcd60 /math/libtsnnls | |
parent | Add optional dependency on Horde_Memcache to Horde_HashTable (diff) |
Convert to new options framework
Notes
Notes:
svn path=/head/; revision=319912
Diffstat (limited to 'math/libtsnnls')
-rw-r--r-- | math/libtsnnls/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/math/libtsnnls/Makefile b/math/libtsnnls/Makefile index 534ac8bd468e..4ef61840ff4b 100644 --- a/math/libtsnnls/Makefile +++ b/math/libtsnnls/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: libtsnnls -# Date created: 18 October 2010 -# Whom: Tz-Huan Huang <tzhuan@gmail.com> -# +# Created by: Tz-Huan Huang <tzhuan@gmail.com> # $FreeBSD$ -# PORTNAME= libtsnnls PORTVERSION= 2.3.3 @@ -17,21 +13,22 @@ GNU_CONFIGURE= yes USE_FORTRAN= yes USE_LDCONFIG= yes -OPTIONS= GOTOBLAS "Use gotoblas (conflict with USE_ATLAS)" off \ - ATLAS "Use atlas (conflict with USE_GOTOBLAS)" off +OPTIONS_DEFINE= GOTOBLAS ATLAS +GOTOBLAS_DESC= Use gotoblas (conflict with USE_ATLAS) +ATLAS_DESC= Use atlas (conflict with USE_GOTOBLAS) # DMALLOC "Use dmalloc" off .include <bsd.port.options.mk> WITH_BLAS=reference -.if defined(WITH_GOTOBLAS) +.if ${PORT_OPTIONS:MGOTOBLAS} WITH_BLAS=gotoblas -.elif defined(WITH_ATLAS) +.elif ${PORT_OPTIONS:MATLAS} WITH_BLAS=atlas .endif # FIXME compiling error when using dmalloc -#.if defined(WITH_DMALLOC) +#.if ${PORT_OPTIONS:MDMALLOC} #CONFIGURE_ARGS+=--with-dmalloc #LIB_DEPENDS+=dmalloc.1:${PORTSDIR}/devel/dmalloc #.endif |