2003-02-05 13:30:01 +01:00
|
|
|
# New ports collection makefile for: bpft
|
2003-02-05 14:02:02 +01:00
|
|
|
# Date created: 26 August 2002
|
|
|
|
# Whom: El Vampiro <vampiro@rootshell.ru>
|
2003-02-05 13:30:01 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bpft
|
2003-11-11 10:02:24 +01:00
|
|
|
PORTVERSION= 4.20031028
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-04-13 14:01:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
ftp://rusunix.org/pub/FreeBSD/distfiles/
|
|
|
|
MASTER_SITE_SUBDIR=bpft4
|
|
|
|
DISTNAME= bpft4-latest
|
|
|
|
EXTRACT_SUFX= .tgz
|
2003-02-05 13:30:01 +01:00
|
|
|
|
2004-04-16 09:47:21 +02:00
|
|
|
MAINTAINER= aquatique-ports@rambler.ru
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= The BPF Traffic collector
|
2003-02-05 13:30:01 +01:00
|
|
|
|
2004-04-13 13:38:30 +02:00
|
|
|
BROKEN= "Changes permissions of system directories"
|
|
|
|
|
2003-10-10 12:01:37 +02:00
|
|
|
CONFLICTS= trafd-3.0.*
|
|
|
|
|
2003-02-05 13:30:01 +01:00
|
|
|
WRKSRC= ${WRKDIR}/bpft
|
|
|
|
MAN1= traflog.1 trafstat.1
|
|
|
|
MAN8= trafstatd.8 trafd.8
|
|
|
|
MANCOMPRESSED= yes
|
2003-11-11 10:02:24 +01:00
|
|
|
USE_REINPLACE= yes
|
2003-02-05 13:30:01 +01:00
|
|
|
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2003-02-05 13:30:01 +01:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
|
|
|
@${ECHO_MSG} "!!! WARNING !!!"
|
|
|
|
@${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "This port uses original trafd binaries layout"
|
|
|
|
@${ECHO_MSG} "Original trafd and bpft binaries layout are mutually exclusive"
|
|
|
|
@${ECHO_MSG}
|
|
|
|
|
2003-11-11 10:02:24 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/include/pathnames.h
|
|
|
|
|
2003-02-05 13:30:01 +01:00
|
|
|
post-install:
|
2003-11-11 10:02:24 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-02-05 13:30:01 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WhatsNew ${DOCSDIR}
|
2003-11-11 10:02:24 +01:00
|
|
|
.endif
|
2003-02-05 13:30:01 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|