mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
d6ea5a1658
PR: ports/65842 Submitted by: maintainer
39 lines
917 B
Makefile
39 lines
917 B
Makefile
# New ports collection makefile for: bpft
|
|
# Date created: 26 August 2002
|
|
# Whom: El Vampiro <vampiro@rootshell.ru>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bpft
|
|
PORTVERSION= 4.20040414
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://rusunix.org/pub/FreeBSD/distfiles/
|
|
MASTER_SITE_SUBDIR=bpft4
|
|
DISTNAME= bpft4-2004-04-14
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= aquatique-ports@rambler.ru
|
|
COMMENT= The BPF Traffic collector
|
|
|
|
CONFLICTS= trafd-3.0.*
|
|
|
|
WRKSRC= ${WRKDIR}/bpft
|
|
MAN1= traflog.1 trafstat.1
|
|
MAN8= trafstatd.8 trafd.8
|
|
MANCOMPRESSED= yes
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/include/pathnames.h
|
|
@${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|g' ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/WhatsNew ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|