aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-JSON1/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2005-10-29 15:56:06 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2005-10-29 15:56:06 +0000
commitcb12f739151d31a0b095705f56bcafcfd9bacc04 (patch)
tree007d53095275711d82c64c7b4f823fda0b0b73fb /converters/p5-JSON1/Makefile
parent61f95f80aa9bb0200e4caece3d8c823a57300f6b (diff)
Notes
Diffstat (limited to 'converters/p5-JSON1/Makefile')
-rw-r--r--converters/p5-JSON1/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/converters/p5-JSON1/Makefile b/converters/p5-JSON1/Makefile
index e95da8756899..dec27a955c44 100644
--- a/converters/p5-JSON1/Makefile
+++ b/converters/p5-JSON1/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= JSON
-PORTVERSION= 0.99
-PORTREVISION= 1
+PORTVERSION= 1.00
CATEGORIES= converters perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/M/MA/MAKAMAKA
@@ -16,8 +15,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension to convert to JSON (JavaScript Object Notation)
+BUILD_DEPENDS= ${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
-MAN3= JSON.3 JSON::Converter.3 JSON::Parser.3 \
+MAN3= Apache::JSONRPC.3 JSON.3 JSON::Converter.3 JSON::Parser.3 \
JSONRPC.3 JSONRPC::Transport::HTTP.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
+.endif
+
+.include <bsd.port.post.mk>