aboutsummaryrefslogtreecommitdiffstats
path: root/net/fprobe/Makefile
blob: 754206427c02b24e3c65647f17034c736988bed9 (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
# New ports collection makefile for:    fprobe
# Date created:                 03.06.2003
# Whom:                         Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   fprobe
PORTVERSION=    1.0.p5
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.p/.pre/}

MAINTAINER= ponomarew@oberon.net
COMMENT=    Tool that collects network traffic data

MAN1=       fprobe.1

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_REINPLACE=  yes

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in ChangeLog README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>