15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# Created by: Jason Evans <jasone@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= crux
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= biology python
|
|
MASTER_SITES= http://www.canonware.com/download/Crux/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Software toolkit for phylogenetic inference
|
|
|
|
LICENSE= BSD2CLAUSE BSD3CLAUSE
|
|
LICENSE_COMB= multi
|
|
|
|
USES= fortran gmake python tar:bzip2
|
|
USE_CSTD= gnu99
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/lib \
|
|
--with-python=${PYTHON_CMD} \
|
|
--disable-mpi
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= SYS_LINALG
|
|
SYS_LINALG_DESC= Enable system ATLAS/LAPACK
|
|
SYS_LINALG_LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas
|
|
SYS_LINALG_CONFIGURE_ENABLE= sys-linalg
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OSVERSION} > 900000
|
|
BROKEN_powerpc= Does not build on powerpc-9: error in pthreads
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|\([[:blank:]]\)\($$(BINDIR)\)|\1$$(DESTDIR)\2| ; \
|
|
s|\([[:blank:]]\)\($$(DATADIR)\)|\1$$(DESTDIR)\2| ; \
|
|
s|\(,\)\(@site_packages@\)|\1$$(DESTDIR)\2| ; \
|
|
s|\([[:blank:]]\)\(@site_packages@\)|\1$$(DESTDIR)\2|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@(${FIND} ${STAGEDIR}${PREFIX}/lib/Crux/lib -maxdepth 1 -type f \
|
|
-name "*.so" | ${XARGS} ${STRIP_CMD})
|
|
@(${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -maxdepth 3 -type f \
|
|
-name "*.so" | ${XARGS} ${STRIP_CMD})
|
|
|
|
.include <bsd.port.mk>
|