Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 12:07:18 -0600
From:      "Aaron Dalton" <aaron@daltons.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81476: New Port: devel/p5-Smart-Comments
Message-ID:  <E1Db0Hm-0009Tr-Vq@mail.finch.st>
Resent-Message-ID: <200505251820.j4PIK267025115@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81476
>Category:       ports
>Synopsis:       New Port: devel/p5-Smart-Comments
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 25 18:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross@chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386


	
>Description:
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.

>How-To-Repeat:
	
>Fix:

	

--- submission.txt begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Smart-Comments
#	p5-Smart-Comments/pkg-plist
#	p5-Smart-Comments/pkg-descr
#	p5-Smart-Comments/distinfo
#	p5-Smart-Comments/Makefile
#	p5-Smart-Comments/files
#	p5-Smart-Comments/files/patch-lib-Smart-Comments
#
echo c - p5-Smart-Comments
mkdir -p p5-Smart-Comments > /dev/null 2>&1
echo x - p5-Smart-Comments/pkg-plist
sed 's/^X//' >p5-Smart-Comments/pkg-plist << 'END-of-p5-Smart-Comments/pkg-plist'
X%%SITE_PERL%%/Smart/Comments.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart/Comments/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart/Comments
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Smart 2>/dev/null || true
X
END-of-p5-Smart-Comments/pkg-plist
echo x - p5-Smart-Comments/pkg-descr
sed 's/^X//' >p5-Smart-Comments/pkg-descr << 'END-of-p5-Smart-Comments/pkg-descr'
XSmart comments provide an easy way to insert debugging and tracking code 
Xinto a program. They can report the value of a variable, track the 
Xprogress of a loop, and verify that particular assertions are true.
X
XBest of all, when you're finished debugging, you don't have to remove 
Xthem. Simply commenting out the use Smart::Comments line turns them back 
Xinto regular comments. Leaving smart comments in your code is smart 
Xbecause if you needed them once, you'll almost certainly need them again 
Xlater.
X
XWWW: http://search.cpan.org/dist/Smart-Comments/
XAuthor: Damian Conway <DCONWAY@cpan.org>
X
X- Aaron Dalton
Xaaron@daltons.ca
END-of-p5-Smart-Comments/pkg-descr
echo x - p5-Smart-Comments/distinfo
sed 's/^X//' >p5-Smart-Comments/distinfo << 'END-of-p5-Smart-Comments/distinfo'
XMD5 (Smart-Comments-1.0.1.tar.gz) = 387ce88a5aba1a7a9c49d0dbc343365c
XSIZE (Smart-Comments-1.0.1.tar.gz) = 12704
END-of-p5-Smart-Comments/distinfo
echo x - p5-Smart-Comments/Makefile
sed 's/^X//' >p5-Smart-Comments/Makefile << 'END-of-p5-Smart-Comments/Makefile'
X# New ports collection makefile for:	p5-Smart-Comments
X# Date created:				24 May 2005
X# Whom:					Aaron Dalton <aaron@daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Smart-Comments
XPORTVERSION=	1.0.1
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Smart
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	aaron@daltons.ca
XCOMMENT=	Comments that do more than just sit there
X
XBUILD_DEPENDS=	${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple \
X		${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
X		${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
X		${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
X		${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Smart::Comments.3
X
Xpost-patch:
X	@${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM}
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		Perl5.6 or greater required.  Please install lang/perl5 or lang/perl5.8
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Smart-Comments/Makefile
echo c - p5-Smart-Comments/files
mkdir -p p5-Smart-Comments/files > /dev/null 2>&1
echo x - p5-Smart-Comments/files/patch-lib-Smart-Comments
sed 's/^X//' >p5-Smart-Comments/files/patch-lib-Smart-Comments << 'END-of-p5-Smart-Comments/files/patch-lib-Smart-Comments'
X--- lib/Smart/Comments.pm	Tue May 24 15:54:42 2005
X+++ lib/Smart/Comments.pm.patched	Tue May 24 20:32:10 2005
X@@ -1,6 +1,7 @@
X package Smart::Comments;
X 
X-use version; $VERSION = qv('1.0.1');
X+#use version; $VERSION = qv('1.0.1');
X+$VERSION = 0.000101;
X 
X use warnings;
X use strict;
END-of-p5-Smart-Comments/files/patch-lib-Smart-Comments
exit
--- submission.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Db0Hm-0009Tr-Vq>