diff options
Diffstat (limited to 'pkgtools/R2pkg/Makefile')
-rw-r--r-- | pkgtools/R2pkg/Makefile | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/pkgtools/R2pkg/Makefile b/pkgtools/R2pkg/Makefile index 8935a078a03..45ee742c5df 100644 --- a/pkgtools/R2pkg/Makefile +++ b/pkgtools/R2pkg/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2019/10/13 09:43:26 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2019/10/13 13:26:22 rillig Exp $ # -VERS= 0.6.1 +VERS= 0.6.2 PKGNAME= R2pkg-${VERS} CATEGORIES= pkgtools @@ -10,33 +10,25 @@ HOMEPAGE= # none COMMENT= Tool to automate initial steps in building an R package LICENSE= modified-bsd -WRKSRC= ${WRKDIR} -NO_BUILD= yes -USE_LANGUAGES= # none -AUTO_MKDIRS= yes +WRKSRC= ${WRKDIR} +NO_BUILD= yes +USE_LANGUAGES= # none +AUTO_MKDIRS= yes -DEPENDS+= curl>=7.52.1:../../www/curl +DEPENDS+= curl>=7.52.1:../../www/curl -SUBST_CLASSES+= version -SUBST_STAGE.version= pre-configure -SUBST_MESSAGE.version= Substituting version in R2pkg.sh. -SUBST_FILES.version= R2pkg.sh -SUBST_VARS.version= VERS - -SUBST_CLASSES+= tools -SUBST_STAGE.tools= pre-configure -SUBST_MESSAGE.tools= Substituting tool locations. -SUBST_FILES.tools= R2pkg.sh -SUBST_VARS.tools= MAKE - -INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man8 +SUBST_CLASSES+= R +SUBST_STAGE.R= pre-configure +SUBST_FILES.R= R2pkg.sh +SUBST_VARS.R= VERS MAKE LIBDIR +LIBDIR= ${PREFIX}/lib/R2pkg do-extract: - ${CP} ${FILESDIR}/R2pkg.sh ${WRKSRC} - ${CP} ${FILESDIR}/R2pkg.8 ${WRKSRC} + cd ${FILESDIR} && ${CP} R2pkg.* ${WRKSRC} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/R2pkg.sh ${DESTDIR}${PREFIX}/sbin/R2pkg + ${INSTALL_DATA} ${WRKSRC}/R2pkg.R ${DESTDIR}${LIBDIR}/R2pkg.R ${INSTALL_MAN} ${WRKSRC}/R2pkg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/R2pkg.8 .include "../../math/R/buildlink3.mk" |