1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/net-mgmt/rate/Makefile
2021-04-06 16:31:07 +02:00

26 lines
659 B
Makefile

# Created by: mich@FreeBSD.org
PORTNAME= rate
PORTVERSION= 0.9
PORTREVISION= 2
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>