mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
33 lines
778 B
Makefile
33 lines
778 B
Makefile
# New ports collection makefile for: rate
|
|
# Date created: Thu Aug 21 18:12:35 GMT 2003
|
|
# Whom: mich@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rate
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= A traffic analysis command-line utility
|
|
|
|
LDFLAGS+= -lcompat
|
|
CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CFLAGS.*$$|CFLAGS=${CFLAGS}|g ; \
|
|
s|^LDFLAGS.*$$|LDFLAGS=${LDFLAGS}|g ; \
|
|
s|gcc|${CC}|g' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rate ${PREFIX}/bin/rate
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${PREFIX}/man/man1
|
|
|
|
MAN1= rate.1
|
|
PLIST_FILES= bin/rate
|
|
|
|
.include <bsd.port.mk>
|