MD5 (ftree-2.0-static.tgz) = c0b2cced21f58b8b4853bf9633232248 SHA256 (ftree-2.0-static.tgz) = 38d31b7870db69611885b4de03c84c15205e9a9c45bd624706ddb8d031a707e5 SIZE (ftree-2.0-static.tgz) = 698857 ternate' title='Atom feed' href='http://www.tfcis.org/~lantw44/cgit/freebsd-ports/atom/net-mgmt/iftop/Makefile?h=main' type='application/atom+xml'/>
aboutsummaryrefslogblamecommitdiffstats
path: root/net-mgmt/iftop/Makefile
blob: a9032c063baf62f9d58d06f00d484648f169d316 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                               
                    
                        

                                                               
 
                                 

                                                                         
                   
                                                        
                   

                       
 


                         


                          
                                                              


                                    
                                                               
                                                                     


                    


                                                  



                           
# New ports collection makefile for:    iftop
# Date created:                 24 May 2003
# Whom:                 Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   iftop
PORTVERSION=    0.16
CATEGORIES= net-mgmt
MASTER_SITES=   http://www.ex-parrot.com/~pdw/iftop/download/ \
        http://voodoo.oberon.net/

MAINTAINER= krion@FreeBSD.org
COMMENT=    Network utility for real-time bandwidth usage information

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE=  yes

MAN8=       iftop.8

PORTDOCS=   README
PLIST_FILES=    bin/iftop

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
         ${WRKSRC}/configure

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8

post-install:
.ifndef (NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in README
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>