diff options
Diffstat (limited to 'textproc/p5-HTML-HTML5-Entities/Makefile')
-rw-r--r-- | textproc/p5-HTML-HTML5-Entities/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/textproc/p5-HTML-HTML5-Entities/Makefile b/textproc/p5-HTML-HTML5-Entities/Makefile index 6b1ed4c942b5..7ba366603dd8 100644 --- a/textproc/p5-HTML-HTML5-Entities/Makefile +++ b/textproc/p5-HTML-HTML5-Entities/Makefile @@ -6,9 +6,10 @@ # PORTNAME= HTML-HTML5-Entities -PORTVERSION= 0.001 +PORTVERSION= 0.002 CATEGORIES= textproc perl5 MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:TOBYINK PKGNAMEPREFIX= p5- MAINTAINER= culot@FreeBSD.org @@ -17,12 +18,17 @@ COMMENT= Pure Perl drop-in replacement for HTML::Entities LICENSE= ART10 GPLv1 LICENSE_COMB= dual -BUILD_DEPENDS= p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ - p5-common-sense>0:${PORTSDIR}/devel/p5-common-sense +BUILD_DEPENDS= p5-common-sense>0:${PORTSDIR}/devel/p5-common-sense RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= YES MAN3= HTML::HTML5::Entities.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>0:${PORTSDIR}/devel/p5-parent +.endif + +.include <bsd.port.post.mk> |