diff options
Diffstat (limited to 'www/p5-URI-Title/Makefile')
-rw-r--r-- | www/p5-URI-Title/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/www/p5-URI-Title/Makefile b/www/p5-URI-Title/Makefile index 9a20dc55afd8..7839264d5624 100644 --- a/www/p5-URI-Title/Makefile +++ b/www/p5-URI-Title/Makefile @@ -15,15 +15,22 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Get the titles of things on the web in a sensible way -BUILD_DEPENDS= p5-File-Type>=0.22:${PORTSDIR}/devel/p5-File-Type \ +COMMON_DEPENDS= p5-File-Type>=0.22:${PORTSDIR}/devel/p5-File-Type \ p5-HTML-Parser>=3.45:${PORTSDIR}/www/p5-HTML-Parser \ p5-Image-Size>0:${PORTSDIR}/graphics/p5-Image-Size \ p5-MP3-Info>0:${PORTSDIR}/audio/p5-MP3-Info \ p5-libwww>0:${PORTSDIR}/www/p5-libwww -RUN_DEPENDS:= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${COMMON_DEPENDS} +RUN_DEPENDS= ${COMMON_DEPENDS} PERL_CONFIGURE= yes MAN3= URI::Title.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Module-Pluggable>=1.2:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + +.include <bsd.port.post.mk> |