mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
37 lines
711 B
Makefile
37 lines
711 B
Makefile
PORTNAME= cd-hit
|
|
DISTVERSIONPREFIX= V
|
|
DISTVERSION= 4.8.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= biology
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
COMMENT= Clustering and comparing protein or nucleotide sequences
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake shebangfix
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= weizhongli
|
|
GH_PROJECT= cdhit
|
|
SHEBANG_FILES= ${WRKSRC}/*.pl
|
|
|
|
MAKE_FLAGS= openmp=yes
|
|
|
|
.if !exists(/usr/include/omp.h)
|
|
USES+= compiler:gcc-c++11-lib
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
|
|
${WRKSRC}/cd-hit-2d-para.pl \
|
|
${WRKSRC}/cd-hit-para.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>
|