mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
41 lines
804 B
Makefile
41 lines
804 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pspg
|
|
DISTVERSION= 2.6.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 PGSQL
|
|
OPTIONS_DEFAULT= PGSQL
|
|
|
|
PGSQL_DESC= Work as PostgreSQL interactive client
|
|
|
|
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>
|