blob: e3d31bb443fde6cc5c290fcff5ca8c4e72873fea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $FreeBSD$
PORTNAME= bedtools
DISTVERSIONPREFIX= v
DISTVERSION= 2.27.1
PORTREVISION= 2
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= Toolset for genome set arithmetic such as intersect, union
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
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-build:
@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|@\$$(CXX)|$$(CXX)|g' \
${WRKSRC}/*/Makefile \
${WRKSRC}/*/*/Makefile \
${WRKSRC}/*/*/*/Makefile \
${WRKSRC}/*/*/*/*/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bedtools
.include <bsd.port.mk>
|