1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/biology/vcflib/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

57 lines
1.6 KiB
Makefile

PORTNAME= vcflib
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-rc1-130
PORTREVISION= 1
DISTVERSIONSUFFIX= -g7e3d806
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= C++ library and CLI tools for parsing and manipulating VCF files
LICENSE= MIT
BROKEN_aarch64= fails to compile: mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
BROKEN_riscv64= fails to compile: mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
LIB_DEPENDS= libhts.so:biology/htslib \
libtabix.so:biology/tabixpp \
libsw.so:biology/smithwaterman
COMMON_DEPENDS= fastahack:biology/fastahack \
filevercmp:sysutils/filevercmp \
fsom:science/fsom \
multichoose>=1.0.3:math/multichoose \
interval_tree_test:math/intervaltree
BUILD_DEPENDS= ${COMMON_DEPENDS}
RUN_DEPENDS= ${COMMON_DEPENDS}
USES= gmake shebangfix
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= ekg
CXXFLAGS+= -I${LOCALBASE}/include/smithwaterman \
-I${LOCALBASE}/include/multichoose \
-I${LOCALBASE}/include/filevercmp \
-I${LOCALBASE}/include/fastahack \
-I${LOCALBASE}/include/intervaltree \
-DVERSION='\"${PORTVERSION}\"'
# Clang and GCC disable sse2 by default on i386, but it's required for vcflib
CFLAGS_i386= -msse2
MAKEFILE= ${FILESDIR}/Makefile.external-libs
INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64le
CFLAGS+= -DNO_WARN_X86_INTRINSICS
USES+= compiler:gcc-c++11-lib
.endif
post-install:
${RLN} ${STAGEDIR}${PREFIX}/lib/libvcflib.so.1 \
${STAGEDIR}${PREFIX}/lib/libvcflib.so
.include <bsd.port.mk>