mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
- Support staging.
- Use kmod.
This commit is contained in:
parent
31b608c887
commit
90f5b719f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332396
@ -3,42 +3,33 @@
|
||||
|
||||
PORTNAME= ng_ipacct
|
||||
PORTVERSION= 20061223
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt kld
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL:S!$!skv/!} \
|
||||
http://highsecure.ru/distfiles/
|
||||
|
||||
MAINTAINER= vsevolod@FreeBSD.org
|
||||
COMMENT= Netgraph IP accounting
|
||||
|
||||
.ifndef PACKAGE_BUILDING
|
||||
NO_PACKAGE= depends on kernel
|
||||
.else
|
||||
IGNORE= depends on kernel
|
||||
.endif
|
||||
LICENSE= BSD
|
||||
|
||||
KMODDIR= /boot/modules
|
||||
PLIST_SUB+= KMODDIR=${KMODDIR:S!^/!!}
|
||||
USES= kmod
|
||||
|
||||
MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR}
|
||||
|
||||
MAN8= ipacctctl.8
|
||||
MANLANG= ru.KOI8-R
|
||||
MANCOMPRESSED= yes
|
||||
MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR} NO_XREF=yes
|
||||
|
||||
USE_RC_SUBR= ng_ipacct
|
||||
SUB_FILES= pkg-message
|
||||
CFLAGS+= -DMEM_USE_ZONE
|
||||
NEED_ROOT= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/include/netgraph
|
||||
${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${PREFIX}/include/netgraph
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/include/netgraph
|
||||
${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${STAGEDIR}${PREFIX}/include/netgraph
|
||||
${INSTALL_DATA} ${FILESDIR}/ng_ipacct.conf \
|
||||
${PREFIX}/etc/ng_ipacct.conf.sample
|
||||
${STAGEDIR}${PREFIX}/etc/ng_ipacct.conf.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,4 @@
|
||||
man/ru.KOI8-R/man8/ipacctctl.8.gz
|
||||
include/netgraph/ng_ipacct.h
|
||||
etc/ng_ipacct.conf.sample
|
||||
sbin/ipacctctl
|
||||
|
Loading…
Reference in New Issue
Block a user