Skip to content

Commit

Permalink
Import biology/cdhit as cdhit-4.6.4.
Browse files Browse the repository at this point in the history
Packaged in pkgsrc-wip by Jason Bacon.

CD-HIT is a very widely used program for clustering and comparing protein or
nucleotide sequences.
  • Loading branch information
iamleot committed Oct 12, 2015
1 parent 2ce09dd commit da01647
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
2 changes: 2 additions & 0 deletions biology/cdhit/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CD-HIT is a very widely used program for clustering and comparing protein or
nucleotide sequences.
44 changes: 44 additions & 0 deletions biology/cdhit/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.1 2015/10/12 16:48:08 leot Exp $
#
###########################################################
# Generated by fbsd2pkg #
###########################################################

DISTNAME= cdhit-4.6.4
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=weizhongli/}
GITHUB_TAG= V${PKGVERSION_NOREV}

MAINTAINER= [email protected]
HOMEPAGE= http://weizhong-lab.ucsd.edu/cd-hit/
COMMENT= Clustering and comparing protein or nucleotide sequences
LICENSE= gnu-gpl-v2

USE_LANGUAGES= c++
USE_TOOLS+= bash:run gmake perl
REPLACE_PERL= *.pl

# Restore default overridden by GITHUB_TAG
WRKSRC= ${WRKDIR}/${DISTNAME}

SUBST_CLASSES+= compiler
SUBST_STAGE.compiler= post-patch
SUBST_MESSAGE.compiler= Fixing hardcoded compiler name
SUBST_FILES.compiler= ${MAKE_FILE}
SUBST_SED.compiler= -e 's|g++|${CXX:Q}|g'

SUBST_CLASSES+= bash
SUBST_STAGE.bash= post-patch
SUBST_MESSAGE.bash= Fixing bash path
SUBST_FILES.bash= cd-hit-2d-para.pl cd-hit-para.pl
SUBST_SED.bash= -e 's|/bin/bash|${PREFIX}/bin/bash|g'

MAKE_FLAGS+= openmp=yes PREFIX=${DESTDIR}${PREFIX}/bin

DOCDIR= ${PREFIX}/share/doc/cdhit
INSTALLATION_DIRS+= bin ${DOCDIR}

post-install:
${INSTALL_DATA} ${WRKSRC}/doc/cdhit-user-guide.pdf ${DESTDIR}${DOCDIR}

.include "../../mk/bsd.pkg.mk"
35 changes: 35 additions & 0 deletions biology/cdhit/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@comment $NetBSD: PLIST,v 1.1 2015/10/12 16:48:08 leot Exp $
bin/cd-hit
bin/cd-hit-2d
bin/cd-hit-2d-para.pl
bin/cd-hit-454
bin/cd-hit-div
bin/cd-hit-div.pl
bin/cd-hit-est
bin/cd-hit-est-2d
bin/cd-hit-para.pl
bin/clstr2tree.pl
bin/clstr2txt.pl
bin/clstr2xml.pl
bin/clstr_cut.pl
bin/clstr_merge.pl
bin/clstr_merge_noorder.pl
bin/clstr_quality_eval.pl
bin/clstr_quality_eval_by_link.pl
bin/clstr_reduce.pl
bin/clstr_renumber.pl
bin/clstr_rep.pl
bin/clstr_reps_faa_rev.pl
bin/clstr_rev.pl
bin/clstr_select.pl
bin/clstr_select_rep.pl
bin/clstr_size_histogram.pl
bin/clstr_size_stat.pl
bin/clstr_sort_by.pl
bin/clstr_sort_prot_by.pl
bin/clstr_sql_tbl.pl
bin/clstr_sql_tbl_sort.pl
bin/make_multi_seq.pl
bin/plot_2d.pl
bin/plot_len1.pl
share/doc/cdhit/cdhit-user-guide.pdf
5 changes: 5 additions & 0 deletions biology/cdhit/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/10/12 16:48:08 leot Exp $

SHA1 (cdhit-4.6.4.tar.gz) = 3606a8200e62ac60c9dd782a57bec426256e6fa8
RMD160 (cdhit-4.6.4.tar.gz) = a94a29103393dded87000173d8eb4ec1a1e0614f
Size (cdhit-4.6.4.tar.gz) = 1148426 bytes

0 comments on commit da01647

Please sign in to comment.