svn commit: r454699 - in head/databases: . pspg
Yuri Victorovich
yuri at FreeBSD.org
Wed Nov 22 18:51:38 UTC 2017
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 <dg at syrec.org>
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 at 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 <bsd.port.mk>
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"
More information about the svn-ports-all
mailing list