diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-08-14 13:02:18 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-08-14 13:02:18 +0000 |
commit | 66d736359587d0c4338ff98f734247653c8be81d (patch) | |
tree | 3889db4c8356ece61370f54f09708c9676907e60 /www | |
parent | 49c740fc1ebd2fb7adbb427a9c4c0f9d68e73876 (diff) | |
download | freebsd-ports-66d736359587d0c4338ff98f734247653c8be81d.zip |
* unbreak build
* add dependency on Devel::Peek if perl < 5.6
* take maintainership
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-Apache-Peek/Makefile | 16 | ||||
-rw-r--r-- | www/p5-Apache-Peek/pkg-descr | 12 |
2 files changed, 21 insertions, 7 deletions
diff --git a/www/p5-Apache-Peek/Makefile b/www/p5-Apache-Peek/Makefile index fd0a6a028ac3..a868f11a65a6 100644 --- a/www/p5-Apache-Peek/Makefile +++ b/www/p5-Apache-Peek/Makefile @@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR=Apache PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= skv@FreeBSD.org COMMENT= A data debugging tool for the XS programmer (under mod_perl) .if defined(WITH_MODPERL2) @@ -23,7 +23,6 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ ${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test MOD_PERL= 1 .endif -RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= YES @@ -31,4 +30,15 @@ CONFIGURE_ARGS= -httpd ${LOCALBASE}/sbin/httpd MAN3= Apache::Peek.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Devel/Peek.pm:${PORTSDIR}/devel/p5-Devel-Peek +.endif + +RUN_DEPENDS= ${BUILD_DEPENDS} + +post-patch: + @${PERL} -pi -e '$$_="" if /^test_configure\(/;' ${WRKSRC}/Makefile.PL + +.include <bsd.port.post.mk> diff --git a/www/p5-Apache-Peek/pkg-descr b/www/p5-Apache-Peek/pkg-descr index 6fcb2fd3be9e..b65f1c9df97b 100644 --- a/www/p5-Apache-Peek/pkg-descr +++ b/www/p5-Apache-Peek/pkg-descr @@ -1,6 +1,10 @@ -A data debugging tool for the XS programmer (under mod_perl) +Apache::Peek is a data debugging tool for the XS programmer (under +mod_perl). -WWW: http://stason.org +Apache::Peek is a sub-class of Devel::Peek. The only difference is that +it overrides the stderr stream, to which Devel::Peek sends its output, +and send the output to the client instead. -- Leo Kim -leo@florida.sarang.net +Apache::Peek works both with mod_perl 1.0 and 2.0. + +WWW: http://search.cpan.org/dist/Apache-Peek/ |