aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pspg/Makefile
blob: 955a57f8adeda75fde8efc5d09b5b20d8ae1d262 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

PORTNAME=   pspg
DISTVERSION=    1.1.0
CATEGORIES= databases

MAINTAINER= dg@syrec.org
COMMENT=    Tabular data pager designed to be used with psql

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       autoreconf localbase ncurses pkgconfig readline
USE_GITHUB= yes
GH_ACCOUNT= okbob
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/pspg
PORTDOCS=   README.md

SUB_FILES=  pkg-message

OPTIONS_DEFINE= DOCS

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pspg

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>