pkgsrc-WIP-changes archive

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

'Add vsearch: Versatile open-source tool for metagenomics'



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon@centosdev.local>
Pushed By:	outpaddling
Date:		Wed Mar 29 18:24:55 2017 -0500
Changeset:	4721a22f09945561a347f4c31792fd684134c4a8

Modified Files:
	Makefile
Added Files:
	vsearch/DESCR
	vsearch/Makefile
	vsearch/PLIST
	vsearch/TODO
	vsearch/distinfo
	vsearch/patches/patch-src_city.cc

Log Message:
'Add vsearch: 	Versatile open-source tool for metagenomics'

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

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

diffstat:
 Makefile                          |  1 +
 vsearch/DESCR                     |  1 +
 vsearch/Makefile                  | 29 +++++++++++++++++++++++++++++
 vsearch/PLIST                     |  3 +++
 vsearch/TODO                      |  1 +
 vsearch/distinfo                  |  7 +++++++
 vsearch/patches/patch-src_city.cc | 20 ++++++++++++++++++++
 7 files changed, 62 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 10da36f0a5..e4180459cb 100644
--- a/Makefile
+++ b/Makefile
@@ -4348,6 +4348,7 @@ SUBDIR+=	vncselector
 SUBDIR+=	vpnc
 SUBDIR+=	vpr
 SUBDIR+=	vreng
+SUBDIR+=	vsearch
 SUBDIR+=	vte
 SUBDIR+=	wackamole
 SUBDIR+=	waffle
diff --git a/vsearch/DESCR b/vsearch/DESCR
new file mode 100644
index 0000000000..2f422d319a
--- /dev/null
+++ b/vsearch/DESCR
@@ -0,0 +1 @@
+Versatile open-source tool for metagenomics.
diff --git a/vsearch/Makefile b/vsearch/Makefile
new file mode 100644
index 0000000000..30f0412bdd
--- /dev/null
+++ b/vsearch/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Fri May 20 17:39:48 CDT 2016               #
+###########################################################
+
+DISTNAME=	vsearch-${PORTVERSION}
+CATEGORIES=	biology
+MASTER_SITES=	${MASTER_SITE_GITHUB:=torognes/}
+GITHUB_PROJECT=	vsearch
+GITHUB_TAG=	v${PORTVERSION}
+
+MAINTAINER=	bacon4000%gmail.com@localhost
+HOMEPAGE=	https://github.com/torognes/vsearch
+COMMENT=	Versatile open-source tool for metagenomics
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	autoconf automake autoreconf gmake
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--disable-pdfman
+
+PORTVERSION=	2.4.2
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -fi
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/vsearch/PLIST b/vsearch/PLIST
new file mode 100644
index 0000000000..5fccaabb18
--- /dev/null
+++ b/vsearch/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/vsearch
+man/man1/vsearch.1
diff --git a/vsearch/TODO b/vsearch/TODO
new file mode 100644
index 0000000000..b687356e6b
--- /dev/null
+++ b/vsearch/TODO
@@ -0,0 +1 @@
+Clean up and test
diff --git a/vsearch/distinfo b/vsearch/distinfo
new file mode 100644
index 0000000000..096364eb18
--- /dev/null
+++ b/vsearch/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (vsearch-2.4.2.tar.gz) = b11c32391da4c1b2476b8e13915be619e099613b
+RMD160 (vsearch-2.4.2.tar.gz) = 0f4b6ef5911a9e84dd664f93a5e5fd757be82da4
+SHA512 (vsearch-2.4.2.tar.gz) = e4652a9df664f2ba519364c880716c753045976084b9ba2c1aad1c46c967172bbb78537f9110a49c1719c5b7274f854c918fb123aa52fed866c1a04c52751554
+Size (vsearch-2.4.2.tar.gz) = 201460 bytes
+SHA1 (patch-src_city.cc) = bfe1c8cf6da32aef6f45dc47da1adb8197711090
diff --git a/vsearch/patches/patch-src_city.cc b/vsearch/patches/patch-src_city.cc
new file mode 100644
index 0000000000..06085bfefc
--- /dev/null
+++ b/vsearch/patches/patch-src_city.cc
@@ -0,0 +1,20 @@
+$NetBSD$
+
+# Handle non-standardized swap macros
+
+--- src/city.cc.orig	2016-01-25 19:23:36 UTC
++++ src/city.cc
+@@ -69,6 +69,13 @@ static uint32 UNALIGNED_LOAD32(const cha
+ #define bswap_64(x) bswap64(x)
+ #endif
+ 
++#elif defined(__FreeBSD__)
++
++#define bswap_32(x) bswap32(x)
++#define bswap_64(x) bswap64(x)
++
++#include <sys/endian.h>
++
+ #else
+ 
+ #include <byteswap.h>


Home | Main Index | Thread Index | Old Index