mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
PR: 224711 Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer) Approved by: mentors (implicit)
33 lines
647 B
Makefile
33 lines
647 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pspg
|
|
DISTVERSION= 0.9.1
|
|
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
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pspg
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|