Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 06:48:55 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314529 - head/biology/crux
Message-ID:  <201303180648.r2I6mtkW030683@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Mon Mar 18 06:48:55 2013
New Revision: 314529
URL: http://svnweb.freebsd.org/changeset/ports/314529

Log:
  - adoption of optionsNG
  - trim historical header
  - use tabs in favor of spaces
  
  Approved by:	portmgr (miwi)

Modified:
  head/biology/crux/Makefile

Modified: head/biology/crux/Makefile
==============================================================================
--- head/biology/crux/Makefile	Mon Mar 18 06:46:36 2013	(r314528)
+++ head/biology/crux/Makefile	Mon Mar 18 06:48:55 2013	(r314529)
@@ -1,38 +1,38 @@
-# New ports collection makefile for:   crux
-# Date created:        8 June 2009
-# Whom:                jasone
-#
+# Created by: Jason Evans <jasone@FreeBSD.org>
 # $FreeBSD$
-#
 
-PORTNAME=      crux
-PORTVERSION=   1.2.0
-PORTREVISION=  1
-CATEGORIES=    biology python
-MASTER_SITES=  http://www.canonware.com/download/Crux/
-
-MAINTAINER=    jasone@FreeBSD.org
-COMMENT=       Software toolkit for phylogenetic inference
-
-USE_BZIP2=     yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS=--with-python=${PYTHON_CMD} --disable-mpi
-USE_CSTD=      gnu99
-USE_GMAKE=     yes
-USE_PYTHON=    2.5+
+PORTNAME=	crux
+PORTVERSION=	1.2.0
+PORTREVISION=	1
+CATEGORIES=	biology python
+MASTER_SITES=	http://www.canonware.com/download/Crux/
+
+MAINTAINER=	jasone@FreeBSD.org
+COMMENT=	Software toolkit for phylogenetic inference
+
+USE_BZIP2=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-python=${PYTHON_CMD} --disable-mpi
+USE_CSTD=	gnu99
+USE_GMAKE=	yes
+USE_PYTHON=	2.5+
 
-OPTIONS=       SYS_LINALG "Enable system ATLAS/LAPACK" Off
+OPTIONS_DEFINE=	SYS_LINALG
+SYS_LINALG_DESC=	Enable system ATLAS/LAPACK
 
 .include <bsd.port.pre.mk>
 
-CPPFLAGS+=      -I${LOCALBASE}/include
-LDFLAGS+=       -L${LOCALBASE}/lib
-USE_FORTRAN=   yes
-.if defined(WITH_SYS_LINALG)
-CONFIGURE_ARGS+= --enable-sys-linalg
-LIB_DEPENDS+=   atlas.2:${PORTSDIR}/math/atlas
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+USE_FORTRAN=	yes
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSYS_LINALG}
+CONFIGURE_ARGS+=	--enable-sys-linalg
+LIB_DEPENDS+=	atlas.2:${PORTSDIR}/math/atlas
 .else
-CONFIGURE_ARGS+= --disable-sys-linalg
+CONFIGURE_ARGS+=	--disable-sys-linalg
 .endif
 
 .if ${ARCH} == "powerpc" && ${OSVERSION} > 900000



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303180648.r2I6mtkW030683>