aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pv/Makefile
blob: a9c55def0f4199c85747c806b5447fec4fffa528 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    pv
# Date created:     04 May 2004
# Whom:         Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#

PORTNAME=   pv
PORTVERSION=    0.9.2
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://dragon.roe.ch/mirrors/distfiles/pv/
MASTER_SITE_SUBDIR= pipeviewer

MAINTAINER= daniel@roe.ch
COMMENT=    A pipe throughput monitor

USE_BZIP2=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/pv
MAN1=       pv.1
INFO=       pv
PORTDOCS=   README NEWS TODO manual.html

post-patch:
    @${CP} ${WRKSRC}/README ${WRKSRC}/doc

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/quickref.1 ${PREFIX}/man/man1/pv.1
    ${INSTALL_MAN} ${WRKSRC}/doc/pv.info ${PREFIX}/info
    install-info ${PREFIX}/info/pv.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>