mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
c2a92a1aea
version 1.1.0 (via revision 464079).
38 lines
743 B
Makefile
38 lines
743 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cd-hit
|
|
PORTVERSION= 4.6.6
|
|
PORTREVISION= 3
|
|
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>
|