1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/biology/bedtools/Makefile
Jan Beich af3cf39e99 biology/bedtools: unbreak with libc++ 8
In file included from FileReader.cpp:1:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/initializer_list:47:
In file included from /usr/include/c++/v1/cstddef:38:
../../../utils//gzstream/version:1:1: error: expected unqualified-id
1.5 (08 Jan 2003)
^

PR:		236192
Approved by:	portmgr blanket
2019-03-04 06:55:08 +00:00

37 lines
841 B
Makefile

# $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>