2003-09-28 15:32:06 +02:00
|
|
|
# New ports collection makefile for: pfflowd
|
|
|
|
# Date created: 23 June 2003
|
|
|
|
# Whom: Max Laier <max@love2party.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pftop
|
|
|
|
PORTVERSION= 0.4
|
2005-05-04 19:16:23 +02:00
|
|
|
PORTREVISION= 2
|
2003-09-28 15:32:06 +02:00
|
|
|
CATEGORIES= sysutils net
|
|
|
|
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2004-03-14 12:46:59 +01:00
|
|
|
MAINTAINER= mlaier@freebsd.org
|
2003-09-28 15:32:06 +02:00
|
|
|
COMMENT= Utility for real-time display of statistics for pf
|
|
|
|
|
|
|
|
MAN8= pftop.8
|
|
|
|
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-09-15 01:27:00 +02:00
|
|
|
.if ${OSVERSION} < 502106
|
|
|
|
IGNORE= Only for 5.3 and above
|
2003-09-28 15:32:06 +02:00
|
|
|
.endif
|
|
|
|
|
2004-08-30 20:19:47 +02:00
|
|
|
.if ${OSVERSION} < 502116
|
|
|
|
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34
|
|
|
|
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
|
|
|
|
CFLAGS+= -DHAVE_ALTQ=1
|
|
|
|
.endif
|
2005-05-04 19:16:23 +02:00
|
|
|
.elif ${OSVERSION} < 600025
|
2004-08-30 20:19:47 +02:00
|
|
|
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=35
|
2005-05-04 19:16:23 +02:00
|
|
|
CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_RULE_ANCHOR=1
|
|
|
|
.else
|
|
|
|
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37
|
2004-08-30 20:19:47 +02:00
|
|
|
CFLAGS+= -DHAVE_ALTQ=1
|
|
|
|
.endif
|
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= sbin/pftop
|
|
|
|
|
2003-09-28 15:32:06 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pftop ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pftop.8 ${PREFIX}/man/man8
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|