2018-04-10 10:08:24 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2018/04/10 08:08:24 wen Exp $
|
2004-09-26 06:41:24 +02:00
|
|
|
|
2018-04-10 10:08:24 +02:00
|
|
|
DISTNAME= File-BaseDir-0.08
|
2013-02-16 23:15:59 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
|
2004-09-26 06:41:24 +02:00
|
|
|
|
2013-02-16 23:15:59 +01:00
|
|
|
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}
|
2004-09-26 06:41:24 +02:00
|
|
|
|
2015-04-21 06:31:06 +02:00
|
|
|
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
|
2015-04-30 03:43:08 +02:00
|
|
|
BUILD_DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
|
2015-04-21 06:31:06 +02:00
|
|
|
|
2013-02-16 23:14:40 +01:00
|
|
|
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'
|
|
|
|
|
2007-11-29 17:00:40 +01:00
|
|
|
PERL5_MODULE_TYPE= Module::Build
|
2010-08-24 07:35:10 +02:00
|
|
|
PERL5_PACKLIST= auto/File/BaseDir/.packlist
|
2004-09-26 06:41:24 +02:00
|
|
|
|
2015-04-21 06:31:06 +02:00
|
|
|
pre-test:
|
|
|
|
${MKDIR} ${WRKDIR}/.home/.config/user-dirs.dirs
|
|
|
|
|
2004-09-26 06:41:24 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|