R-optparse: Command Line Option Parser
This commit is contained in:
parent
71d25a5ee8
commit
ebd5bd1391
1
Makefile
1
Makefile
|
@ -53,6 +53,7 @@ SUBDIR+= R-gsl
|
|||
SUBDIR+= R-mclust
|
||||
SUBDIR+= R-mpfr
|
||||
SUBDIR+= R-np
|
||||
SUBDIR+= R-optparse
|
||||
SUBDIR+= R-quantreg
|
||||
SUBDIR+= R-readxl
|
||||
SUBDIR+= R-rematch
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
A command line parser inspired by Python's 'optparse' library to be
|
||||
used with Rscript to write "#!" shebang scripts that accept short and
|
||||
long flag/options.
|
|
@ -0,0 +1,24 @@
|
|||
# $NetBSD$
|
||||
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
|
||||
|
||||
MAINTAINER= bacon@NetBSD.org
|
||||
HOMEPAGE= ${R_HOMEPAGE_BASE}/optparse/
|
||||
COMMENT= Command Line Option Parser
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
R_PKGNAME= optparse
|
||||
R_PKGVER= 1.6.0
|
||||
|
||||
DEPENDS+= R-getopt>=1.20.2:../../wip/R-getopt
|
||||
|
||||
REPLACE_R= exec/example.R exec/display_file.R
|
||||
|
||||
REPLACE_INTERPRETER+= R
|
||||
REPLACE.R.old= /usr/bin/env Rscript
|
||||
REPLACE.R.new= ${PREFIX}/bin/R
|
||||
REPLACE_FILES.R= ${REPLACE_R}
|
||||
|
||||
.include "../../math/R/Makefile.extension"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,6 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (R/optparse_1.6.0.tar.gz) = 4c099b8a12ebedc97b297a0151192dcd040465e4
|
||||
RMD160 (R/optparse_1.6.0.tar.gz) = f4c11072f4d89db6d6babac69b91be4be50ba184
|
||||
SHA512 (R/optparse_1.6.0.tar.gz) = 4fd72c6daf760b4bd229e7a1e3f9849fa0ca05358c4ed1e5f535707e2e2523f1a0bb1c6ed1b1b1a94914fb7199ef0d179069f3c1242e23bbca5536e3b80a101f
|
||||
Size (R/optparse_1.6.0.tar.gz) = 34931 bytes
|
Loading…
Reference in New Issue