aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-16 13:00:47 +0800
committerclsung <clsung@FreeBSD.org>2006-08-16 13:00:47 +0800
commit5d01d1c0296eef0fe21205d254e397fd99bc5d74 (patch)
tree5e79dad651fd8803cd8372498346d8d2b3240880 /textproc
parent75422bd22bb9c340299b49b2d04a03ed12386a43 (diff)
downloadfreebsd-ports-gnome-5d01d1c0296eef0fe21205d254e397fd99bc5d74.tar.gz
freebsd-ports-gnome-5d01d1c0296eef0fe21205d254e397fd99bc5d74.tar.zst
freebsd-ports-gnome-5d01d1c0296eef0fe21205d254e397fd99bc5d74.zip
Add p5-ack 1.24, a grep-like text finder for large trees of text.
PR: ports/102073 Submitted by: chinsan <chinsan.tw at gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-ack/Makefile28
-rw-r--r--textproc/p5-ack/distinfo3
-rw-r--r--textproc/p5-ack/pkg-descr13
-rw-r--r--textproc/p5-ack/pkg-plist5
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 5cf0d302f7ed..cd39747083e3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -655,6 +655,7 @@
SUBDIR += p5-YAPE-HTML
SUBDIR += p5-YAPE-Regex
SUBDIR += p5-YAPE-Regex-Explain
+ SUBDIR += p5-ack
SUBDIR += p5-dTemplate
SUBDIR += p5-libxml
SUBDIR += p5-podlators
diff --git a/textproc/p5-ack/Makefile b/textproc/p5-ack/Makefile
new file mode 100644
index 000000000000..dec29079d364
--- /dev/null
+++ b/textproc/p5-ack/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-ack
+# Date created: 2006/08/15
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ack
+PORTVERSION= 1.24
+CATEGORIES= textproc perl5 sysutils
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= App
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan.tw@gmail.com
+COMMENT= A grep-like text finder for large trees of text
+
+PERL_CONFIGURE= yes
+
+MAN1= ack.1
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-ack/distinfo b/textproc/p5-ack/distinfo
new file mode 100644
index 000000000000..534dc44d0439
--- /dev/null
+++ b/textproc/p5-ack/distinfo
@@ -0,0 +1,3 @@
+MD5 (ack-1.24.tar.gz) = 325c97ef696678020f3bf9a4ca18913d
+SHA256 (ack-1.24.tar.gz) = 93321128652c08adb62fff72d00740e6fd8f4c2e90ed08670459334b645ed991
+SIZE (ack-1.24.tar.gz) = 10928
diff --git a/textproc/p5-ack/pkg-descr b/textproc/p5-ack/pkg-descr
new file mode 100644
index 000000000000..84372b386b46
--- /dev/null
+++ b/textproc/p5-ack/pkg-descr
@@ -0,0 +1,13 @@
+ack is a grep-like program with optimizations for searching through large
+trees of source code.
+
+Key improvements include:
+
+ * Defaults to only searching program source code
+ * Defaults to recursively searching directories
+ * Ignores blib directories.
+ * Ignores source code control directories, like CVS, .svn and _darcs.
+ * Uses Perl regular expressions
+ * Highlights matched text
+
+WWW: http://search.cpan.org/dist/ack/
diff --git a/textproc/p5-ack/pkg-plist b/textproc/p5-ack/pkg-plist
new file mode 100644
index 000000000000..2c7304403b17
--- /dev/null
+++ b/textproc/p5-ack/pkg-plist
@@ -0,0 +1,5 @@
+bin/ack
+%%SITE_PERL%%/App/Ack.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/ack/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/ack
+@dirrmtry %%SITE_PERL%%/App