343f60a740
Smart comments provide an easy way to insert debugging and tracking code into a program. They can report the value of a variable, track the progress of a loop, and verify that particular assertions are true. Best of all, when you're finished debugging, you don't have to remove them. Simply commenting out the use Smart::Comments line turns them back into regular comments. Leaving smart comments in your code is smart because if you needed them once, you'll almost certainly need them again later. Author: Damian Conway <DCONWAY@cpan.org> WWW: http://search.cpan.org/dist/Smart-Comments/ PR: ports/81476 Submitted by: Aaron Dalton <aaron@daltons.ca>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# New ports collection makefile for: p5-Smart-Comments
|
|
# Date created: 24 May 2005
|
|
# Whom: Aaron Dalton <aaron@daltons.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Smart-Comments
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= ../../authors/id/D/DC/DCONWAY
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= aaron@daltons.ca
|
|
COMMENT= Comments that do more than just sit there
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple \
|
|
${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
|
|
${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
|
|
${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
|
|
${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Smart::Comments.3
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -type f -name '*.orig' -exec ${RM} -f {} \;
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= Perl5.6 or greater required. Please install lang/perl5 or lang/perl5.8
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|