Page MenuHomeFreeBSD

D13170.diff
No OneTemporary

D13170.diff

Index: head/databases/Makefile
===================================================================
--- head/databases/Makefile
+++ head/databases/Makefile
@@ -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
Index: head/databases/pspg/Makefile
===================================================================
--- head/databases/pspg/Makefile
+++ head/databases/pspg/Makefile
@@ -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 <bsd.port.mk>
Index: head/databases/pspg/distinfo
===================================================================
--- head/databases/pspg/distinfo
+++ head/databases/pspg/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511014089
+SHA256 (okbob-pspg-0.6_GH0.tar.gz) = 3b6a26ce43759eef6524230905a2b444bcbdbb133dda337d44efa05bddcce59a
+SIZE (okbob-pspg-0.6_GH0.tar.gz) = 845851
Index: head/databases/pspg/pkg-descr
===================================================================
--- head/databases/pspg/pkg-descr
+++ head/databases/pspg/pkg-descr
@@ -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
Index: head/databases/pspg/pkg-message
===================================================================
--- head/databases/pspg/pkg-message
+++ head/databases/pspg/pkg-message
@@ -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"

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 17, 5:40 AM (3 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31642226
Default Alt Text
D13170.diff (2 KB)

Event Timeline