svn commit: r369199 - head/net-mgmt/ng_ipacct

Antoine Brodin antoine at FreeBSD.org
Wed Sep 24 19:21:02 UTC 2014


Author: antoine
Date: Wed Sep 24 19:21:01 2014
New Revision: 369199
URL: http://svnweb.freebsd.org/changeset/ports/369199
QAT: https://qat.redports.org/buildarchive/r369199/

Log:
  Do not violate stagedir (and allow staging as a regular user)

Modified:
  head/net-mgmt/ng_ipacct/Makefile

Modified: head/net-mgmt/ng_ipacct/Makefile
==============================================================================
--- head/net-mgmt/ng_ipacct/Makefile	Wed Sep 24 19:15:32 2014	(r369198)
+++ head/net-mgmt/ng_ipacct/Makefile	Wed Sep 24 19:21:01 2014	(r369199)
@@ -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


More information about the svn-ports-head mailing list