Created attachment 215022 [details]
Must be evaluated after bug 246841
7.1.1 is the latest version, please update the diff, and I can take it from here, thanks!
Created attachment 225868 [details]
SHAR file for version 7.1.1
- PORTREVISION should be removed for new ports.
- LICENSE seems wrong.
- It appears that BUILD_DEPENDS only need knitr, please verify.
- WWW should be https://roxygen2.r-lib.org/.
Please also consider submitting git format-patch in the future.
(In reply to Guangyuan Yang from comment #4)
Dependencies are detailed in https://cloud.r-project.org/web/packages/roxygen2/index.html, Imports section
I don't find TEST_DEPENDS
All others items modified
Created attachment 225898 [details]
Modified SHAR file for version 7.1.1
Build test failed for me - please correct. And please consider using git format-patch for future submissions, thanks.
[00:00:03] Error: devel/R-cran-roxygen2 depends on nonexistent origin 'devel/R-cran-commonmark'; Please contact maintainer of the port to fix this.
[00:00:03] Error: devel/R-cran-roxygen2 depends on nonexistent origin 'devel/R-cran-xml2'; Please contact maintainer of the port to fix this.
(In reply to Guangyuan Yang from comment #7)
Sorry again, I started to port it 1 year ago and the dependencies were in devel and not in textproc. The dependency packages stayed in devel on my machine.
Created attachment 225910 [details]
Modified SHAR with dependencies fix
(In reply to Jean-Paul Beconne from comment #9)
Still builds fail for me - please consider using Poudriere for testing, and have the QA result attached to your future patches.
ERROR: dependency 'knitr' is not available for package 'roxygen2'
* removing '/wrkdirs/usr/ports/devel/R-cran-roxygen2/work/stage/usr/local/lib/R/library/roxygen2'
*** Error code 1
(In reply to Guangyuan Yang from comment #10)
Sorry, it is a missing dependency. Dependencies have changed with the new version and I forgot this one.
I am testing the git diff for the new version
Created attachment 225920 [details]
Modified port in GIT diff format
A commit in branch main references this bug:
Author: Jean-Paul Beconne <firstname.lastname@example.org>
AuthorDate: 2021-06-21 01:56:10 +0000
Commit: Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-06-21 01:56:10 +0000
devel/R-cran-roxygen2: New port: In-Line Documentation for R
Approved by: lwhsu (mentor, implicit)
devel/Makefile | 1 +
devel/R-cran-roxygen2/Makefile (new) | 29 +++++++++++++++++++++++++++++
devel/R-cran-roxygen2/distinfo (new) | 3 +++
devel/R-cran-roxygen2/pkg-descr (new) | 6 ++++++
4 files changed, 39 insertions(+)