aboutsummaryrefslogtreecommitdiff
path: root/devel/argobots/Makefile
blob: 2008af9223cd90f7b181130485585da1474e3c47 (plain) (blame)
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
37
38
39
PORTNAME=	argobots
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1-186
DISTVERSIONSUFFIX=	-gdce6e72
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Lightweight, low-level threading and tasking framework
WWW=		https://www.argobots.org/

LICENSE=	BSD4CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

BUILD_DEPENDS=	${LOCALBASE}/bin/grep:textproc/gnugrep # workaround for https://github.com/pmodels/argobots/issues/375

USES=		autoreconf gmake libtool
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	pmodels

INSTALL_TARGET=	install-strip

BINARY_ALIAS=	grep=${LOCALBASE}/bin/grep # for https://github.com/pmodels/argobots/issues/375

PLIST_FILES=	include/abt.h \
		lib/libabt.a \
		lib/libabt.so \
		lib/libabt.so.1 \
		lib/libabt.so.1.1.0 \
		libdata/pkgconfig/argobots.pc

do-test: # at least one test never finishes, see https://github.com/pmodels/argobots/issues/376
	@cd ${WRKSRC}/test && \
		${GMAKE} check

.include <bsd.port.mk>