aboutsummaryrefslogtreecommitdiffstats
path: root/biology/crux
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2009-06-10 09:25:02 +0800
committerjasone <jasone@FreeBSD.org>2009-06-10 09:25:02 +0800
commit07e7c915e60fcb1ac0450ced2e516e7764ee0c79 (patch)
tree9ee47bcdb9548c94e483210523d7a3598ebd31e2 /biology/crux
parentb95ecf2fadde32ed5cf622b640fe2dc6deca45f7 (diff)
downloadfreebsd-ports-gnome-07e7c915e60fcb1ac0450ced2e516e7764ee0c79.tar.gz
freebsd-ports-gnome-07e7c915e60fcb1ac0450ced2e516e7764ee0c79.tar.zst
freebsd-ports-gnome-07e7c915e60fcb1ac0450ced2e516e7764ee0c79.zip
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
Diffstat (limited to 'biology/crux')
-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