aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-09-01 17:39:07 +0800
committertobez <tobez@FreeBSD.org>2005-09-01 17:39:07 +0800
commitc1dc4c2187d2332336f2e76e84fb32b5e2bcfb1f (patch)
tree5d732c2c017363d830022a526337f102355626d6
parent89621463ecc452ee6e7721ebfa020ba9dc622b87 (diff)
downloadfreebsd-ports-gnome-c1dc4c2187d2332336f2e76e84fb32b5e2bcfb1f.tar.gz
freebsd-ports-gnome-c1dc4c2187d2332336f2e76e84fb32b5e2bcfb1f.tar.zst
freebsd-ports-gnome-c1dc4c2187d2332336f2e76e84fb32b5e2bcfb1f.zip
Add p5-Perl-Tidy, a parse and beautifier of perl code.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Perl-Tidy/Makefile29
-rw-r--r--devel/p5-Perl-Tidy/distinfo2
-rw-r--r--devel/p5-Perl-Tidy/pkg-descr3
-rw-r--r--devel/p5-Perl-Tidy/pkg-plist6
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6beb8b7a9da6..1f1a4bbf8539 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1034,6 +1034,7 @@
SUBDIR += p5-Path-Class
SUBDIR += p5-Penguin
SUBDIR += p5-Penguin-Easy
+ SUBDIR += p5-Perl-Tidy
SUBDIR += p5-Perl6-Export
SUBDIR += p5-Perl6-Form
SUBDIR += p5-PerlIO-eol
diff --git a/devel/p5-Perl-Tidy/Makefile b/devel/p5-Perl-Tidy/Makefile
new file mode 100644
index 000000000000..1c1a46cb9dfa
--- /dev/null
+++ b/devel/p5-Perl-Tidy/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: devel/p5-Perl-Tidy
+# Date created: 01 September 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Perl-Tidy
+PORTVERSION= 20031021
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Perl
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Perl::Tidy - Parses and beautifies perl source
+
+PERL_CONFIGURE= yes
+
+MAN1= perltidy.1
+MAN3= Perl::Tidy.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.0 or later. Install lang/perl5 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Perl-Tidy/distinfo b/devel/p5-Perl-Tidy/distinfo
new file mode 100644
index 000000000000..8d17080492fa
--- /dev/null
+++ b/devel/p5-Perl-Tidy/distinfo
@@ -0,0 +1,2 @@
+MD5 (Perl-Tidy-20031021.tar.gz) = ba1e8aff6329666564a3c72a202d1a7f
+SIZE (Perl-Tidy-20031021.tar.gz) = 327155
diff --git a/devel/p5-Perl-Tidy/pkg-descr b/devel/p5-Perl-Tidy/pkg-descr
new file mode 100644
index 000000000000..a3f1f1059180
--- /dev/null
+++ b/devel/p5-Perl-Tidy/pkg-descr
@@ -0,0 +1,3 @@
+Perltidy reads a perl script and writes an indented, reformatted script.
+
+WWW: http://search.cpan.org/dist/Perl-Tidy
diff --git a/devel/p5-Perl-Tidy/pkg-plist b/devel/p5-Perl-Tidy/pkg-plist
new file mode 100644
index 000000000000..cd5e3df29723
--- /dev/null
+++ b/devel/p5-Perl-Tidy/pkg-plist
@@ -0,0 +1,6 @@
+bin/perltidy
+%%SITE_PERL%%/Perl/Tidy.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl/Tidy/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl/Tidy 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Perl 2>/dev/null || true