From owner-svn-ports-all@FreeBSD.ORG Wed Sep 24 19:21:02 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33031AAC; Wed, 24 Sep 2014 19:21:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D864E9E; Wed, 24 Sep 2014 19:21:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8OJL1KH051038; Wed, 24 Sep 2014 19:21:01 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8OJL1QK051037; Wed, 24 Sep 2014 19:21:01 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409241921.s8OJL1QK051037@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 24 Sep 2014 19:21:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369199 - head/net-mgmt/ng_ipacct X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 19:21:02 -0000 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