aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-24 19:21:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-24 19:21:01 +0000
commit389b0f6e3c365a80b9f39c4567f176f3712e57ff (patch)
tree541961bec4b612a567cf80cac47095b4e5cf94eb /net-mgmt
parent18f57caef86d9679b3c070b9cdf58e67e57f130b (diff)
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ng_ipacct/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/ng_ipacct/Makefile b/net-mgmt/ng_ipacct/Makefile
index c857e4699efc..5e006ad92fa5 100644
--- a/net-mgmt/ng_ipacct/Makefile
+++ b/net-mgmt/ng_ipacct/Makefile
@@ -13,7 +13,7 @@ COMMENT= Netgraph IP accounting
LICENSE= BSD2CLAUSE
-USES= kmod uidfix
+USES= kmod uidfix
MAKE_ENV= BINDIR="${PREFIX}/sbin"
@@ -24,6 +24,9 @@ CFLAGS+= -DMEM_USE_ZONE
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+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