mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
38 lines
743 B
Makefile
38 lines
743 B
Makefile
# $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>
|