diff options
author | markd <markd> | 2006-07-02 12:52:43 +0000 |
---|---|---|
committer | markd <markd> | 2006-07-02 12:52:43 +0000 |
commit | 14db5091f25326f335928c20e7765dfd30f7a991 (patch) | |
tree | bdf2dfe4b83d326e92830e2f484da1c41ab200ae /math | |
parent | 6a40383bb5f3d08389ceefb5ca84df65de491b34 (diff) | |
download | pkgsrc-14db5091f25326f335928c20e7765dfd30f7a991.tar.gz |
Replace DEPENDS line with appropriate buildlink3.mk.
Also allow passing arguments to the "R CMD INSTALL"
Diffstat (limited to 'math')
-rw-r--r-- | math/R/Makefile.extension | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/math/R/Makefile.extension b/math/R/Makefile.extension index 1f449baf06d..bb2d340c999 100644 --- a/math/R/Makefile.extension +++ b/math/R/Makefile.extension @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.extension,v 1.8 2006/06/09 11:15:32 rillig Exp $ +# $NetBSD: Makefile.extension,v 1.9 2006/07/02 12:52:43 markd Exp $ # # This Makefile fragment is included by packages for R library packages. # @@ -16,14 +16,12 @@ CATEGORIES+= math R_HOMEPAGE_BASE= http://cran.r-project.org/src/contrib/Descriptions -R_DEPENDS?= R>=1.7.0 -DEPENDS+= ${R_DEPENDS}:../../math/R - WRKSRC= ${WRKDIR}/${R_PKGNAME} -NO_BUILD= YES + +do-build: do-install: - R_LIBS= ${LOCALBASE}/bin/R CMD INSTALL ${WRKDIR}/${R_PKGNAME} + R_LIBS= ${LOCALBASE}/bin/R CMD INSTALL ${R_PKG_INSTALL_ARGS} ${WRKDIR}/${R_PKGNAME} # automatically generate the PLIST R_LIB= lib/R/library @@ -42,3 +40,5 @@ R_GENERATE_PLIST= ${R_PACKLIST_FILES_CMD}; \ ${R_PACKLIST_DIRS_CMD}; \ ${R_PACKLIST_CMDS_CMD}; GENERATE_PLIST+= ${R_GENERATE_PLIST} + +.include "../../math/R/buildlink3.mk" |