2003-02-05 12:30:01 +00:00
|
|
|
# New ports collection makefile for: bpft
|
2003-02-05 13:02:02 +00:00
|
|
|
# Date created: 26 August 2002
|
|
|
|
# Whom: El Vampiro <vampiro@rootshell.ru>
|
2003-02-05 12:30:01 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bpft
|
2003-11-11 09:02:24 +00:00
|
|
|
PORTVERSION= 4.20031028
|
2003-02-05 12:30:01 +00:00
|
|
|
CATEGORIES= net
|
2003-04-13 12:01:20 +00: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 12:30:01 +00:00
|
|
|
|
2003-09-25 09:10:09 +00:00
|
|
|
MAINTAINER= aquatique@rusunix.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= The BPF Traffic collector
|
2003-02-05 12:30:01 +00:00
|
|
|
|
2003-10-10 10:01:37 +00:00
|
|
|
CONFLICTS= trafd-3.0.*
|
|
|
|
|
2003-02-05 12:30:01 +00:00
|
|
|
WRKSRC= ${WRKDIR}/bpft
|
|
|
|
MAN1= traflog.1 trafstat.1
|
|
|
|
MAN8= trafstatd.8 trafd.8
|
|
|
|
MANCOMPRESSED= yes
|
2003-11-11 09:02:24 +00:00
|
|
|
USE_REINPLACE= yes
|
2003-02-05 12:30:01 +00:00
|
|
|
|
2003-02-28 22:53:02 +00:00
|
|
|
pre-everything::
|
2003-02-05 12:30:01 +00: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 09:02:24 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/include/pathnames.h
|
|
|
|
|
2003-02-05 12:30:01 +00:00
|
|
|
post-install:
|
2003-11-11 09:02:24 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-02-05 12:30:01 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WhatsNew ${DOCSDIR}
|
2003-11-11 09:02:24 +00:00
|
|
|
.endif
|
2003-02-05 12:30:01 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|