mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
f49c0f9022
Fixed a bug that mistakenly removed a BAM/CRAM header line Reported by: portscout
40 lines
880 B
Makefile
40 lines
880 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bedtools
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.29.2
|
|
CATEGORIES= biology
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
COMMENT= Toolset for genome set arithmetic such as intersect, union
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= bash:shells/bash
|
|
|
|
USES= compiler:c++11-lang gmake python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= arq5x
|
|
GH_PROJECT= bedtools2
|
|
|
|
post-extract:
|
|
# Avoid conflict with C++20 <version> by adding .txt suffix
|
|
@${MV} ${WRKSRC}/src/utils/gzstream/version \
|
|
${WRKSRC}/src/utils/gzstream/version.txt
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|@\$$(CXX)|$$(CXX)|g' \
|
|
${WRKSRC}/*/Makefile \
|
|
${WRKSRC}/*/*/Makefile \
|
|
${WRKSRC}/*/*/*/Makefile
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bedtools
|
|
|
|
do-test:
|
|
(cd ${WRKSRC}/test && bash test.sh)
|
|
|
|
.include <bsd.port.mk>
|