Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 17:00:27 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424181 - in head/www: . googler
Message-ID:  <201610181700.u9IH0RV4080716@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Tue Oct 18 17:00:27 2016
New Revision: 424181
URL: https://svnweb.freebsd.org/changeset/ports/424181

Log:
  googler is a power tool to Google (Web & News) and Google Site Search
  from the command-line. It shows the title, URL and abstract for each result,
  which can be directly opened in a browser from the terminal. Results are
  fetched in pages (with page navigation). Supports sequential searches
  in a single googler instance.
  
  WWW: https://github.com/jarun/googler

Added:
  head/www/googler/
  head/www/googler/Makefile   (contents, props changed)
  head/www/googler/distinfo   (contents, props changed)
  head/www/googler/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Oct 18 16:58:12 2016	(r424180)
+++ head/www/Makefile	Tue Oct 18 17:00:27 2016	(r424181)
@@ -209,6 +209,7 @@
     SUBDIR += google-appengine
     SUBDIR += google-sitemapgen
     SUBDIR += googlebook_dl
+    SUBDIR += googler
     SUBDIR += goose
     SUBDIR += gotty
     SUBDIR += gpx2map

Added: head/www/googler/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/googler/Makefile	Tue Oct 18 17:00:27 2016	(r424181)
@@ -0,0 +1,31 @@
+# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	googler
+PORTVERSION=	2.8
+DISTVERSIONPREFIX=	v
+CATEGORIES=	www
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Google Search, Google Site Search, Google News from the terminal
+
+LICENSE=	GPLv3
+
+GH_ACCOUNT=	jarun
+
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/googler man/man1/googler.1.gz
+
+USE_GITHUB=	yes
+USES=		python:3.3+
+
+post-patch:
+	@${SED} -i.bak 's/^\(ENABLE_SELF_UPGRADE_MECHANISM=\)True$$/\1False/' \
+		${WRKSRC}/${PORTNAME}
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${MANPREFIX}/man/man1/
+
+.include <bsd.port.mk>

Added: head/www/googler/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/googler/distinfo	Tue Oct 18 17:00:27 2016	(r424181)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476807829
+SHA256 (jarun-googler-v2.8_GH0.tar.gz) = 5a9a128180992c0f6b6b7f0bd9d13191cd83cf56ff7e185fcb0e48e79740b355
+SIZE (jarun-googler-v2.8_GH0.tar.gz) = 54839

Added: head/www/googler/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/googler/pkg-descr	Tue Oct 18 17:00:27 2016	(r424181)
@@ -0,0 +1,7 @@
+googler is a power tool to Google (Web & News) and Google Site Search
+from the command-line. It shows the title, URL and abstract for each result,
+which can be directly opened in a browser from the terminal. Results are
+fetched in pages (with page navigation). Supports sequential searches
+in a single googler instance.
+
+WWW: https://github.com/jarun/googler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610181700.u9IH0RV4080716>