BSD Ports

devel/R-cran-getopt 1.20.4 MidnightBSD

Accept short and long flags in Rscript

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2
Categories
devel

Description

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.

In the other systems

The newest version among them is 2.42.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/R-cran-getopt1.20.4 behind since 2026-08-27no data-[email protected]-
FreeBSDdevel/R-cran-getopt1.21.1none known-[email protected]2026-10-11
NetBSDmisc/getopt by name1.1.6nb1 behind since 2026-08-27none known-[email protected]-
DragonFlydevel/R-cran-getopt1.20.4 behind since 2026-08-27none known-[email protected]-
HardenedBSDdevel/R-cran-getopt1.21.1no data-[email protected]-
GhostBSDdevel/R-cran-getopt1.21.1no data-[email protected]-
OPNsensemisc/getopt by name2.42.1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install getopt

From mports:

cd /usr/mports/devel/R-cran-getopt && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	getopt>0:devel/R-cran-getopt

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 1

Configuration

No options to configure.

USES
cran:auto-plist
Service scripts
none

Files

distinfo 1
FileSizeSHA256
getopt_1.20.4.tar.gz2312687d36cbe6dba41dbc1d78d845210266cdd08c7440d977d738a6e45db14221e8b