[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / R-pbdZMQ

File: [cvs.NetBSD.org] / pkgsrc / net / R-pbdZMQ / Makefile (download)

Revision 1.2, Sat Jul 28 14:40:51 2018 UTC (12 months, 3 weeks ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.1: +1 -2 lines

Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.

# $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"