mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
biology/fastp: Update to 0.24.1
Bug fix release Changes: https://github.com/OpenGene/fastp/releases Reported by: portscout
This commit is contained in:
parent
5f188d6d70
commit
b3f6f8596d
3 changed files with 16 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= fastp
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.24.0
|
||||
DISTVERSION= 0.24.1
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= jwb@FreeBSD.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1731759959
|
||||
SHA256 (OpenGene-fastp-v0.24.0_GH0.tar.gz) = 42445973c57be9209c753027e99781261c69381013813c576ad447e413ff3d04
|
||||
SIZE (OpenGene-fastp-v0.24.0_GH0.tar.gz) = 164236
|
||||
TIMESTAMP = 1744893121
|
||||
SHA256 (OpenGene-fastp-v0.24.1_GH0.tar.gz) = dd8a1b7e0410a800f80939e4d14b116e90bbec83ef7294a5f13fdaaba3fcc719
|
||||
SIZE (OpenGene-fastp-v0.24.1_GH0.tar.gz) = 164307
|
||||
|
|
|
@ -1,28 +1,19 @@
|
|||
--- Makefile.orig 2021-10-19 02:19:29 UTC
|
||||
--- Makefile.orig 2025-04-16 10:13:35 UTC
|
||||
+++ Makefile
|
||||
@@ -2,11 +2,13 @@ DIR_INC := ./inc
|
||||
DIR_SRC := ./src
|
||||
DIR_OBJ := ./obj
|
||||
|
||||
-PREFIX ?= /usr/local
|
||||
-BINDIR ?= $(PREFIX)/bin
|
||||
-INCLUDE_DIRS ?=
|
||||
-LIBRARY_DIRS ?=
|
||||
+PREFIX ?= /usr/local
|
||||
+BINDIR ?= $(PREFIX)/bin
|
||||
+INCLUDE_DIRS ?=
|
||||
+LIBRARY_DIRS ?=
|
||||
@@ -7,6 +7,8 @@ LIBRARY_DIRS ?=
|
||||
INCLUDE_DIRS ?=
|
||||
LIBRARY_DIRS ?=
|
||||
|
||||
+STRIP ?= strip
|
||||
+
|
||||
SRC := $(wildcard ${DIR_SRC}/*.cpp)
|
||||
OBJ := $(patsubst %.cpp,${DIR_OBJ}/%.o,$(notdir ${SRC}))
|
||||
|
||||
@@ -15,15 +17,19 @@ TARGET := fastp
|
||||
@@ -15,15 +17,20 @@ CXX ?= g++
|
||||
BIN_TARGET := ${TARGET}
|
||||
|
||||
CXX ?= g++
|
||||
-CXXFLAGS := -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS}
|
||||
-CXXFLAGS := -std=c++11 -pthread -g -O3 -MD -MP -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS}
|
||||
+# Optional flags that the user can override by setting CXXFLAGS in the
|
||||
+# env or make argument
|
||||
+CXXFLAGS ?= -g -O3
|
||||
|
@ -35,16 +26,16 @@
|
|||
+LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS)
|
||||
STATIC_LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(STATIC_FLAGS) $(LIBS) $(STATIC_LD_FLAGS)
|
||||
|
||||
-
|
||||
|
||||
${BIN_TARGET}:${OBJ}
|
||||
- $(CXX) $(OBJ) -o $@ $(LD_FLAGS)
|
||||
+ $(CXX) $(OBJ) -o $@ $(LDFLAGS)
|
||||
|
||||
static:${OBJ}
|
||||
$(CXX) $(OBJ) -o ${BIN_TARGET} $(STATIC_LD_FLAGS)
|
||||
@@ -49,6 +55,11 @@ make_obj_dir:
|
||||
mkdir $(DIR_OBJ) ; \
|
||||
fi
|
||||
@@ -38,8 +45,13 @@ clean:
|
||||
@rm -rf $(DIR_OBJ)
|
||||
@rm -f $(TARGET)
|
||||
|
||||
+# Respect DESTDIR for staged installs (used by most package managers)
|
||||
install:
|
||||
|
@ -55,3 +46,5 @@
|
|||
+# Many package managers use install-strip target if debugging is not enabled
|
||||
+install-strip: install
|
||||
+ $(STRIP) $(DESTDIR)$(BINDIR)/$(TARGET)
|
||||
|
||||
-include $(OBJ:.o=.d)
|
||||
|
|
Loading…
Add table
Reference in a new issue