mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- use CPAN macro
- fix dependency - bump PORTREVISION
This commit is contained in:
parent
9b29a42a20
commit
dfe08e54ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208115
@ -7,21 +7,24 @@
|
||||
|
||||
PORTNAME= Class-Hook
|
||||
PORTVERSION= 0.02
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
||||
MASTER_SITES= CPAN \
|
||||
http://cottage.quynh-and-brian.org/freebsd/ports/distfiles/
|
||||
MASTER_SITE_SUBDIR= Class
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Add hooks on methods from other classes
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
|
||||
${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/Class-Hook
|
||||
|
||||
MAN3= Class::Hook.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500703
|
||||
RUN_DEPENDS+= p5-Time-HiRes>=0.01:${PORTSDIR}/devel/p5-Time-HiRes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user