Skip to content

Commit

Permalink
biology/htslib: Update to 1.17
Browse files Browse the repository at this point in the history
Numerous enhancements and fixes

Changes:    https://github.com/samtools/htslib/releases

Reported by:    portscout
  • Loading branch information
Jason W. Bacon authored and Jason W. Bacon committed Feb 24, 2023
1 parent f9e56d1 commit 5ce4151
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 32 deletions.
2 changes: 1 addition & 1 deletion biology/htslib/Makefile
@@ -1,5 +1,5 @@
PORTNAME= htslib
DISTVERSION= 1.16
DISTVERSION= 1.17
CATEGORIES= biology devel
# Github generated distfiles are incomplete, so use custom tarball
MASTER_SITES= https://github.com/samtools/htslib/releases/download/${DISTVERSION}/
Expand Down
6 changes: 3 additions & 3 deletions biology/htslib/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1672094487
SHA256 (htslib-1.16.tar.bz2) = 606b7c7aff73734cf033ecd156f40529fa5792f54524952a28938ca0890d7924
SIZE (htslib-1.16.tar.bz2) = 4466776
TIMESTAMP = 1677245487
SHA256 (htslib-1.17.tar.bz2) = 763779288c40f07646ec7ad98b96c378c739171d162ad98398868783b721839f
SIZE (htslib-1.17.tar.bz2) = 4619884
37 changes: 9 additions & 28 deletions biology/htslib/files/patch-Makefile
@@ -1,33 +1,14 @@
--- Makefile.orig 2021-03-20 15:53:14 UTC
--- Makefile.orig 2023-02-24 13:35:28 UTC
+++ Makefile
@@ -53,13 +53,14 @@ man5dir = $(mandir)/man5
man7dir = $(mandir)/man7
pkgconfigdir= $(prefix)/libdata/pkgconfig

-MKDIR_P = mkdir -p
-INSTALL = install -p
-INSTALL_DATA = $(INSTALL) -m 644
-INSTALL_DIR = $(MKDIR_P) -m 755
-INSTALL_LIB = $(INSTALL_DATA)
-INSTALL_MAN = $(INSTALL_DATA)
@@ -60,9 +60,9 @@ INSTALL = install -p
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(MKDIR_P) -m 755
LIB_PERM = 644
-INSTALL_LIB = $(INSTALL) -m $(LIB_PERM)
+INSTALL_LIB = $(BSD_INSTALL_LIB)
INSTALL_MAN = $(INSTALL_DATA)
-INSTALL_PROGRAM = $(INSTALL)
+# Use ports BSD_INSTALL_PROGRAM to strip if WITH_DEBUG is not set
+MKDIR_P = mkdir -p
+INSTALL = install -p
+INSTALL_DATA = ${BSD_INSTALL_DATA}
+INSTALL_DIR = $(MKDIR_P)
+INSTALL_LIB = ${BSD_INSTALL_LIB}
+INSTALL_MAN = ${BSD_INSTALL_MAN}
+INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)

# Set by config.mk if plugins are enabled
plugindir =
@@ -102,7 +103,7 @@ BUILT_THRASH_PROGRAMS = \
test/thrash_threads6 \
test/thrash_threads7

-all: lib-static lib-shared $(BUILT_PROGRAMS) plugins $(BUILT_TEST_PROGRAMS) \
+all: lib-static lib-shared $(BUILT_PROGRAMS) plugins \
htslib_static.mk htslib-uninstalled.pc

ALL_CPPFLAGS = -I. $(CPPFLAGS)

0 comments on commit 5ce4151

Please sign in to comment.