1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net-mgmt/ng_ipacct/Makefile
Rene Ladan 6af4f79e51 Do not set variables already set by USES=kmod
Approved by:	maintainer silence (vsevolod@)
2014-01-24 22:56:46 +00:00

34 lines
750 B
Makefile

# 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>