freebsd-ports/sysutils/pv/Makefile
2021-04-06 16:31:07 +02:00

38 lines
826 B
Makefile

# Created by: Daniel Roethlisberger <daniel@roe.ch>
PORTNAME= pv
PORTVERSION= 1.6.6
CATEGORIES= sysutils
MASTER_SITES= http://www.ivarch.com/programs/sources/
MAINTAINER= martymac@FreeBSD.org
COMMENT= Pipe throughput monitor
LICENSE= ART20
CONFLICTS= waon-[0-9]*
USES= tar:bzip2 gmake
GNU_CONFIGURE= yes
PLIST_FILES= bin/pv man/man1/pv.1.gz
PORTDOCS= README INSTALL NEWS PACKAGE TODO VERSION release-checklist
OPTIONS_DEFINE= DOCS NLS LFS
OPTIONS_DEFAULT= LFS
NLS_CONFIGURE_ON= --enable-static-nls
NLS_CONFIGURE_OFF= --disable-nls
LFS_CONFIGURE_ENABLE= lfs
post-patch:
@${CP} ${WRKSRC}/README ${WRKSRC}/doc
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pv
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>