1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/biology/pbbam/Makefile
2019-04-12 06:36:31 +00:00

35 lines
910 B
Makefile

# $FreeBSD$
PORTNAME= pbbam
DISTVERSION= 0.18.0 # Test with biology/unanimity before upgrading!
PORTREVISION= 1
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= PacBio BAM C++ library, with SWIG bindings
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libhts.so:biology/htslib \
libboost_regex.so:devel/boost-libs
# Meson needs BOOST_ROOT=${LOCALBASE}
# https://github.com/mesonbuild/meson/issues/2239
USES= compiler:c++14-lang localbase meson pkgconfig python
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= PacificBiosciences
pre-configure:
@${REINPLACE_CMD} -e "s|'python'|'${PYTHON_VERSION}'|g" \
${WRKSRC}/meson.build
post-install:
${RLN} ${STAGEDIR}${PREFIX}/lib/libpbbam.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/libpbbam.so.0.18
${RLN} ${STAGEDIR}${PREFIX}/lib/libpbbam.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/libpbbam.so.0
.include <bsd.port.mk>