87edcb24b1
Install the new interchangeable BLAS system created by Thomas Orgis, currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and Apple's Accelerate.framework. This system allows the user to select any BLAS implementation without modifying packages or using package options, by setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details. This commit should not alter behavior of existing packages as the system defaults to Netlib BLAS/LAPACK, which until now has been the only supported implementation. Details: Add new mk/blas.buildlink3.mk for inclusion in dependent packages Install compatible Netlib math/blas and math/lapack packages Update math/blas and math/lapack MAINTAINER approved by adam@ OpenBLAS, cblas, and lapacke will follow in separate commits Update direct dependents to use mk/blas.buildlink3.mk Perform recursive revbump
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2020/10/12 21:51:58 bacon Exp $
|
|
|
|
DISTNAME= plink-1.07-src
|
|
PKGNAME= ${DISTNAME:-src=}
|
|
PKGREVISION= 1
|
|
CATEGORIES= biology
|
|
#MASTER_SITES= http://pngu.mgh.harvard.edu/~purcell/plink/dist/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= bacon@NetBSD.org
|
|
#HOMEPAGE= http://pngu.mgh.harvard.edu/~purcell/plink/
|
|
COMMENT= Whole-genome association analysis toolset
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c c++ fortran77
|
|
USE_TOOLS+= gmake
|
|
|
|
CXXFLAGS+= -Dfopen64=fopen
|
|
|
|
MAKE_FLAGS+= LIBDL=${DL_LIBS:Q}
|
|
|
|
LIB_LAPACK= -L${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -llapack -lblas -lf2c
|
|
MAKE_FLAGS+= WITH_LAPACK=1 LIB_LAPACK=${LIB_LAPACK:Q}
|
|
|
|
MAKE_ENV.SunOS+= LIB="-lsocket -lnsl"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/plink ${DESTDIR}${PREFIX}/bin
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ./plink --file test
|
|
cd ${WRKSRC} && ./plink --file test --freq
|
|
cd ${WRKSRC} && ./plink --file test --assoc
|
|
cd ${WRKSRC} && ./plink --file test --make-bed
|
|
|
|
.include "../../devel/libf2c/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/blas.buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|