blob: af7b7f2b1d8785a3fde1c94d3c3d9b2e14359ab5 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= pspg
DISTVERSION= 4.5.0
CATEGORIES= databases
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Tabular data pager designed to be used with psql
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf compiler:c11 gmake localbase ncurses pkgconfig \
readline
USE_GITHUB= yes
GH_ACCOUNT= okbob
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
PLIST_FILES= bin/pspg
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS INOTIFY PGSQL
OPTIONS_DEFAULT= INOTIFY PGSQL
INOTIFY_DESC= Use inotify instead of polling
PGSQL_DESC= Work as PostgreSQL interactive client
INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify
# configure script doesn't understand --with-inotify
INOTIFY_CONFIGURE_OFF= --without-inotify
INOTIFY_LDFLAGS= -linotify
PGSQL_USES= pgsql
PGSQL_CONFIGURE_WITH= postgresql=yes
PGSQL_VARS= WANT_PGSQL=client
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>
|