pkgsrc/devel/p5-PkgConfig/Makefile
otis b43deac0d8 devel/p5-PkgConfig: Fix aboslute paths
Fix absolute path to perl
2020-09-07 22:07:14 +00:00

22 lines
668 B
Makefile

# $NetBSD: Makefile,v 1.2 2020/09/07 22:07:14 otis Exp $
DISTNAME= PkgConfig-0.24026
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PL/PLICEASE/}
MAINTAINER= otis@NetBSD.org
HOMEPAGE= https://metacpan.org/pod/PkgConfig
COMMENT= Pure-Perl Core-Only replacement for pkg-config
LICENSE= ${PERL5_LICENSE}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-extract
SUBST_MESSAGE.paths= Fixing absolute paths.
SUBST_FILES.paths= lib/PkgConfig.pm
SUBST_SED.paths= -e 's,/usr/bin,${PREFIX}/bin,g'
PERL5_PACKLIST= auto/PkgConfig/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"