aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-02-18 10:13:36 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-02-18 10:13:36 +0000
commit678414b6d43881d28ad3b6ee951a72391e4d5665 (patch)
treefee6bfdf7cc5c62e1fc955b459058d7ae5c0c562 /sysutils
parenteb58cbcef8191d932c3ddd6a7a9448f85115356c (diff)
downloadports-678414b6d43881d28ad3b6ee951a72391e4d5665.tar.gz
ports-678414b6d43881d28ad3b6ee951a72391e4d5665.zip
Add psearch.
psearch is an utility for searching the FreeBSD Ports Collection. It allows you to use regular expressions, and has support for searching the long description (pkg-descr files), as well as inverse matches that allow filtering of ports. WWW: http://www.maxlor.com/freebsd-scripts.shtml PR: ports/93490 Submitted by: Benjamin Lutz <benlutz@datacomm.ch>
Notes
Notes: svn path=/head/; revision=156281
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/psearch/Makefile26
-rw-r--r--sysutils/psearch/distinfo3
-rw-r--r--sysutils/psearch/pkg-descr7
4 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 57ac8b1ae5b1..f0c95579a791 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -437,6 +437,7 @@
SUBDIR += procmap
SUBDIR += progsreiserfs
SUBDIR += prune
+ SUBDIR += psearch
SUBDIR += psgconf
SUBDIR += pslist
SUBDIR += psmisc
diff --git a/sysutils/psearch/Makefile b/sysutils/psearch/Makefile
new file mode 100644
index 000000000000..784c090197c9
--- /dev/null
+++ b/sysutils/psearch/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: psearch
+# Date created: 17 February 2006
+# Whom: Benjamin Lutz
+#
+# $FreeBSD$
+#
+
+PORTNAME= psearch
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.maxlor.com/files/
+
+MAINTAINER= benlutz@datacomm.ch
+COMMENT= An utility for searching the FreeBSD Ports Collection
+
+USE_PYTHON_RUN= yes
+NO_BUILD= yes
+
+MAN1= psearch.1
+PLIST_FILES= bin/psearch
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/psearch ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/psearch.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/sysutils/psearch/distinfo b/sysutils/psearch/distinfo
new file mode 100644
index 000000000000..8b3ca8c0969f
--- /dev/null
+++ b/sysutils/psearch/distinfo
@@ -0,0 +1,3 @@
+MD5 (psearch-1.0.tar.gz) = 39af7bcac687a8e4890ff44888959d51
+SHA256 (psearch-1.0.tar.gz) = fbfd05985a55508bec9aa3b78f50f72e38a318c1e56240afea786cc00ea60988
+SIZE (psearch-1.0.tar.gz) = 4280
diff --git a/sysutils/psearch/pkg-descr b/sysutils/psearch/pkg-descr
new file mode 100644
index 000000000000..db67cc1ed2fd
--- /dev/null
+++ b/sysutils/psearch/pkg-descr
@@ -0,0 +1,7 @@
+psearch is an utility for searching the FreeBSD Ports Collection.
+
+It allows you to use regular expressions, and has support for searching
+the long description (pkg-descr files), as well as inverse matches that
+allow filtering of ports.
+
+WWW: http://www.maxlor.com/freebsd-scripts.shtml