mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
b5d6e3871c
PR: 206782 Submitted by: Franco Fichtner (franco@opnsense.org)
27 lines
671 B
Makefile
27 lines
671 B
Makefile
# Created by: mich@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rate
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= Traffic analysis command-line utility
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
LDFLAGS+= -lcompat
|
|
CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH
|
|
|
|
PLIST_FILES= bin/rate man/man1/rate.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rate ${STAGEDIR}${PREFIX}/bin/rate
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|