From ebba53c7ac2f21311ac6c040667cafdafe883f28 Mon Sep 17 00:00:00 2001 From: darcy Date: Sat, 5 Jan 2013 13:32:17 +0000 Subject: Add perltidy. Perltidy is a tool to indent and reformat perl scripts. It can also write scripts in html format. Perltidy is free software released under the GNU General Public License --- devel/Makefile | 3 ++- devel/perltidy/DESCR | 11 +++++++++++ devel/perltidy/Makefile | 19 +++++++++++++++++++ devel/perltidy/distinfo | 5 +++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 devel/perltidy/DESCR create mode 100644 devel/perltidy/Makefile create mode 100644 devel/perltidy/distinfo diff --git a/devel/Makefile b/devel/Makefile index 78fa5fc6bc5..9eee7e8328a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1679 2013/01/03 18:34:44 agc Exp $ +# $NetBSD: Makefile,v 1.1680 2013/01/05 13:32:17 darcy Exp $ # COMMENT= Development utilities @@ -1275,6 +1275,7 @@ SUBDIR+= pcre++ SUBDIR+= pcre-ocaml SUBDIR+= pdcurses SUBDIR+= pedisassem +SUBDIR+= perltidy SUBDIR+= php-gettext SUBDIR+= php-gmp SUBDIR+= php-libawl diff --git a/devel/perltidy/DESCR b/devel/perltidy/DESCR new file mode 100644 index 00000000000..b00f5541bad --- /dev/null +++ b/devel/perltidy/DESCR @@ -0,0 +1,11 @@ +Perltidy reads a Perl script and writes an indented, reformatted +script. The default formatting closely follows the recommendations +in perlstyle(1). Perltidy can also display perl code in syntax- +colored HTML output. + +If you want your code to conform to style.perl(7), you should use: +perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce +(Written by knu) + +WWW: http://search.cpan.org/dist/Perl-Tidy/ +WWW: http://perltidy.sourceforge.net/ diff --git a/devel/perltidy/Makefile b/devel/perltidy/Makefile new file mode 100644 index 00000000000..db06186c0c6 --- /dev/null +++ b/devel/perltidy/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.3 2013/01/05 13:32:17 darcy Exp $ + +DISTNAME= Perl-Tidy-20121207 +PKGNAME= perltidy-20121207 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SH/SHANCOCK/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Perl-Tidy/ +HOMEPAGE= http://perltidy.sourceforge.net/ +COMMENT= Indents and reformats Perl scripts to make them easier to read +LICENSE= gnu-gpl-v2 + +USE_TOOLS+= perl + +PERL5_PACKLIST= auto/Perl/Tidy/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/perltidy/distinfo b/devel/perltidy/distinfo new file mode 100644 index 00000000000..93aee43f189 --- /dev/null +++ b/devel/perltidy/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.3 2013/01/05 13:32:17 darcy Exp $ + +SHA1 (Perl-Tidy-20121207.tar.gz) = 82d82d7c47c3b50c3be7b24b282279684521cc4a +RMD160 (Perl-Tidy-20121207.tar.gz) = a34e9d0c662ec62d07af47cfa94cc6ea22b88e1d +Size (Perl-Tidy-20121207.tar.gz) = 420435 bytes -- cgit v1.2.3