Update to 2.9.
This release only adds a useless manpage (not installed).
Added a DOCS option to install the documentation (previously not installed)
Details
- Reviewers
skreuzer
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Gotcha and updated. That's what I was originally doing, but the check-orphans output when I had mismatches between the Makefile and pkg-plist used PORTDOCS, and it looked from the Mk files that it would work.
I do believe the .if ${PORT_OPTIONS:MDOCS} is entirely unnecessary with staging.
https://wiki.freebsd.org/ports/StageDir
PORTDOCS PORTEXAMPLES
To support PORTDOCS and PORTEXAMPLES, most of the time, there is no more need for hacks. Just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% as prefix in your pkg-plist, then the given files from the stagedir will or will not become part of the package according to DOCS and EXAMPLES port options.
You always put the docs into stagedir but the %%DOCS%% prefix in the plist takes care of moving it from the stagedir to install or not.
The .if ${PORT_OPTIONS:MDOCS} would still be useful if the docs have to be built using DOXYGEN for example, but I do not believe they are needed for prebuilt docs like this. I haven't been bothering. ;)
New patch looks good and passes a testport build in poudriere. Approved to commit. Thanks!