aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2009-06-10 01:25:02 +0000
committerJason Evans <jasone@FreeBSD.org>2009-06-10 01:25:02 +0000
commit91fb724efdece09d436b391efc1ced902a51d7b5 (patch)
treee12107290daaf1b74ba0c889f1ecdec72dfcd82b /biology
parentc1d5689da295ba72b3619930866f5e5da9ee18be (diff)
downloadports-91fb724efdece09d436b391efc1ced902a51d7b5.tar.gz
ports-91fb724efdece09d436b391efc1ced902a51d7b5.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/crux/Makefile7
-rw-r--r--biology/crux/pkg-plist1
2 files changed, 6 insertions, 2 deletions
diff --git a/biology/crux/Makefile b/biology/crux/Makefile
index fc9b8c38ae2d..437c646d1308 100644
--- a/biology/crux/Makefile
+++ b/biology/crux/Makefile
@@ -16,7 +16,7 @@ COMMENT= Software toolkit for phylogenetic inference
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--with-python=${PYTHON_CMD} --disable-mpi
-CONFIGURE_ENV+=EXTRA_CFLAGS="-std=gnu99"
+USE_CSTD= gnu99
USE_GMAKE= yes
USE_PYTHON= 2.5+
@@ -25,8 +25,11 @@ OPTIONS= SYS_LINALG "Enable system ATLAS/LAPACK" Off
.include <bsd.port.pre.mk>
.if defined(WITH_SYS_LINALG)
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-sys-linalg
-RUN_DEPENDS+= libatlas:${PORTSDIR}/math/atlas
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
.else
CONFIGURE_ARGS+= --disable-sys-linalg
USE_FORTRAN= yes
diff --git a/biology/crux/pkg-plist b/biology/crux/pkg-plist
index a7e4291e4b56..2b8bd492ac0b 100644
--- a/biology/crux/pkg-plist
+++ b/biology/crux/pkg-plist
@@ -51,6 +51,7 @@ bin/MrRogers
%%PYTHON_SITELIBDIR%%/Crux/include/Crux/libm.pxd
%%PYTHON_SITELIBDIR%%/Crux/include/Crux/libc.pxd
%%PYTHON_SITELIBDIR%%/Crux/include/Parsing.pxd
+%%PYTHON_SITELIBDIR%%/Parsing.so
share/Crux/lib/libCx.so
share/Crux/parsers/Fasta.log
share/Crux/parsers/Fasta.pickle