93e94bec97
The canonical form [1] of an R package Makefile includes the following: - The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as needed), and CATEGORIES. - HOMEPAGE is not present but defined in math/R/Makefile.extension to refer to the CRAN web page describing the package. Other relevant web pages are often linked from there via the URL field. This updates all current R packages to this form, which will make regular updates _much_ easier, especially using pkgtools/R2pkg. [1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
24 lines
586 B
Makefile
24 lines
586 B
Makefile
# $NetBSD: Makefile,v 1.4 2019/08/08 19:53:55 brook Exp $
|
|
|
|
R_PKGNAME= pbdZMQ
|
|
R_PKGVER= 0.3-3
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
COMMENT= Interface to ZeroMQ
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS+= pkg-config sed
|
|
|
|
CHECK_PORTABILITY_SKIP= src/zmqsrc/configure
|
|
|
|
post-install:
|
|
${SED} -e 's,PKG_CONFIG.*,PKG_CONFIG = ${PREFIX}/bin/pkg-config,' \
|
|
${WRKSRC}/src/Makeconf > \
|
|
${DESTDIR}${PREFIX}/lib/R/library/pbdZMQ/etc/Makeconf
|
|
|
|
.include "../../math/R/Makefile.extension"
|
|
.include "../../net/zeromq/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|