Date: Sat, 16 Nov 2019 16:50:42 +0000 (UTC) From: "Jason W. Bacon" <jwb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517763 - head/devel/R-cran-getopt Message-ID: <201911161650.xAGGogbj083047@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jwb Date: Sat Nov 16 16:50:42 2019 New Revision: 517763 URL: https://svnweb.freebsd.org/changeset/ports/517763 Log: devel/R-cran-getopt: Accept short and long flags in Rscript Package designed to be used with Rscript to write "#!" shebang scripts that accept short and long flags/options. Many users will prefer using instead the packages optparse or argparse which add extra features like automatically generated help option and usage, support for default values, positional argument support, etc. Added: head/devel/R-cran-getopt/ head/devel/R-cran-getopt/Makefile (contents, props changed) head/devel/R-cran-getopt/distinfo (contents, props changed) head/devel/R-cran-getopt/pkg-descr (contents, props changed) Added: head/devel/R-cran-getopt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/R-cran-getopt/Makefile Sat Nov 16 16:50:42 2019 (r517763) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= getopt +DISTVERSION= 1.20.3 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Accept short and long flags in Rscript + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cran:auto-plist + +post-patch: + @${REINPLACE_CMD} -i '' -e \ + 's|/path/to/Rscript|${LOCALBASE}/bin/Rscript|' \ + ${WRKSRC}/exec/example.R + +.include <bsd.port.mk> Added: head/devel/R-cran-getopt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/R-cran-getopt/distinfo Sat Nov 16 16:50:42 2019 (r517763) @@ -0,0 +1,3 @@ +TIMESTAMP = 1573917998 +SHA256 (getopt_1.20.3.tar.gz) = 531f5fdfdcd6b96a73df2b39928418de342160ac1b0043861e9ea844f9fbf57f +SIZE (getopt_1.20.3.tar.gz) = 18573 Added: head/devel/R-cran-getopt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/R-cran-getopt/pkg-descr Sat Nov 16 16:50:42 2019 (r517763) @@ -0,0 +1,7 @@ +Package designed to be used with Rscript to write "#!" shebang scripts that +accept short and long flags/options. Many users will prefer using instead the +packages optparse or argparse which add extra features like automatically +generated help option and usage, support for default values, positional +argument support, etc. + +WWW: https://cran.r-project.org/web/packages/getopt/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911161650.xAGGogbj083047>