summaryrefslogtreecommitdiff
path: root/biology/tabixpp/Makefile
blob: 688838e665278b852478f11522158bd3d7490bad (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
PORTNAME=	tabixpp
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0-10
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g6bbe690
CATEGORIES=	biology

MAINTAINER=	jwb@FreeBSD.org
COMMENT=	C++ wrapper to tabix indexer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libhts.so:biology/htslib

USES=		compiler:c11 localbase:ldflags
USE_LDCONFIG=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	ekg

# Disable bundled htslib
MAKE_ENV=	HTS_HEADERS='' HTS_LIB=''
MAKEFILE=	${FILESDIR}/Makefile
INSTALL_TARGET=	install-strip
PLIST_FILES=	bin/tabix++ \
		include/tabix.hpp \
		lib/libtabix.a \
		lib/libtabix.so \
		lib/libtabix.so.1

post-install:
	${RLN} ${STAGEDIR}${PREFIX}/lib/libtabix.so.1 \
		${STAGEDIR}${PREFIX}/lib/libtabix.so

.include <bsd.port.mk>