Dependency for newer versions of textproc/p5-Markdown-Render
Created attachment 271613 [details] Add new port, devel/p5-CLI-Simple
Created attachment 271732 [details] Add new port, devel/p5-CLI-Simple ^Triage: remove trailing cruft.
(In reply to Mark Linimon from comment #2) Thank you
Hi, thanks for a new port submission. make check-plist fails with the following error: ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%SITE_ARCH%%/auto/CLI/Simple/.packlist ===> Error: Plist issues found. *** Error code 1 Can you check pkg-plist and re-submit a patch?
(In reply to Hiroki Tagato from comment #4) I don't understand... $ make -V SITE_ARCH /usr/local/lib/perl5/site_perl/mach/5.42 $ ls -al work/stage/usr/local/lib/perl5/site_perl/mach/5.42/auto/CLI/Simple/.packlist -rw-r--r-- 1 root wheel 830 Jun 15 16:08 work/stage/usr/local/lib/perl5/site_perl/mach/5.42/auto/CLI/Simple/.packlist ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%SITE_ARCH%%/auto/CLI/Simple/.packlist ===> Error: Plist issues found. *** Error code 1 Is it because it's a dotfile?
(In reply to Einar Bjarni Halldórsson from comment #5) I did a bit of research on this. After doing `make stage`, if you look into ${WRKDIR}/.PLIST.mktmp, you will find there are two lines containing ".packlist". So it was counted twice, which led to the check-plist error. Adding .packlist to the pkg-plist appears to be handled by the ports framework automatically. https://cgit.freebsd.org/ports/tree/Mk/Uses/perl5.mk#n293 So the bottom line is .packlist should be removed from the pkg-plist file. Can you try removing .packlist from the pkg-plist?
Created attachment 271847 [details] Add devel/p5-CLI-SImple, with fixed pkg-plist Removed %%SITE_ARCH%%/auto/CLI/Simple/.packlist from pkg-plist. Ports framework will add it for us
(In reply to Einar Bjarni Halldórsson from comment #7) Unfortunately, `poudriere testport` fails with another error: =>> Checking for staging violations... done =>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}): extra: usr/local/lib/perl5/5.42/perl/man/man3/cli-simple.3pm The build process tries to directly install the manpage under ${PREFIX} instead of ${STAGEDIR}${PREFIX}. The ${WRKSRC}/postamble appears to be the culprit. The paths in the file need to be corrected, or delete the file altogether if you think the manpage is not absolutely necessary.
Created attachment 271904 [details] New port, p5-CLI-Simple Now removes `$WRKSRC/postamble` after extracting. All that file does is symlink the man page to a new name, but does it in a way that's incompatible with FreeBSD. Better to just skip it.
(In reply to Einar Bjarni Halldórsson from comment #9) > post-extract: > ${RM} ${STAGEDIR}/postamble I'm sure you meant WRKSRC instead of STAGEDIR. I will amend the patch and commit it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b981e5bd3edbe2d1bf925d3c5983cee421d77d1d commit b981e5bd3edbe2d1bf925d3c5983cee421d77d1d Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2026-06-08 11:06:11 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2026-06-19 01:22:58 +0000 devel/p5-CLI-Simple: Add port: Minimalist object oriented base class for CLI applications Tired of writing the same 'ol boilerplate code for command line scripts? Want a standard, simple way to create a Perl script that takes options and commands? CLI::Simple makes it easy to create scripts that take options, commands and arguments. CLI::Simple is designed around the modulino pattern - Perl modules that can be executed directly as scripts. WWW: https://metacpan.org/pod/CLI::Simple PR: 295931 Reported by: Einar Bjarni Halldórsson <einar@isnic.is> (new maintainer) devel/Makefile | 1 + devel/p5-CLI-Simple/Makefile (new) | 39 +++++++++++++++++++++++++++++++++++++ devel/p5-CLI-Simple/distinfo (new) | 3 +++ devel/p5-CLI-Simple/pkg-descr (new) | 7 +++++++ devel/p5-CLI-Simple/pkg-plist (new) | 15 ++++++++++++++ 5 files changed, 65 insertions(+)
Committed, thanks!
(In reply to Hiroki Tagato from comment #12) Thank you very much! Just in time for 2.0.3, already opened a new PR :)