make check-plist ok, but portlint complains: %%PORTDOCS%%@dirrm %%DOCSDIR%% missing

Anton Shterenlikht mexas at bris.ac.uk
Mon May 12 17:36:19 UTC 2014


I'm updating devel/robodoc to staging.
As suggested on the wiki page,
env DEVELOPER=yes make stage && make check-plist && make package
runs fine, no issues.
However, portlint -A reports:

# portlint -A
WARN: /usr/ports/devel/robodoc/pkg-plist: Both ``%%PORTDOCS%%@dirrm %%DOCSDIR%%'' and ``%%PORTDOCS%%@unexec %D/%%DOCSDIR%% 2>/dev/null || true'' are missing.  At least one should be used.

I have in pkg-plist:

bin/robodoc
bin/robohdrs
man/man1/robodoc.1.gz
man/man1/robohdrs.1.gz
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/NEWS
%%DOCSDIR%%/README
%%DOCSDIR%%/manual.css
%%DOCSDIR%%/manual.html
%%DOCSDIR%%/robodoc_example.rc
%%EXAMPLESDIR%%/PerlExample/Source/Box.pm
%%EXAMPLESDIR%%/PerlExample/Source/Box/RectangularBox.pm
%%EXAMPLESDIR%%/PerlExample/Source/Box/SquareBox.pm
%%EXAMPLESDIR%%/PerlExample/Source/Cargo.txt
%%EXAMPLESDIR%%/PerlExample/Source/Loader.txt
%%EXAMPLESDIR%%/PerlExample/Source/SmartLoader.pm
%%EXAMPLESDIR%%/PerlExample/Source/TruckPacker.pl
%%EXAMPLESDIR%%/PerlExample/robodoc.rc
@dirrmtry %%DOCSDIR%%
@dirrmtry %%EXAMPLESDIR%%/PerlExample/Source/Box
@dirrmtry %%EXAMPLESDIR%%/PerlExample/Source
@dirrmtry %%EXAMPLESDIR%%/PerlExample
@dirrmtry %%EXAMPLESDIR%%

What's the problem?

As recommended on the wiki page I made
the docs and examples non-optional, because
they are very small.

Anton


More information about the freebsd-ports mailing list