mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
38 lines
762 B
Makefile
38 lines
762 B
Makefile
PORTNAME= pv
|
|
PORTVERSION= 1.9.15
|
|
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>
|