ports/81476: New Port: devel/p5-Smart-Comments
Aaron Dalton
aaron at daltons.ca
Thu May 26 01:50:07 UTC 2005
The following reply was made to PR ports/81476; it has been noted by GNATS.
From: Aaron Dalton <aaron at daltons.ca>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: Re: ports/81476: New Port: devel/p5-Smart-Comments
Date: Wed, 25 May 2005 19:44:16 -0600
This is a multi-part message in MIME format.
--------------000604080904050002020100
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
New version release since initial submission. Attached is the new SH
Archive.
Aaron
--------------000604080904050002020100
Content-Type: text/plain;
name="submission.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="submission.txt"
# 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 at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart/Comments
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Smart 2>/dev/null || true
X at 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 at cpan.org>
X
X- Aaron Dalton
Xaaron at 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 at 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 at 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 = 1.001001;
X
X use warnings;
X use strict;
END-of-p5-Smart-Comments/files/patch-lib-Smart-Comments
exit
--------------000604080904050002020100--
More information about the freebsd-ports-bugs
mailing list