Index: head/devel/R-cran-getopt/Makefile =================================================================== --- head/devel/R-cran-getopt/Makefile (nonexistent) +++ head/devel/R-cran-getopt/Makefile (revision 517763) @@ -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 Property changes on: head/devel/R-cran-getopt/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/R-cran-getopt/distinfo =================================================================== --- head/devel/R-cran-getopt/distinfo (nonexistent) +++ head/devel/R-cran-getopt/distinfo (revision 517763) @@ -0,0 +1,3 @@ +TIMESTAMP = 1573917998 +SHA256 (getopt_1.20.3.tar.gz) = 531f5fdfdcd6b96a73df2b39928418de342160ac1b0043861e9ea844f9fbf57f +SIZE (getopt_1.20.3.tar.gz) = 18573 Property changes on: head/devel/R-cran-getopt/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/R-cran-getopt/pkg-descr =================================================================== --- head/devel/R-cran-getopt/pkg-descr (nonexistent) +++ head/devel/R-cran-getopt/pkg-descr (revision 517763) @@ -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/ Property changes on: head/devel/R-cran-getopt/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property