summaryrefslogtreecommitdiff
path: root/biology/pbcopper/Makefile
blob: 3f2cb835b453424062dbac166c372e6d2b3cf08a (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
# $FreeBSD$

PORTNAME=	pbcopper
DISTVERSION=	0.4.1 # Test with biology/unanimity before upgrading!
PORTREVISION=	3
CATEGORIES=	biology

# As of March 2018, unanimity is no longer open source.
# See https://github.com/PacificBiosciences/ccs.
MAINTAINER=     ports@FreeBSD.org
COMMENT=	Core C++ library for Pacific Biosciences tools

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	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
USE_LDCONFIG=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	PacificBiosciences

post-install:
	${RLN} ${STAGEDIR}${PREFIX}/lib/libpbcopper.so.${PORTVERSION} \
		${STAGEDIR}${PREFIX}/lib/libpbcopper.so.0.4
	${RLN} ${STAGEDIR}${PREFIX}/lib/libpbcopper.so.${PORTVERSION} \
		${STAGEDIR}${PREFIX}/lib/libpbcopper.so.0

.include <bsd.port.mk>