View | Details | Raw Unified | Return to bug 223694 | Differences between
and this patch

Collapse All | Expand All

(-)databases/pspg/Makefile (+29 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	pspg
4
DISTVERSION=	0.6
5
CATEGORIES=	databases
6
7
MAINTAINER=	dg@syrec.org
8
COMMENT=	Tabular data pager designed to be used with psql
9
10
LICENSE=	BSD2CLAUSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
USES=		autoreconf ncurses pkgconfig
14
GNU_CONFIGURE=	yes
15
CFLAGS+=	-D_WITH_GETLINE
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	okbob
18
19
OPTIONS_DEFINE=	DOCS
20
21
PLIST_FILES=	bin/pspg
22
PORTDOCS=	README.md
23
24
post-install:
25
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pspg
26
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
27
	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
28
29
.include <bsd.port.mk>
(-)databases/pspg/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1511014089
2
SHA256 (okbob-pspg-0.6_GH0.tar.gz) = 3b6a26ce43759eef6524230905a2b444bcbdbb133dda337d44efa05bddcce59a
3
SIZE (okbob-pspg-0.6_GH0.tar.gz) = 845851
(-)databases/pspg/pkg-descr (+5 lines)
Line 0 Link Here
1
pspg is a small specialized pager designed to be used with psql. It know how
2
to work with tabular data, has the ability to freeze first few rows/columns
3
and configurable colors.
4
5
WWW: https://github.com/okbob/pspg
(-)databases/pspg/pkg-message (+7 lines)
Line 0 Link Here
1
To use pspg as psql pager, add this alias:
2
3
    alias psql="env PAGER='pspg -bX' psql"
4
5
For csh users,
6
7
    alias psql "env PAGER='pspg -bX' psql"

Return to bug 223694