Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 18:36:12 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        freebsd-ports@freebsd.org
Subject:   make check-plist ok, but portlint complains: %%PORTDOCS%%@dirrm %%DOCSDIR%% missing
Message-ID:  <201405121736.s4CHaCPe087201@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405121736.s4CHaCPe087201>