{"added":null,"apiVersion":1,"behindSince":"2026-08-27","buildDepends":[],"categories":["devel"],"comment":"Accept short and long flags in Rscript","compare":"/compare/r-cran-getopt/index.json","dependentCount":null,"description":"Package designed to be used with Rscript to write \"#!\" shebang scripts that\naccept short and long flags/options. Many users will prefer using instead the\npackages optparse or argparse which add extra features like automatically\ngenerated help option and usage, support for default values, positional\nargument support, etc.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/R-cran-getopt/","kind":"port","lastUpdate":null,"license":["gpl2"],"maintainer":"ports@MidnightBSD.org","name":"getopt","newest":false,"newestVersion":"2.42.1","noVulnData":true,"origin":"devel/R-cran-getopt","otherSystems":[{"maintainer":"longros@FreeBSD.org","origin":"devel/R-cran-getopt","path":"/devel/R-cran-getopt/","system":"FreeBSD","updated":"2026-10-11","version":"1.21.1"},{"behindSince":"2026-08-27","maintainer":"pkgsrc-users@NetBSD.org","matchedBy":"name","origin":"misc/getopt","path":"/netbsd/misc/getopt/","system":"NetBSD","version":"1.1.6nb1"},{"behindSince":"2026-08-27","maintainer":"jwb@FreeBSD.org","origin":"devel/R-cran-getopt","path":"/dragonfly/devel/R-cran-getopt/","system":"DragonFly","version":"1.20.4"},{"maintainer":"jwb@FreeBSD.org","noVulnData":true,"origin":"devel/R-cran-getopt","path":"","system":"HardenedBSD","version":"1.21.1"},{"maintainer":"jwb@FreeBSD.org","noVulnData":true,"origin":"devel/R-cran-getopt","path":"","system":"GhostBSD","version":"1.21.1"},{"maintainer":"sunpoet@FreeBSD.org","matchedBy":"name","newest":true,"noVulnData":true,"origin":"misc/getopt","path":"","system":"OPNsense","version":"2.42.1"}],"packages":null,"pkgName":"getopt-1.20.4","related":["misc/getopt"],"repository":"mports","requiredBy":["devel/R-cran-optparse"],"requiredByCount":1,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"1.20.4","versions":null,"vulnerabilities":null,"www":"https://cran.r-project.org/web/packages/getopt/"}
