notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details on branch 2026Q2
htslib C library for high-throughput sequencing data formats
1.23.1 biology on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.23.1Version of this port present on the latest quarterly branch.
Maintainer: jwb@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-21 20:18:18
Last Update: 2026-04-21 20:16:07
Commit Hash: d690c7c
Also Listed In: devel
License: BSD3CLAUSE MIT
WWW:
https://www.htslib.org/
Description:
HTSlib is an implementation of a unified C library for accessing common file formats, such as SAM, CRAM, VCF, and BCF, used for high-throughput sequencing data. It is the core library used by samtools and bcftools.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (55 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/htslib-1.23.1/catalog.mk
  3. /usr/local/share/licenses/htslib-1.23.1/LICENSE
  4. /usr/local/share/licenses/htslib-1.23.1/BSD3CLAUSE
  5. /usr/local/share/licenses/htslib-1.23.1/MIT
  6. bin/annot-tsv
  7. bin/bgzip
  8. bin/htsfile
  9. bin/ref-cache
  10. bin/tabix
  11. include/htslib/bgzf.h
  12. include/htslib/cram.h
  13. include/htslib/faidx.h
  14. include/htslib/hfile.h
  15. include/htslib/hts.h
  16. include/htslib/hts_defs.h
  17. include/htslib/hts_endian.h
  18. include/htslib/hts_expr.h
  19. include/htslib/hts_log.h
  20. include/htslib/hts_os.h
  21. include/htslib/kbitset.h
  22. include/htslib/kfunc.h
  23. include/htslib/khash.h
  24. include/htslib/khash_str2int.h
  25. include/htslib/klist.h
  26. include/htslib/knetfile.h
  27. include/htslib/kroundup.h
  28. include/htslib/kseq.h
  29. include/htslib/ksort.h
  30. include/htslib/kstring.h
  31. include/htslib/regidx.h
  32. include/htslib/sam.h
  33. include/htslib/synced_bcf_reader.h
  34. include/htslib/tbx.h
  35. include/htslib/thread_pool.h
  36. include/htslib/vcf.h
  37. include/htslib/vcf_sweep.h
  38. include/htslib/vcfutils.h
  39. lib/libhts.a
  40. lib/libhts.so
  41. lib/libhts.so.1.23.1
  42. lib/libhts.so.3
  43. libdata/pkgconfig/htslib.pc
  44. share/man/man1/annot-tsv.1.gz
  45. share/man/man1/bgzip.1.gz
  46. share/man/man1/htsfile.1.gz
  47. share/man/man1/ref-cache.1.gz
  48. share/man/man1/tabix.1.gz
  49. share/man/man5/faidx.5.gz
  50. share/man/man5/sam.5.gz
  51. share/man/man5/vcf.5.gz
  52. share/man/man7/htslib-s3-plugin.7.gz
  53. @owner
  54. @group
  55. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • htslib>0:biology/htslib
To install the port:
cd /usr/ports/biology/htslib/ && make install clean
To add the package, run one of these commands:
  • pkg install biology/htslib
  • pkg install htslib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: htslib
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1774783712 SHA256 (htslib-1.23.1.tar.bz2) = f8a3f36effeec38f043c53ab1f2d9ed45064f14205c5ef8e3c815763b90803c4 SIZE (htslib-1.23.1.tar.bz2) = 4987046

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. autoconf>=2.73 : devel/autoconf
  3. automake>=1.18.1 : devel/automake
Test dependencies:
  1. bash : shells/bash
  2. perl5>=5.42.r<5.43 : lang/perl5.42
Library dependencies:
  1. libdeflate.so : archivers/libdeflate
  2. libcurl.so : ftp/curl
This port is required by:
for Libraries
  1. biology/ugene

Configuration Options:
===> The following configuration options are available for htslib-1.23.1: CURL=on: Use libcurl for network file access (HTTPS and S3 support). PLUGINS=on: Build and/or install plugins ===> Use 'make config' to modify these settings
Options name:
biology_htslib
USES:
autoreconf cpe gmake localbase:ldflags perl5 shebangfix tar:bzip2 ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/samtools/htslib/releases/download/1.23.1/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.23.1
21 Apr 2026 20:16:07
commit hash: d690c7ca6d700e37ed60752cfc238320a3275ee1commit hash: d690c7ca6d700e37ed60752cfc238320a3275ee1commit hash: d690c7ca6d700e37ed60752cfc238320a3275ee1commit hash: d690c7ca6d700e37ed60752cfc238320a3275ee1 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
biology/htslib: fix build on armv7 (again)

The patches provided by me in 2023 to fix the build on armv7 were
upstreamed shortly after.  In a subsequent update to the port, it
appears that the maintainer had then reversed these patches (?!),
effectively undoing my now upstreamed bug fix.

Remove the bogus patches to fix the build.

Fixes:		aafe5d31c5f3afdaad0f6345bee06e7a3e2c5ced
See also:	https://github.com/samtools/htscodecs/issues/81
Approved by:	portmgr (build fix blanket)
MFH:		2026Q2

(cherry picked from commit 89c7d793da2638cfdc15252825a5548c3eb2f147)

Number of commits found: 1