From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 17:05:57 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24A70C1C; Sun, 15 Dec 2013 17:05:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0531A11BB; Sun, 15 Dec 2013 17:05:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBFH5ugU099022; Sun, 15 Dec 2013 17:05:56 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBFH5uam099018; Sun, 15 Dec 2013 17:05:56 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312151705.rBFH5uam099018@svn.freebsd.org> From: Rusmir Dusko Date: Sun, 15 Dec 2013 17:05:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336558 - in head/textproc: . loook X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2013 17:05:57 -0000 Author: nemysis Date: Sun Dec 15 17:05:55 2013 New Revision: 336558 URL: http://svnweb.freebsd.org/changeset/ports/336558 Log: Loook is a simple Python tool that searches for text strings in LibreOffice and OpenOffice.org files. AND, OR and phrase searches are supported. It doesn't create an index, but searching should be fast enough unless you have really many files. WWW: http://www.danielnaber.de/loook/ PR: ports/171734 Submitted by: nemysis (self) Approved by: wg (mentor) Added: head/textproc/loook/ head/textproc/loook/Makefile (contents, props changed) head/textproc/loook/distinfo (contents, props changed) head/textproc/loook/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun Dec 15 16:58:20 2013 (r336557) +++ head/textproc/Makefile Sun Dec 15 17:05:55 2013 (r336558) @@ -404,6 +404,7 @@ SUBDIR += linux-f10-scim-libs SUBDIR += linuxdoc SUBDIR += localize + SUBDIR += loook SUBDIR += lt-aspell SUBDIR += lt-hyphen SUBDIR += lttoolbox Added: head/textproc/loook/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/loook/Makefile Sun Dec 15 17:05:55 2013 (r336558) @@ -0,0 +1,36 @@ +# Created by: Rusmir Dusko +# $FreeBSD$ + +PORTNAME= loook +PORTVERSION= 0.6.5 +CATEGORIES= textproc +MASTER_SITES= http://www.danielnaber.de/loook/ +DISTNAME= ${PORTNAME} +DIST_SUBDIR= python + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Simple Python tool that search in LibreOffice/OpenOffice files + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:${PORTSDIR}/x11-toolkits/py-tkinter \ + ${PYTHON_PKGNAMEPREFIX}iniparse>=0:${PORTSDIR}/devel/py-iniparse + +WRKSRC= ${WRKDIR} + +USE_ZIP= yes +USE_PYTHON= 2.7 +NO_BUILD= yes + +PLIST_FILES= bin/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \ + ${WRKSRC}/${PORTNAME}.py + @(cd ${WRKSRC} ; ${RM} *.py.bak) + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Added: head/textproc/loook/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/loook/distinfo Sun Dec 15 17:05:55 2013 (r336558) @@ -0,0 +1,2 @@ +SHA256 (python/loook.zip) = 65cb98991b9e6322af60a7ef1b47c429ad12ec50774375e46a5c733995eccfd4 +SIZE (python/loook.zip) = 11860 Added: head/textproc/loook/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/loook/pkg-descr Sun Dec 15 17:05:55 2013 (r336558) @@ -0,0 +1,7 @@ +Loook is a simple Python tool that searches for text strings in +LibreOffice and OpenOffice.org files. + +AND, OR and phrase searches are supported. It doesn't create an index, +but searching should be fast enough unless you have really many files. + +WWW: http://www.danielnaber.de/loook/