1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/biology/cd-hit/Makefile
Jason W. Bacon 8e9576f6ee biology/cd-hit: Upgrade to 4.8.1
Convert Makefile REINPLACE to patch for sending upstream
2019-03-14 23:59:47 +00:00

34 lines
652 B
Makefile

# $FreeBSD$
PORTNAME= cd-hit
DISTVERSIONPREFIX= V
DISTVERSION= 4.8.1
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= Clustering and comparing protein or nucleotide sequences
LICENSE= GPLv2
USES= compiler:openmp gmake shebangfix
USE_GITHUB= yes
GH_ACCOUNT= weizhongli
GH_PROJECT= cdhit
SHEBANG_FILES= ${WRKSRC}/*.pl
MAKE_FLAGS= openmp=yes
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>