d5c846b3af
The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
25 lines
752 B
Makefile
25 lines
752 B
Makefile
# $NetBSD: Makefile,v 1.36 2019/06/30 20:16:04 nia Exp $
|
|
|
|
DISTNAME= gettext-1.07
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 3
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://metacpan.org/release/gettext
|
|
COMMENT= Perl5 module interface to C I18N functions
|
|
LICENSE= ${PERL5_LICENSE}
|
|
WRKSRC= ${WRKDIR}/Locale-${DISTNAME}
|
|
|
|
USE_LANGUAGES= c
|
|
PERL5_PACKLIST= auto/Locale/gettext/.packlist
|
|
|
|
SUBST_CLASSES+= intlpath
|
|
SUBST_FILES.intlpath= Makefile.PL
|
|
SUBST_SED.intlpath+= -e 's,-lintl,-L${BUILDLINK_PREFIX.gettext}/lib -lintl,g'
|
|
SUBST_STAGE.intlpath= pre-configure
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|