summaryrefslogtreecommitdiff
path: root/net/R-pbdZMQ/Makefile
blob: da5e58102ddf884c9c19d063a620c678ab7292ca (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
# $NetBSD: Makefile,v 1.2 2018/07/28 14:40:51 brook Exp $

CATEGORIES=	net

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://r-pbd.org/
COMMENT=	Interface to ZeroMQ
LICENSE=	gnu-gpl-v3

R_PKGNAME=	pbdZMQ
R_PKGVER=	0.3-2

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c
USE_TOOLS+=	pkg-config sed

CHECK_PORTABILITY_SKIP=	src/zmqsrc/configure

BUILDLINK_API_DEPENDS.R+=	R>=3.2.0
.include "../../math/R/Makefile.extension"
.include "../../net/zeromq/buildlink3.mk"

post-install:
	sed -e 's,PKG_CONFIG.*,PKG_CONFIG = ${LOCALBASE}/bin/pkg-config,' \
		${WRKSRC}/src/Makeconf > \
		${DESTDIR}${PREFIX}/lib/R/library/pbdZMQ/etc/Makeconf

.include "../../mk/bsd.pkg.mk"