1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net-mgmt/ng_ipacct/Makefile
Mark Linimon 82c3cac0d2 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
2017-05-22 16:04:19 +00:00

36 lines
818 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= ng_ipacct
PORTVERSION= 20150304
CATEGORIES= net-mgmt
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Netgraph IP accounting
LICENSE= BSD2CLAUSE
BROKEN_powerpc64= fails to build: pcpu.h: error: size of array '__assert_0' is negative
USE_GITHUB= yes
USES= kmod uidfix
GH_ACCOUNT= vstakhov
MAKE_ENV= BINDIR="${PREFIX}/sbin"
USE_RC_SUBR= ng_ipacct
SUB_FILES= pkg-message
CFLAGS+= -DMEM_USE_ZONE
post-patch:
@${REINPLACE_CMD} 's,{MANDIR},{DESTDIR}$$&,' ${WRKSRC}/man_ru/Makefile
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>