1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

biology/vcflib: Update to 1.0.7

Fixes regression in 1.0.6

Made Zig language support a default off option
Zig is experimental and problematic

Reported by:    portscout
This commit is contained in:
Jason W. Bacon 2023-02-09 09:33:16 -06:00
parent 0e61c307e7
commit 5fee60fc3c
3 changed files with 21 additions and 8 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= vcflib
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.6
PORTREVISION= 1
DISTVERSION= 1.0.7
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
@ -10,8 +9,7 @@ WWW= https://github.com/vcflib/vcflib
LICENSE= MIT
BUILD_DEPENDS= zig>0:lang/zig \
pybind11>=0:devel/pybind11
BUILD_DEPENDS= pybind11>0:devel/pybind11
LIB_DEPENDS= libhts.so:biology/htslib \
libcurl.so:ftp/curl \
libwfa2.so:biology/wfa2-lib
@ -31,14 +29,29 @@ GH_TUPLE= ekg:fastahack:bb33265:fastahack/contrib/fastahack \
vcflib:tabixpp:v1.1.2:tabixpp/contrib/tabixpp
SHEBANG_FILES= scripts/*
# FIXME: Add Zig option + lang/zig dep
OPTIONS_DEFINE= ZIG
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
ZIG_DESC= Include Zig language support
ZIG_BUILD_DEPENDS= zig>0:lang/zig
CMAKE_ARGS+= -DWFA_GITMODULE=OFF -DWFALIB=${LOCALBASE}/lib/libwfa2.so
ZIG_CMAKE_OFF= -DZIG=OFF
# Clang and GCC disable sse2 by default on i386, but it's required for vcflib
CFLAGS_i386= -msse2
CONFLICTS_INSTALL= filevercmp libdisorder # include/disorder.h include/filevercmp.h include/pdflib.hpp
.include <bsd.port.options.mk>
post-stage:
${MV} ${STAGEDIR}${PREFIX}/bin/libvcflib.a ${STAGEDIR}${PREFIX}/lib
.if ${PORT_OPTIONS:MZIG}
${MV} ${STAGEDIR}/usr/lib/libzig.a ${STAGEDIR}${PREFIX}/lib
.endif
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1675089755
SHA256 (ekg-vcflib-v1.0.6_GH0.tar.gz) = 3598d1a9f6c936c58be6a567f249c1df879a49b57dc5a967b83a7856a16ceeb6
SIZE (ekg-vcflib-v1.0.6_GH0.tar.gz) = 23545077
TIMESTAMP = 1675907454
SHA256 (ekg-vcflib-v1.0.7_GH0.tar.gz) = 37ddf471c5fec2c7fa5d1c2c2e80b3e9d30e401ee3b82156f6ae994652950a38
SIZE (ekg-vcflib-v1.0.7_GH0.tar.gz) = 23546536
SHA256 (ekg-fastahack-bb33265_GH0.tar.gz) = f671609e1a8d7cacb00065bf307c90c46116af8e5cea939b06edcdbcc6d4bc2a
SIZE (ekg-fastahack-bb33265_GH0.tar.gz) = 18760
SHA256 (ekg-filevercmp-df20dcc_GH0.tar.gz) = d34bec614be638e05eb6fa419c936b9e7de58d50b1a096a5ca02aadb7db6b059

View File

@ -157,7 +157,7 @@ include/vcf-c-api.h
include/vec128int.h
include/veclib_types.h
lib/libvcflib.a
lib/libzig.a
%%ZIG%%lib/libzig.a
lib/pyvcflib%%PYTHON_EXT_SUFFIX%%.so
man/man1/abba-baba.1.gz
man/man1/bFst.1.gz