diff options
author | leeym <leeym@FreeBSD.org> | 2008-02-29 03:32:42 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2008-02-29 03:32:42 +0800 |
commit | 69a0f56360324ede2a7a36af016835391685150e (patch) | |
tree | dc92ca4a6703a2f077dc5039b67cff800c09b065 /devel | |
parent | 0a9de8dc545cb4ccb8a10d8ae2030fa28df104c0 (diff) | |
download | freebsd-ports-gnome-69a0f56360324ede2a7a36af016835391685150e.tar.gz freebsd-ports-gnome-69a0f56360324ede2a7a36af016835391685150e.tar.zst freebsd-ports-gnome-69a0f56360324ede2a7a36af016835391685150e.zip |
- use CPAN macro
- fix dependency
- bump PORTREVISION
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Class-Hook/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/p5-Class-Hook/Makefile b/devel/p5-Class-Hook/Makefile index 0066ba5824d3..2e31b46d12af 100644 --- a/devel/p5-Class-Hook/Makefile +++ b/devel/p5-Class-Hook/Makefile @@ -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> |