From owner-svn-ports-head@freebsd.org Wed Nov 22 18:51:38 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3DAEDF2A95; Wed, 22 Nov 2017 18:51:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83B5E64EE9; Wed, 22 Nov 2017 18:51:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAMIpbvu026202; Wed, 22 Nov 2017 18:51:37 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAMIpbjF026196; Wed, 22 Nov 2017 18:51:37 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711221851.vAMIpbjF026196@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 22 Nov 2017 18:51:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454699 - in head/databases: . pspg X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/databases: . pspg X-SVN-Commit-Revision: 454699 X-SVN-Commit-Repository: ports 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.25 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: Wed, 22 Nov 2017 18:51:38 -0000 Author: yuri Date: Wed Nov 22 18:51:37 2017 New Revision: 454699 URL: https://svnweb.freebsd.org/changeset/ports/454699 Log: New port: databases/pspg: Tabular data pager designed to be used with psql PR: 223694 Submitted by: Dmitri Goutnik Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13170 Added: head/databases/pspg/ head/databases/pspg/Makefile (contents, props changed) head/databases/pspg/distinfo (contents, props changed) head/databases/pspg/pkg-descr (contents, props changed) head/databases/pspg/pkg-message (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Wed Nov 22 18:46:12 2017 (r454698) +++ head/databases/Makefile Wed Nov 22 18:51:37 2017 (r454699) @@ -752,6 +752,7 @@ SUBDIR += proftpd-mod_sql_postgres SUBDIR += proftpd-mod_sql_sqlite SUBDIR += proftpd-mod_sql_tds + SUBDIR += pspg SUBDIR += puppetdb-terminus4 SUBDIR += puppetdb-terminus5 SUBDIR += puppetdb4 Added: head/databases/pspg/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pspg/Makefile Wed Nov 22 18:51:37 2017 (r454699) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= pspg +DISTVERSION= 0.6 +CATEGORIES= databases + +MAINTAINER= dg@syrec.org +COMMENT= Tabular data pager designed to be used with psql + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= autoreconf ncurses pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= okbob +GNU_CONFIGURE= yes + +CFLAGS+= -D_WITH_GETLINE # enable the getline prototype +PLIST_FILES= bin/pspg +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pspg + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Added: head/databases/pspg/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pspg/distinfo Wed Nov 22 18:51:37 2017 (r454699) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511014089 +SHA256 (okbob-pspg-0.6_GH0.tar.gz) = 3b6a26ce43759eef6524230905a2b444bcbdbb133dda337d44efa05bddcce59a +SIZE (okbob-pspg-0.6_GH0.tar.gz) = 845851 Added: head/databases/pspg/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pspg/pkg-descr Wed Nov 22 18:51:37 2017 (r454699) @@ -0,0 +1,5 @@ +pspg is a small specialized pager designed to be used with psql. It know how +to work with tabular data, has the ability to freeze first few rows/columns +and configurable colors. + +WWW: https://github.com/okbob/pspg Added: head/databases/pspg/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pspg/pkg-message Wed Nov 22 18:51:37 2017 (r454699) @@ -0,0 +1,7 @@ +To use pspg as psql pager, add this alias: + +$ alias psql="env PAGER='pspg -bX' psql" + +For csh users: + +$ alias psql "env PAGER='pspg -bX' psql"