aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mixi
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-10-13 18:10:55 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-10-13 18:10:55 +0000
commit18777eda5598f53bc7be6a1989d449b2a871d410 (patch)
tree0a2ec4855a4b813c6638816abecd938d0ce6a73e /www/p5-WWW-Mixi
parent94f0dc4b1c58c3832758e3116904079483e619b9 (diff)
downloadports-18777eda5598f53bc7be6a1989d449b2a871d410.tar.gz
ports-18777eda5598f53bc7be6a1989d449b2a871d410.zip
Notes
Diffstat (limited to 'www/p5-WWW-Mixi')
-rw-r--r--www/p5-WWW-Mixi/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/p5-WWW-Mixi/Makefile b/www/p5-WWW-Mixi/Makefile
index f21ec8356305..68253e894ef9 100644
--- a/www/p5-WWW-Mixi/Makefile
+++ b/www/p5-WWW-Mixi/Makefile
@@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kaoru@kaisei.org
COMMENT= Perl module of Automated interface to the Mixi
-BUILD_DEPENDS= ${SITE_PERL}/LWP/RobotUA.pm:${PORTSDIR}/www/p5-libwww \
- ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+BUILD_DEPENDS= ${SITE_PERL}/LWP/RobotUA.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -27,6 +26,12 @@ MAN3= WWW::Mixi.3 WWW::Mixi::Cookbook.3 WWW::Mixi::Mixi.3
.if ${PERL_LEVEL} < 500600
IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.elif ${PERL_LEVEL} > 500800
+BUILD_DEPENDS+= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+RUN_DEPENDS+= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+.else
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
.endif
.include <bsd.port.post.mk>