diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-Apache-Gallery/Makefile | 11 | ||||
-rw-r--r-- | www/p5-Apache-Gallery/pkg-comment | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile index abb5756b1ee8..174981d0304d 100644 --- a/www/p5-Apache-Gallery/Makefile +++ b/www/p5-Apache-Gallery/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= Apache PKGNAMEPREFIX= p5- MAINTAINER= erwin@lansing.dk +COMMENT= Apache::Gallery - mod_perl handler to create an image gallery LIB_DEPENDS= Imlib2.1:${PORTSDIR}/graphics/imlib2 BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \ @@ -22,7 +23,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Apache/ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Inline.pm:${PORTSDIR}/devel/p5-Inline \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple RUN_DEPENDS= ${BUILD_DEPENDS} @@ -60,4 +60,11 @@ post-install: @ ${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-Apache-Gallery/pkg-comment b/www/p5-Apache-Gallery/pkg-comment deleted file mode 100644 index dea9f4eaa0c9..000000000000 --- a/www/p5-Apache-Gallery/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Apache::Gallery - mod_perl handler to create an image gallery |