diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2005-10-29 23:56:06 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2005-10-29 23:56:06 +0800 |
commit | c7cfaa450d427a2f388ece48ffe403c140abdc2e (patch) | |
tree | d396501b675bd1cf96a3390d6b4dbb26bdbcd5e8 /converters | |
parent | ab700c2a0ab8ea46eedfd3919f819c87751fc044 (diff) | |
download | freebsd-ports-gnome-c7cfaa450d427a2f388ece48ffe403c140abdc2e.tar.gz freebsd-ports-gnome-c7cfaa450d427a2f388ece48ffe403c140abdc2e.tar.zst freebsd-ports-gnome-c7cfaa450d427a2f388ece48ffe403c140abdc2e.zip |
- Upgrade to 1.00.
- Fix dependencies.
PR: ports/87676
Submitted by: tobez
Diffstat (limited to 'converters')
-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 |