mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 03:16:44 -04:00
Changelog: https://codeberg.org/a-j-wood/pv/src/tag/v1.9.31/docs/NEWS.md PR: 284550 Reported by: John W. O'Brien <john@saltant.com> Sponsored by: Saltant Solutions LLC
38 lines
762 B
Makefile
38 lines
762 B
Makefile
PORTNAME= pv
|
|
PORTVERSION= 1.9.31
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://www.ivarch.com/programs/sources/
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Pipe throughput monitor
|
|
WWW= https://www.ivarch.com/programs/pv.shtml
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/docs/COPYING
|
|
|
|
USES= gmake
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
|
|
CONFLICTS= waon
|
|
|
|
PORTDOCS= README.md INSTALL NEWS.md
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${CP} ${WRKSRC}/README.md ${WRKSRC}/docs
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pv
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|