summaryrefslogtreecommitdiff
path: root/devel/p5-File-BaseDir/Makefile
blob: c664466b0492d8b882877325d9565939e1703cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.18 2014/05/29 23:35:53 wiz Exp $

DISTNAME=		File-BaseDir-0.03
PKGNAME=		p5-${DISTNAME}
PKGREVISION=		7
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}

PKG_INSTALLATION_TYPES=	overwrite pkgviews

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

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"