3f939b1560
functions for logging. The "Log::Dispatch::Perl" module offers a logging alternative using standard Perl core functions. It allows you to fall back to the common Perl alternatives for logging, such as "warn" and "cluck". It also adds the possibility for a logging action to halt the current environment, such as with "die" and "croak". WWW: http://search.cpan.org/dist/Log-Dispatch-Perl/ PR: ports/62220 Submitted by: Lars Thegler <lars@thegler.dk>
32 lines
807 B
Makefile
32 lines
807 B
Makefile
# New ports collection makefile for: p5-Log-Dispatch-Perl
|
|
# Date created: Sun Feb 1 14:18:26 GMT 2004
|
|
# Whom: Lars Thegler <lars@thegler.dk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Log-Dispatch-Perl
|
|
PORTVERSION= 0.03
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Log
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lars@thegler.dk
|
|
COMMENT= A Log::Dispatch plug-in using core Perl functions for logging
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
|
|
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Log::Dispatch::Perl.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
IGNORE= "requires perl 5.6.x or later. Install lang/perl5 and try again"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|