78fbf405d6
Changes in version 4.6.6: Bug fix for cd-hit-dup in variable length input when write out R1 reads Changes in version 4.6.5: Add filter for -aL option so that short sequences will be skipped if not satisfy representative sequences' -aL requirement. This will make compute faster in clustering settings where sequences in the same cluster are required to have similar length using -aL -AL option (e.g. -aL 0.9). Approved by: AMDmi3 (mentor) swills (mentor) Differential Revision: https://reviews.freebsd.org/D8186
37 lines
779 B
Makefile
37 lines
779 B
Makefile
# Created by: Jason Bacon <bacon4000@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cd-hit
|
|
PORTVERSION= 4.6.6
|
|
DISTVERSIONPREFIX= V
|
|
CATEGORIES= biology
|
|
|
|
MAINTAINER= bacon4000@gmail.com
|
|
COMMENT= Clustering and comparing protein or nucleotide sequences
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= weizhongli
|
|
GH_PROJECT= cdhit
|
|
|
|
USES= compiler:openmp gmake shebangfix
|
|
SHEBANG_FILES= ${WRKSRC}/*.pl
|
|
|
|
MAKE_FLAGS= openmp=yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|g++|${CXX}|g' \
|
|
-e 's|\$$(PREFIX)|$${DESTDIR}$${PREFIX}/bin|g' \
|
|
${WRKSRC}/${MAKEFILE}
|
|
@${REINPLACE_CMD} \
|
|
-e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
|
|
${WRKSRC}/*.pl
|
|
|
|
post-install:
|
|
@cd ${STAGEDIR}${PREFIX}/bin && \
|
|
${STRIP_CMD} cd-hit cd-hit-2d cd-hit-454 \
|
|
cd-hit-div cd-hit-est cd-hit-est-2d
|
|
|
|
.include <bsd.port.mk>
|