head	1.10;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6;
locks; strict;
comment	@# @;


1.10
date	2013.03.19.04.57.07;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.11.17.05.54.51;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2011.11.10.14.30.51;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2011.09.23.22.21.20;	author amdmi3;	state Exp;
branches;
next	1.6;

1.6
date	2009.09.19.17.58.13;	author jasone;	state Exp;
branches;
next	1.5;

1.5
date	2009.09.13.00.07.41;	author gerald;	state Exp;
branches;
next	1.4;

1.4
date	2009.08.08.13.26.13;	author erwin;	state Exp;
branches;
next	1.3;

1.3
date	2009.06.21.06.18.51;	author jasone;	state Exp;
branches;
next	1.2;

1.2
date	2009.06.10.01.25.02;	author jasone;	state Exp;
branches;
next	1.1;

1.1
date	2009.06.08.23.49.59;	author jasone;	state Exp;
branches;
next	;


desc
@@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314529
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Jason Evans <jasone@@FreeBSD.org>
# $FreeBSD: head/biology/crux/Makefile 314529 2013-03-18 06:48:55Z jgh $

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_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

.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
.endif

.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
BROKEN=		Does not build on powerpc-9: error in pthreads
.endif

post-install:
	@@${PREFIX}/bin/crux -b -q /dev/null

.include <bsd.port.post.mk>
@


1.9
log
@Switch exporter over
@
text
@d1 2
a2 22
# New ports collection makefile for:   crux
# Date created:        8 June 2009
# Whom:                jasone
#
# $FreeBSD: head/biology/crux/Makefile 300895 2012-07-14 12:56:14Z beat $
#

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+
d4 18
a21 1
OPTIONS=       SYS_LINALG "Enable system ATLAS/LAPACK" Off
d25 9
a33 6
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
d35 1
a35 1
CONFIGURE_ARGS+= --disable-sys-linalg
@


1.8
log
@Does not build on powerpc-9: error in pthreads.

Hat:		portmgr
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.7
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d38 4
@


1.6
log
@Update to Crux 1.2.0.

Feature safe:	yes
@
text
@a29 1
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.5
log
@Bump PORTREVISION for everything that sets USE_FORTRAN=yes which now
implies lang/gcc44 up from lang/gcc43.

Approved by:	portmgr
@
text
@d9 2
a10 2
PORTVERSION=   1.1.0
PORTREVISION=	1
@


1.4
log
@Fix PKGORIGIN

Submitted by:	pointyhat
@
text
@d10 1
@


1.3
log
@Update to Crux 1.1.0.

Fix the ATLAS/LAPACK build option.
@
text
@d10 1
a10 1
CATEGORIES=    python biology
@


1.2
log
@Change CONFIGURE_ENV --> USE_CSTD. [1]

Add missing pkg-plist entry for Parsing.so. [2]

Change RUN_DEPENDS --> LIB_DEPENDS for optional math/atlas dependency.

Submitted by:	[1] erwin
Reported by:	[2] QAT
@
text
@d9 1
a9 1
PORTVERSION=   1.0.1
a26 1
.if defined(WITH_SYS_LINALG)
d29 3
a32 1
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
a35 1
USE_FORTRAN=   yes
@


1.1
log
@Add the biology/crux port.
@
text
@d19 1
a19 1
CONFIGURE_ENV+=EXTRA_CFLAGS="-std=gnu99"
d28 2
d31 2
a32 1
RUN_DEPENDS+=  libatlas:${PORTSDIR}/math/atlas
@

