pkgsrc/devel/p5-RT-Extension-ArticleTemplates/Makefile

39 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.1 2020/05/05 09:04:45 spz Exp $
DISTNAME= RT-Extension-ArticleTemplates-1.02
PKGNAME= p5-${DISTNAME}
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
.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/${PERL5_API}/${PERL5_ARCH}
PERL5_PACKLIST= auto/RT/Extension/ArticleTemplates/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"