summaryrefslogtreecommitdiffstats
path: root/textproc/ack
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ack')
-rw-r--r--textproc/ack/Makefile38
-rw-r--r--textproc/ack/distinfo2
-rw-r--r--textproc/ack/pkg-descr13
-rw-r--r--textproc/ack/pkg-plist12
4 files changed, 65 insertions, 0 deletions
diff --git a/textproc/ack/Makefile b/textproc/ack/Makefile
new file mode 100644
index 0000000..8cac381
--- /dev/null
+++ b/textproc/ack/Makefile
@@ -0,0 +1,38 @@
+# Created by: chinsan <chinsan.tw@gmail.com>
+# $FreeBSD$
+
+PORTNAME= ack
+PORTVERSION= 1.96
+PORTREVISION= 1
+CATEGORIES= textproc perl5 sysutils
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= App
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= A grep-like text finder for large trees of text
+
+BUILD_DEPENDS= p5-File-Next>=0.40:${PORTSDIR}/sysutils/p5-File-Next
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+CONFLICTS_INSTALL= ja-ack-[0-9]*
+
+MAN1= ack.1
+
+OPTIONS_DEFINE= BASH_COMPLETE
+BASH_COMPLETE_DESC= install bash completion files
+
+.include <bsd.port.options.mk>
+
+COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d
+.if ${PORT_OPTIONS:MBASH_COMPLETE}
+RUN_DEPENDS+= ${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion
+PLIST_SUB+= BASH=""
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/etc/ack.bash_completion.sh ${COMPLETION_DIR}
+.else
+PLIST_SUB+= BASH="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ack/distinfo b/textproc/ack/distinfo
new file mode 100644
index 0000000..0136e0d
--- /dev/null
+++ b/textproc/ack/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ack-1.96.tar.gz) = bb9d29842d8c5c1ec7ad9b577707aca0e1d278e8e21560dbed76ea3b5aa6cb64
+SIZE (ack-1.96.tar.gz) = 111986
diff --git a/textproc/ack/pkg-descr b/textproc/ack/pkg-descr
new file mode 100644
index 0000000..84372b3
--- /dev/null
+++ b/textproc/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/ack/pkg-plist b/textproc/ack/pkg-plist
new file mode 100644
index 0000000..aa2009e
--- /dev/null
+++ b/textproc/ack/pkg-plist
@@ -0,0 +1,12 @@
+bin/ack
+%%BASH%%etc/bash_completion.d/ack.bash_completion.sh
+%%SITE_PERL%%/App/Ack.pm
+%%SITE_PERL%%/App/Ack/Plugin/Basic.pm
+%%SITE_PERL%%/App/Ack/Plugin.pm
+%%SITE_PERL%%/App/Ack/Repository.pm
+%%SITE_PERL%%/App/Ack/Resource.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/ack/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/ack
+@dirrmtry %%SITE_PERL%%/App/Ack/Plugin
+@dirrmtry %%SITE_PERL%%/App/Ack
+@dirrmtry %%SITE_PERL%%/App
OpenPOWER on IntegriCloud