freebsd-ports/biology/cd-hit/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

38 lines
795 B
Makefile

# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$
PORTNAME= cd-hit
PORTVERSION= 4.6.6
PORTREVISION= 1
DISTVERSIONPREFIX= V
CATEGORIES= biology
MAINTAINER= bacon4000@gmail.com
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>