diff options
author | Michael Landin <mich@FreeBSD.org> | 2003-08-22 13:38:56 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2003-08-22 13:38:56 +0000 |
commit | 41407446e2ae8df49f85cf5522636c4ae67129ca (patch) | |
tree | e9bd354f99320d238b56327d3771118689a68eba /net-mgmt/rate/Makefile | |
parent | - Update to 0.3.4b (diff) |
New port: A traffic analysis command-line utility
Approved by: roberto (mentor)
Notes
Notes:
svn path=/head/; revision=87502
Diffstat (limited to 'net-mgmt/rate/Makefile')
-rw-r--r-- | net-mgmt/rate/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-mgmt/rate/Makefile b/net-mgmt/rate/Makefile new file mode 100644 index 000000000000..244c7e9292a6 --- /dev/null +++ b/net-mgmt/rate/Makefile @@ -0,0 +1,32 @@ +# 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 +MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/ + +MAINTAINER= mich@FreeBSD.org +COMMENT= A traffic analysis command-line utility + +USE_REINPLACE= YES +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 + +.include <bsd.port.mk> |