diff --git a/devel/Makefile b/devel/Makefile index 8d686370fb12..0bf74ca877af 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2338,6 +2338,7 @@ SUBDIR += p5-Log-Message-Simple SUBDIR += p5-Log-Minimal SUBDIR += p5-Log-Report + SUBDIR += p5-Log-Report-Optional SUBDIR += p5-Log-Simple SUBDIR += p5-Log-Trace SUBDIR += p5-Log-TraceMessages diff --git a/devel/p5-Log-Report-Optional/Makefile b/devel/p5-Log-Report-Optional/Makefile new file mode 100644 index 000000000000..6c73aad23170 --- /dev/null +++ b/devel/p5-Log-Report-Optional/Makefile @@ -0,0 +1,22 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Log-Report-Optional +PORTVERSION= 1.01 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Log::Report or ::Minimal + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-String-Print>=0.13:${PORTSDIR}/textproc/p5-String-Print +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include diff --git a/devel/p5-Log-Report-Optional/distinfo b/devel/p5-Log-Report-Optional/distinfo new file mode 100644 index 000000000000..b6155251e1a8 --- /dev/null +++ b/devel/p5-Log-Report-Optional/distinfo @@ -0,0 +1,2 @@ +SHA256 (Log-Report-Optional-1.01.tar.gz) = 0e01b255a9249220cee9fa8a06d17cbd9f221bbcc21198773a4ce2ff1a899eb8 +SIZE (Log-Report-Optional-1.01.tar.gz) = 11063 diff --git a/devel/p5-Log-Report-Optional/pkg-descr b/devel/p5-Log-Report-Optional/pkg-descr new file mode 100644 index 000000000000..ba1acf039b06 --- /dev/null +++ b/devel/p5-Log-Report-Optional/pkg-descr @@ -0,0 +1,7 @@ +Log::Report::Optional will allow libraries (helper modules) to have a dependency +to a small module instead of the full Log-Report distribution. The full power of +Log::Report is only released when the main program uses that module. In that +case, the module using the 'Optional' will also use the full Log::Report, +otherwise the dressed-down Log::Report::Minimal version. + +WWW: http://search.cpan.org/dist/Log-Report-Optional/ diff --git a/devel/p5-Log-Report-Optional/pkg-plist b/devel/p5-Log-Report-Optional/pkg-plist new file mode 100644 index 000000000000..0970f23289c5 --- /dev/null +++ b/devel/p5-Log-Report-Optional/pkg-plist @@ -0,0 +1,12 @@ +%%SITE_PERL%%/Log/Report/Minimal.pm +%%SITE_PERL%%/Log/Report/Minimal.pod +%%SITE_PERL%%/Log/Report/Minimal/Domain.pm +%%SITE_PERL%%/Log/Report/Minimal/Domain.pod +%%SITE_PERL%%/Log/Report/Optional.pm +%%SITE_PERL%%/Log/Report/Optional.pod +%%SITE_PERL%%/Log/Report/Util.pm +%%SITE_PERL%%/Log/Report/Util.pod +%%PERL5_MAN3%%/Log::Report::Minimal.3.gz +%%PERL5_MAN3%%/Log::Report::Minimal::Domain.3.gz +%%PERL5_MAN3%%/Log::Report::Optional.3.gz +%%PERL5_MAN3%%/Log::Report::Util.3.gz