mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
d7ec49683b
PR: 220413 Submitted by: olgeni
40 lines
838 B
Makefile
40 lines
838 B
Makefile
# Created by: Daniel Roethlisberger <daniel@roe.ch>
|
|
# $FreeBSD$
|
|
|
|
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>
|