summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-07-02 12:52:43 +0000
committermarkd <markd@pkgsrc.org>2006-07-02 12:52:43 +0000
commit2d32d787592d0d444493f2248f2d5caa56ac22bc (patch)
treebdf2dfe4b83d326e92830e2f484da1c41ab200ae /math
parentd1fb48921a4e02d058f9346ed1aaed41e04495b8 (diff)
downloadpkgsrc-2d32d787592d0d444493f2248f2d5caa56ac22bc.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.extension12
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"