freebsd-ports/net-mgmt/ipacctd/Makefile
Gleb Smirnoff 96703d2216 net-mgmt/ipacctd: use PF_DIVERT on FreeBSD 14
to avoid runtime warning.

Approved by:	mikael
2022-08-31 06:41:53 -07:00

29 lines
574 B
Makefile

PORTNAME= ipacctd
PORTVERSION= 1.47
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= LOCAL/skv
MAINTAINER= ports@FreeBSD.org
COMMENT= IP accounting using divert socket
LICENSE= BSD2CLAUSE
USES= uidfix
USE_RC_SUBR= ipacctd
MAKE_ENV= BINDIR="${PREFIX}/sbin"
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} 's,{MANDIR},{DESTDIR}$$&,' ${WRKSRC}/man_ru/Makefile
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ru
${INSTALL_DATA} ${WRKSRC}/README.ipacctd ${STAGEDIR}${DOCSDIR}/ru
.include <bsd.port.mk>