Add a default HOMEPAGE for cpan ports when none is specified.

All work including upcoming huge bump done by Mikolaj Kucharski, thanks!

ok jasper@
This commit is contained in:
ajacoutot 2010-12-03 11:43:05 +00:00
parent 1419ad463c
commit 336c24d6ba

View File

@ -1,4 +1,4 @@
# $OpenBSD: cpan.port.mk,v 1.12 2010/11/20 19:57:30 espie Exp $ # $OpenBSD: cpan.port.mk,v 1.13 2010/12/03 11:43:05 ajacoutot Exp $
PKGNAME ?= p5-${DISTNAME} PKGNAME ?= p5-${DISTNAME}
.if !defined(CPAN_AUTHOR) .if !defined(CPAN_AUTHOR)
@ -7,6 +7,8 @@ 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}/} MASTER_SITES ?= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/${CPAN_AUTHOR:C/^(.).*/\1/}/${CPAN_AUTHOR:C/^(..).*/\1/}/${CPAN_AUTHOR}/}
.endif .endif
HOMEPAGE ?= http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
CATEGORIES += perl5 CATEGORIES += perl5
CONFIGURE_STYLE += perl CONFIGURE_STYLE += perl
MODULES += perl MODULES += perl