update search.cpan.org -> metacpan.org, from cwen@ in 2018,

similar diff from Yozo TODA. bumps to follow.
This commit is contained in:
sthen 2020-07-03 21:42:55 +00:00
parent 10907f7352
commit 6992f5117a

View File

@ -1,4 +1,4 @@
# $OpenBSD: cpan.port.mk,v 1.21 2019/02/04 20:53:09 sthen Exp $
# $OpenBSD: cpan.port.mk,v 1.22 2020/07/03 21:42:55 sthen Exp $
PKGNAME ?= p5-${DISTNAME}
.if !defined(CPAN_AUTHOR)
@ -7,7 +7,7 @@ MASTER_SITES ?= ${MASTER_SITE_PERL_CPAN:=${DISTNAME:C/-.*$//}/}
MASTER_SITES ?= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/${CPAN_AUTHOR:C/^(.).*/\1/}/${CPAN_AUTHOR:C/^(..).*/\1/}/${CPAN_AUTHOR}/}
.endif
HOMEPAGE ?= http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
HOMEPAGE ?= https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}
CATEGORIES += perl5
.if ! ${CONFIGURE_STYLE:L:Mperl}