blob: 491277e1347db37478773392ae510730de5c9157 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= ng_ipacct
PORTVERSION= 20061223
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_LOCAL:S!$!skv/!} \
http://highsecure.ru/distfiles/
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Netgraph IP accounting
LICENSE= BSD
USES= kmod uidfix
MAKE_ENV= BINDIR="${PREFIX}/sbin"
USE_RC_SUBR= ng_ipacct
SUB_FILES= pkg-message
CFLAGS+= -DMEM_USE_ZONE
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/netgraph
${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${STAGEDIR}${PREFIX}/include/netgraph
${INSTALL_DATA} ${FILESDIR}/ng_ipacct.conf \
${STAGEDIR}${PREFIX}/etc/ng_ipacct.conf.sample
.include <bsd.port.mk>
|