[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / p5-RT-Extension-ArticleTemplates

File: [cvs.NetBSD.org] / pkgsrc / devel / p5-RT-Extension-ArticleTemplates / Makefile (download)

Revision 1.5, Wed Sep 23 23:34:52 2020 UTC (3 months, 4 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Changes since 1.4: +2 -2 lines

(devel/p5-RT-Extension-ArticleTemplates) Adjust PERL5_PACKLIST_DIR (by hardcoding, sorry)

# $NetBSD: Makefile,v 1.5 2020/09/23 23:34:52 mef Exp $

DISTNAME=	RT-Extension-ArticleTemplates-1.02
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=../../authors/id/B/BP/BPS/}

MAINTAINER=	spz@NetBSD.org
HOMEPAGE=	https://metacpan.org/pod/RT::Extension::ArticleTemplates
COMMENT=	Perl extension for RT
LICENSE=	gnu-gpl-v2

PERL5_MODULE_TYPE=	Module::Install

BUILD_DEPENDS+=	p5-Module-Install-RTx>=0.40:../../devel/p5-Module-Install-RTx
BUILD_DEPENDS+=	p5-Module-Install-ReadmeFromPod>=0.30:../../devel/p5-Module-Install-ReadmeFromPod

USE_TOOLS=	perl

MAKE_ENV+=	RTHOME="${PREFIX}/share/rt4/"
MAKE_ENV+=	INSTALLDIRS="vendor"
MAKE_ENV+=	DESTDIR=${DESTDIR}

DEPENDS+=	rt4-[0-9]*:../../devel/rt4
DEPENDS+=	p5-IO-All-[0-9]*:../../devel/p5-IO-All

.include "../../devel/rt4/dirs.mk"

PERL5_API=	${PERL5_API_cmd:sh}
PERL5_API_cmd=	${TOOLS_CMD.perl} -e 'use Config; print $$Config{api_versionstring};'

PERL5_ARCH=	${PERL5_ARCH_cmd:sh}
PERL5_ARCH_cmd=	${TOOLS_CMD.perl} -e 'use Config; print $$Config{archname};'

PERL5_PACKLIST_DIR=	${PREFIX}/share/rt4/plugins/RT-Extension-ArticleTemplates
PERL5_PACKLIST=		auto/RT/Extension/ArticleTemplates/.packlist

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