Here is an update for File::BaseDir. What's new upstream [0]:
- Add IconTheme and UserDir support - Various bugs and distribution fixes What's new in the port: - Add x11/xdg-user-dirs-gtk to RUN_DEPENDS, required by File::UserDirs - Add a patch to silence a warning by testing only {b,}lib (Test::Pod's default). There is no "bin" directory anyway. - Remove CPAN_AUTHOR (and this time i've make clean=dist) Testing: - 'make test' passes - There are 2 consumers: devel/p5-File-DesktopEntry and devel/p5-File-MimeInfo. They pass [1]. Comments/feedback are welcome! Charlène. [0] https://metacpan.org/changes/release/KIMRYAN/File-BaseDir-0.08 [1] http://0x0.st/zcdY.tgz Index: Makefile =================================================================== RCS file: /cvs/ports/devel/p5-File-BaseDir/Makefile,v retrieving revision 1.9 diff -u -p -u -p -r1.9 Makefile --- Makefile 20 Mar 2016 19:56:22 -0000 1.9 +++ Makefile 3 May 2019 22:45:31 -0000 @@ -2,8 +2,7 @@ COMMENT= use the freedesktop Base Directory Specification -DISTNAME= File-BaseDir-0.03 -REVISION= 0 +DISTNAME= File-BaseDir-0.08 CATEGORIES= devel # perl @@ -13,7 +12,10 @@ MODULES= cpan PKG_ARCH= * CONFIGURE_STYLE= modbuild -CPAN_AUTHOR= PARDUS +RUN_DEPENDS= devel/p5-IPC-System-Simple \ + x11/xdg-user-dirs-gtk + +TEST_DEPENDS= sysutils/p5-File-Which MAKE_ENV+= TEST_POD=1 Index: distinfo =================================================================== RCS file: /cvs/ports/devel/p5-File-BaseDir/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 18 Jan 2015 03:13:26 -0000 1.4 +++ distinfo 3 May 2019 22:45:31 -0000 @@ -1,2 +1,2 @@ -SHA256 (File-BaseDir-0.03.tar.gz) = ACnLp6O12KpffQPLG3uivPKCk4L38mqjvuBvzoYRqIY= -SIZE (File-BaseDir-0.03.tar.gz) = 6065 +SHA256 (File-BaseDir-0.08.tar.gz) = wGX80+LyKudpk3vMlxuR+AKU1QCfrBQL+6g799NTBeM= +SIZE (File-BaseDir-0.08.tar.gz) = 10052 Index: patches/patch-t_04_pod_ok_t =================================================================== RCS file: patches/patch-t_04_pod_ok_t diff -N patches/patch-t_04_pod_ok_t --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-t_04_pod_ok_t 3 May 2019 22:45:31 -0000 @@ -0,0 +1,17 @@ +$OpenBSD$ + +Fix: +Can't stat bin: No such file or directory at +/usr/local/libdata/perl5/site_perl/Test/Pod.pm line 223. + +We let Test::Pod check in blib or lib instead. + +Index: t/04_pod_ok.t +--- t/04_pod_ok.t.orig ++++ t/04_pod_ok.t +@@ -1,4 +1,4 @@ + use Test::More; + eval "use Test::Pod 1.00"; + plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; +-all_pod_files_ok( Test::Pod::all_pod_files(qw/bin lib/) ); ++all_pod_files_ok( Test::Pod::all_pod_files() ); Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/p5-File-BaseDir/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 PLIST --- pkg/PLIST 18 Mar 2007 19:54:45 -0000 1.1.1.1 +++ pkg/PLIST 3 May 2019 22:45:31 -0000 @@ -1,4 +1,8 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/18 19:54:45 jasper Exp $ ${P5SITE}/File/ ${P5SITE}/File/BaseDir.pm +${P5SITE}/File/IconTheme.pm +${P5SITE}/File/UserDirs.pm @man man/man3p/File::BaseDir.3p +@man man/man3p/File::IconTheme.3p +@man man/man3p/File::UserDirs.3p