blob: 96dea56c5b9c796743bccb2f5847e8d4ab7cf86e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $FreeBSD$
PORTNAME= cd-hit
PORTVERSION= 4.6.6
PORTREVISION= 4
DISTVERSIONPREFIX= V
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
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>
|