diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2005-10-29 15:56:06 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2005-10-29 15:56:06 +0000 |
commit | cb12f739151d31a0b095705f56bcafcfd9bacc04 (patch) | |
tree | 007d53095275711d82c64c7b4f823fda0b0b73fb | |
parent | - Change dependency on Test::Builder::Tester to Test-Simple. (diff) |
- Upgrade to 1.00.
- Fix dependencies.
PR: ports/87676
Submitted by: tobez
Notes
Notes:
svn path=/head/; revision=146673
-rw-r--r-- | converters/p5-JSON/Makefile | 19 | ||||
-rw-r--r-- | converters/p5-JSON/distinfo | 4 | ||||
-rw-r--r-- | converters/p5-JSON/pkg-plist | 2 | ||||
-rw-r--r-- | converters/p5-JSON1/Makefile | 19 | ||||
-rw-r--r-- | converters/p5-JSON1/distinfo | 4 | ||||
-rw-r--r-- | converters/p5-JSON1/pkg-plist | 2 |
6 files changed, 38 insertions, 12 deletions
diff --git a/converters/p5-JSON/Makefile b/converters/p5-JSON/Makefile index e95da8756899..dec27a955c44 100644 --- a/converters/p5-JSON/Makefile +++ b/converters/p5-JSON/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> diff --git a/converters/p5-JSON/distinfo b/converters/p5-JSON/distinfo index 77dff7388520..d21d162a5427 100644 --- a/converters/p5-JSON/distinfo +++ b/converters/p5-JSON/distinfo @@ -1,2 +1,2 @@ -MD5 (JSON-0.99.tar.gz) = 24a0c501a462d72f342733cfc0a7e468 -SIZE (JSON-0.99.tar.gz) = 12891 +MD5 (JSON-1.00.tar.gz) = 1915ad570304b61cabdcf80c1291add3 +SIZE (JSON-1.00.tar.gz) = 19005 diff --git a/converters/p5-JSON/pkg-plist b/converters/p5-JSON/pkg-plist index 5508c07fd832..d987bb6e320e 100644 --- a/converters/p5-JSON/pkg-plist +++ b/converters/p5-JSON/pkg-plist @@ -1,3 +1,4 @@ +%%SITE_PERL%%/Apache/JSONRPC.pm %%SITE_PERL%%/JSON.pm %%SITE_PERL%%/JSON/Converter.pm %%SITE_PERL%%/JSON/Parser.pm @@ -8,3 +9,4 @@ @dirrm %%SITE_PERL%%/JSONRPC/Transport @dirrm %%SITE_PERL%%/JSONRPC @dirrm %%SITE_PERL%%/JSON +@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true 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> diff --git a/converters/p5-JSON1/distinfo b/converters/p5-JSON1/distinfo index 77dff7388520..d21d162a5427 100644 --- a/converters/p5-JSON1/distinfo +++ b/converters/p5-JSON1/distinfo @@ -1,2 +1,2 @@ -MD5 (JSON-0.99.tar.gz) = 24a0c501a462d72f342733cfc0a7e468 -SIZE (JSON-0.99.tar.gz) = 12891 +MD5 (JSON-1.00.tar.gz) = 1915ad570304b61cabdcf80c1291add3 +SIZE (JSON-1.00.tar.gz) = 19005 diff --git a/converters/p5-JSON1/pkg-plist b/converters/p5-JSON1/pkg-plist index 5508c07fd832..d987bb6e320e 100644 --- a/converters/p5-JSON1/pkg-plist +++ b/converters/p5-JSON1/pkg-plist @@ -1,3 +1,4 @@ +%%SITE_PERL%%/Apache/JSONRPC.pm %%SITE_PERL%%/JSON.pm %%SITE_PERL%%/JSON/Converter.pm %%SITE_PERL%%/JSON/Parser.pm @@ -8,3 +9,4 @@ @dirrm %%SITE_PERL%%/JSONRPC/Transport @dirrm %%SITE_PERL%%/JSONRPC @dirrm %%SITE_PERL%%/JSON +@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true |