summaryrefslogtreecommitdiffstats
path: root/net-mgmt/ng_ipacct/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/ng_ipacct/Makefile')
-rw-r--r--net-mgmt/ng_ipacct/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-mgmt/ng_ipacct/Makefile b/net-mgmt/ng_ipacct/Makefile
new file mode 100644
index 0000000..b6d2293
--- /dev/null
+++ b/net-mgmt/ng_ipacct/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ng_ipacct
+# Date created: 30 Nov 2004
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ng_ipacct
+PORTVERSION= 20050228
+CATEGORIES= net-mgmt
+MASTER_SITES= ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/kernel/ng_ipacct/
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Netgraph IP accounting
+
+NO_PACKAGE= "Depends on kernel"
+
+OPTIONS= MEM_ZONE "Use UMA zone allocator (5.x only)" off
+
+PLIST_SUB+= KMODDIR=${KMODDIR}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ENV= BINDIR="${PREFIX}/sbin"
+
+MAN8= ipacctctl.8
+MANLANG= ru.KOI8-R
+MANCOMPRESSED= yes
+
+USE_RC_SUBR= ng_ipacct.sh
+SUB_FILES= pkg-message
+
+.include <bsd.port.pre.mk>
+
+.ifdef WITH_MEM_ZONE
+CFLAGS+= -DMEM_USE_ZONE
+.endif
+
+post-install:
+ @${MKDIR} ${PREFIX}/include/netgraph
+ ${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${PREFIX}/include/netgraph
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf ${PREFIX}/etc/
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud