pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

seqtk: Upgrade to latest commit and use more rational versioning



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Thu Mar 8 16:01:42 2018 -0600
Changeset:	41e8eae1a90e347e82db11528fbac06e082f59db

Modified Files:
	seqtk/Makefile
	seqtk/PLIST
	seqtk/distinfo
	seqtk/patches/patch-Makefile

Log Message:
seqtk: Upgrade to latest commit and use more rational versioning

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=41e8eae1a90e347e82db11528fbac06e082f59db

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 seqtk/Makefile               | 19 ++++++-------------
 seqtk/PLIST                  |  1 -
 seqtk/distinfo               | 10 +++++-----
 seqtk/patches/patch-Makefile | 17 ++++++++++++-----
 4 files changed, 23 insertions(+), 24 deletions(-)

diffs:
diff --git a/seqtk/Makefile b/seqtk/Makefile
index aae5d55983..9f5f8da58b 100644
--- a/seqtk/Makefile
+++ b/seqtk/Makefile
@@ -1,38 +1,31 @@
 # $NetBSD$
 #
 ###########################################################
-#               Generated by fbsd2pkg                     #
+#                  Generated by fbsd2pkg                  #
+#              Thu Mar  8 15:45:29 CST 2018               #
 ###########################################################
 
 DISTNAME=	seqtk-${PORTVERSION}
 CATEGORIES=	biology
 MASTER_SITES=	${MASTER_SITE_GITHUB:=lh3/}
-GITHUB_TAG=	${PORTVERSION}
+GITHUB_PROJECT=	seqtk
+GITHUB_TAG=	d210c57d2ffa33da147e50f04f5aaaab1c160c8c
 
 MAINTAINER=	bacon%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/lh3/seqtk
 COMMENT=	Tool for processing sequences in FASTA/FASTQ format
 LICENSE=	gnu-gpl-v2
 
-# Just assuming C and C++: Adjust this!
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 
-WRKSRC=		${WRKDIR}/seqtk-${PORTVERSION}
+PORTVERSION=	1.2.20171107
 
-.if ${MACHINE_ARCH} == i386
-CFLAGS+=	-msse2
-.endif
-
-PORTVERSION=	4feb6e81444ab6bc44139dd3a125068f81ae4ad8
+INSTALLATION_DIRS=	bin
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/seqtk \
 		${DESTDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/trimadap \
-		${DESTDIR}${PREFIX}/bin
-
-INSTALLATION_DIRS=	bin
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/seqtk/PLIST b/seqtk/PLIST
index 5c094b35fb..628788e06e 100644
--- a/seqtk/PLIST
+++ b/seqtk/PLIST
@@ -1,3 +1,2 @@
 @comment $NetBSD$
 bin/seqtk
-bin/trimadap
diff --git a/seqtk/distinfo b/seqtk/distinfo
index 95603bbc2d..6d899e7cf3 100644
--- a/seqtk/distinfo
+++ b/seqtk/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-SHA1 (seqtk-4feb6e81444ab6bc44139dd3a125068f81ae4ad8-4feb6e81444ab6bc44139dd3a125068f81ae4ad8.tar.gz) = 07ed35a65dafa9eaf084f4049f2db8e3d2a6d0ff
-RMD160 (seqtk-4feb6e81444ab6bc44139dd3a125068f81ae4ad8-4feb6e81444ab6bc44139dd3a125068f81ae4ad8.tar.gz) = 420bb303e634c12f736677366d043c9ac2222a29
-SHA512 (seqtk-4feb6e81444ab6bc44139dd3a125068f81ae4ad8-4feb6e81444ab6bc44139dd3a125068f81ae4ad8.tar.gz) = 502eea151c65717f3ea8d8f9ea81038fc31c1b8f1cec3d90bff21f693a8cbabd7862810e8ded1cb6a9e11e6c6e69830af27b74494a67f7ed03e36847fa494f7e
-Size (seqtk-4feb6e81444ab6bc44139dd3a125068f81ae4ad8-4feb6e81444ab6bc44139dd3a125068f81ae4ad8.tar.gz) = 30936 bytes
-SHA1 (patch-Makefile) = 2b1ff004d7233a269573a1890b6b03a3fc0697b4
+SHA1 (seqtk-1.2.20171107-d210c57d2ffa33da147e50f04f5aaaab1c160c8c.tar.gz) = b4ece05a358e1681f000fb5d560d75e25deeba27
+RMD160 (seqtk-1.2.20171107-d210c57d2ffa33da147e50f04f5aaaab1c160c8c.tar.gz) = e6c2698f2c0e9e4b2bdb2a91f1e6b849cb638020
+SHA512 (seqtk-1.2.20171107-d210c57d2ffa33da147e50f04f5aaaab1c160c8c.tar.gz) = 696aeba59726a78cec59bea9b31b80bb7d45bb15273330789990e0ff6d28c07147810ab5850820b2d176284b7d3eaceeb3bc4fb1475a180784df4ce76af000f4
+Size (seqtk-1.2.20171107-d210c57d2ffa33da147e50f04f5aaaab1c160c8c.tar.gz) = 21165 bytes
+SHA1 (patch-Makefile) = 89c7ee1cc8ba6315d9b83ae674c92bf9a58e2eee
diff --git a/seqtk/patches/patch-Makefile b/seqtk/patches/patch-Makefile
index 5f53f38c8c..d069cf8e5e 100644
--- a/seqtk/patches/patch-Makefile
+++ b/seqtk/patches/patch-Makefile
@@ -1,13 +1,20 @@
 $NetBSD$
 
 # Respect env
---- Makefile.orig	2015-06-17 19:10:21 UTC
+
+--- Makefile.orig	2017-11-07 19:42:14.000000000 +0000
 +++ Makefile
-@@ -1,5 +1,5 @@
+@@ -1,10 +1,10 @@
 -CC=gcc
 -CFLAGS=-g -Wall -O2 -Wno-unused-function
-+CC ?=		gcc
-+CFLAGS ?=	-g -Wall -O2 -Wno-unused-function
++CC	?= gcc
++CFLAGS	?= -g -Wall -O2 -Wno-unused-function
+ 
+ all:seqtk
  
- all:seqtk trimadap
+ seqtk:seqtk.c khash.h kseq.h
+-		$(CC) $(CFLAGS) seqtk.c -o $@ -lz -lm
++		$(CC) $(CFLAGS) seqtk.c -o $@ $(LDFLAGS) -lz -lm
  
+ clean:
+ 		rm -fr gmon.out *.o ext/*.o a.out seqtk trimadap *~ *.a *.dSYM session*


Home | Main Index | Thread Index | Old Index