From owner-svn-ports-all@freebsd.org Sat Nov 16 16:50:43 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE4CD1A93F4; Sat, 16 Nov 2019 16:50:43 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Fh6q4T1Bz4PDh; Sat, 16 Nov 2019 16:50:43 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7777B477E; Sat, 16 Nov 2019 16:50:43 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAGGohTs083049; Sat, 16 Nov 2019 16:50:43 GMT (envelope-from jwb@FreeBSD.org) Received: (from jwb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAGGogbj083047; Sat, 16 Nov 2019 16:50:42 GMT (envelope-from jwb@FreeBSD.org) Message-Id: <201911161650.xAGGogbj083047@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jwb set sender to jwb@FreeBSD.org using -f From: "Jason W. Bacon" Date: Sat, 16 Nov 2019 16:50:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517763 - head/devel/R-cran-getopt X-SVN-Group: ports-head X-SVN-Commit-Author: jwb X-SVN-Commit-Paths: head/devel/R-cran-getopt X-SVN-Commit-Revision: 517763 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 16:50:43 -0000 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 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/