pkgsrc/devel/p5-File-BaseDir/Makefile
wen 38cae01c83 Update to 0.08
Upstream changes:
0.08 13 Mar 2018
    Fix for failing test in 03_userdirs.t, thanks to Pierre Labastie
2018-04-10 08:08:24 +00:00

32 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2018/04/10 08:08:24 wen Exp $
DISTNAME= File-BaseDir-0.08
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/File-BaseDir/
COMMENT= Perl module for the XDG Base Directory Specification
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-IPC-System-Simple-[0-9]*:../../devel/p5-IPC-System-Simple
# for make test
BUILD_DEPENDS+= xdg-user-dirs-[0-9]*:../../x11/xdg-user-dirs
BUILD_DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
SHAREDIR= ${PREFIX}/share
SHAREDIR_SPLIT= ${SHAREDIR:S/\// /g}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-configure
SUBST_FILES.paths= lib/File/BaseDir.pm t/01_vars.t t/03_OO.t
SUBST_SED.paths= -e 's|@SHAREDIR_SPLIT@|${SHAREDIR_SPLIT}|g'
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/File/BaseDir/.packlist
pre-test:
${MKDIR} ${WRKDIR}/.home/.config/user-dirs.dirs
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"